40a28d5ff5
Beim Upgrade von 0.7 auf 0.8 wurden Lokal-Installationen ungewollt in den Cloud-Modus geschoben, weil das Production-Build VITE_SUPABASE_URL enthielt und adapter.js dies als Default-Cloud-URL gesetzt hat — auch wenn bereits lokale Daten in localStorage vorhanden waren. Fix in adapter.js: Auto-Cloud-Switch nur noch wenn - kein rapport_backend_chosen gesetzt - UND keine lokalen Daten (studio_data_v1) vorhanden - UND nicht in Tauri (Desktop-User wählen immer aktiv) Damit klaut der Web-Deploy weiter automatisch Cloud-Konfig (kein BackendChoice für Browser-User mit Server-URL), aber Tauri-Updates und Browser-User mit bestehenden Lokal-Daten bleiben unangetastet. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
34 lines
831 B
JSON
Executable File
34 lines
831 B
JSON
Executable File
{
|
|
"name": "rapport",
|
|
"private": true,
|
|
"version": "0.8.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/supabase-js": "^2.106.1",
|
|
"@tauri-apps/plugin-process": "^2.3.1",
|
|
"@tauri-apps/plugin-updater": "^2.10.1",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"swissqrbill": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tauri-apps/api": "^2.10.1",
|
|
"@tauri-apps/cli": "^2.10.1",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^10.2.1",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.5.0",
|
|
"vite": "^8.0.10"
|
|
}
|
|
}
|