feat(FN-1090): add Capacitor mobile setup for dashboard

- Add Capacitor dependencies and dashboard scripts for sync, open, run, and mobile preparation
- Add a typed dashboard capacitor.config.ts with dist/client webDir and FUSION_BACKEND_URL server override
- Add Vitest coverage for Capacitor config shape, app identity, webDir, cleartext mode, and env URL behavior
- Ignore generated iOS/Android platform directories and document the end-to-end mobile workflow in the dashboard README
This commit is contained in:
gsxdsm
2026-04-07 18:52:07 -07:00
parent 9324f757ec
commit 6cbce7acbd
6 changed files with 631 additions and 2 deletions

4
.gitignore vendored
View File

@@ -21,3 +21,7 @@ coverage/
.kb/
.fusion-backup/
.fusion-backup-*/
# Capacitor mobile platform directories (generated by `cap add`)
packages/dashboard/ios/
packages/dashboard/android/