chore: deliberate dependency upgrades; drop legacy-peer-deps; Capacitor 8.6.2 (shell build 2)
Platform-v2 step 2.99c. - Both apps on the same current versions: React 19.3.1, react-query 5.107.1, router 7.18.5, axios 1.21.1, zustand 5.1, vite 8.3.8, plugin-react 6.3; manager lucide-react 1.14 -> 1.73, recharts 3.8 -> 3.10. - i18next 27.1.1 + react-i18next 18.0.1 (exact pins). Shared options moved to packages/i18n/src/options.js with returnEmptyString: true (27 shows the key for an empty text otherwise); tests/instance.test.mjs guards it, plus fallback, code casing and plurals. - vite-plugin-pwa 2.0 lists Vite 8 as a peer: .npmrc (legacy-peer-deps) removed, `npm install` resolves without it. - Native (CS-10): @capacitor/core/android/cli 8.6.2, @capacitor/app 8.1.2, @capgo/capacitor-updater 8.54.2; versionCode 2 / versionName 1.1.0 and MIN_SHELL_BUILD 2. capacitor-updater 8.54 refuses plain-HTTP downloads by default, which broke every bundle check in the stacks suite: httpsOnly: false in capacitor.config.json (venues have no domains; zips are sha256-checked). - npm audit: 6 left, all in workbox-build 7.4.1 (build time). Full run-all incl. Android passes (Android re-run after the httpsOnly fix). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,8 +19,8 @@ android {
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
// Bump BOTH for every APK handed out: Android only installs an update over
|
||||
// an existing install when versionCode is higher.
|
||||
versionCode 1
|
||||
versionName "1.0.0"
|
||||
versionCode 2
|
||||
versionName "1.1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
|
||||
include ':capacitor-android'
|
||||
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
|
||||
project(':capacitor-android').projectDir = new File('../../node_modules/@capacitor/android/capacitor')
|
||||
|
||||
include ':capacitor-app'
|
||||
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')
|
||||
project(':capacitor-app').projectDir = new File('../../node_modules/@capacitor/app/android')
|
||||
|
||||
include ':capgo-capacitor-updater'
|
||||
project(':capgo-capacitor-updater').projectDir = new File('../node_modules/@capgo/capacitor-updater/android')
|
||||
project(':capgo-capacitor-updater').projectDir = new File('../../node_modules/@capgo/capacitor-updater/android')
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
"appReadyTimeout": 15000,
|
||||
"resetWhenUpdate": true,
|
||||
"autoDeletePrevious": false,
|
||||
"autoDeleteFailed": true
|
||||
"autoDeleteFailed": true,
|
||||
"httpsOnly": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+22
-22
@@ -14,34 +14,34 @@
|
||||
"test": "node --test \"tests/*.test.mjs\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "8.5.2",
|
||||
"@capacitor/app": "8.1.1",
|
||||
"@capacitor/core": "8.5.2",
|
||||
"@capgo/capacitor-updater": "8.51.25",
|
||||
"@tanstack/react-query": "^5.100.11",
|
||||
"@capacitor/android": "8.6.2",
|
||||
"@capacitor/app": "8.1.2",
|
||||
"@capacitor/core": "8.6.2",
|
||||
"@capgo/capacitor-updater": "8.54.2",
|
||||
"@tanstack/react-query": "^5.107.1",
|
||||
"@xenia/api": "^0.0.0",
|
||||
"@xenia/ui": "^0.0.0",
|
||||
"axios": "^1.15.1",
|
||||
"dexie": "^4.4.2",
|
||||
"axios": "^1.21.1",
|
||||
"dexie": "^4.4.7",
|
||||
"qr-scanner": "^1.4.2",
|
||||
"react": "^19.2.5",
|
||||
"react-dom": "^19.2.5",
|
||||
"react-router-dom": "^7.14.1",
|
||||
"vite-plugin-pwa": "^1.2.0",
|
||||
"workbox-window": "^7.4.0",
|
||||
"zustand": "^5.0.12"
|
||||
"react": "^19.3.1",
|
||||
"react-dom": "^19.3.1",
|
||||
"react-router-dom": "^7.18.5",
|
||||
"vite-plugin-pwa": "^2.0.0",
|
||||
"workbox-window": "^7.4.1",
|
||||
"zustand": "^5.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/cli": "8.5.2",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.1",
|
||||
"eslint": "^9.39.4",
|
||||
"@capacitor/cli": "8.6.2",
|
||||
"@eslint/js": "^9.39.5",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"@vitejs/plugin-react": "^6.3.0",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.2",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"fflate": "^0.8.3",
|
||||
"globals": "^17.5.0",
|
||||
"vite": "^8.0.9"
|
||||
"globals": "^17.14.0",
|
||||
"vite": "^8.3.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
* Bump it ONLY when this web code starts depending on something new in the
|
||||
* native project (android/…), in the same commit that bumps versionCode.
|
||||
*/
|
||||
export const MIN_SHELL_BUILD = 1
|
||||
export const MIN_SHELL_BUILD = 2 // 2: Capacitor 8.6.2, capacitor-updater 8.54.2 (platform-v2 2.99c)
|
||||
|
||||
Reference in New Issue
Block a user