Make Koja native deps optional to unblock web Docker build

Move Capacitor and cordova-plugin-pushe to optionalDependencies. They are
only needed for the native mobile shell, are never imported by the Next.js
source, and are not served by the Liara npm mirror — so installing them as
hard dependencies broke the web image build. As optional deps, npm skips
them when the mirror can't resolve them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-05-29 17:21:40 +03:30
parent 99aa6b7048
commit 377ef109cd
2 changed files with 988 additions and 19 deletions
+981 -14
View File
File diff suppressed because it is too large Load Diff