mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 02:42:16 +00:00
Three issues fixed: 1. The desktop-latest release accumulated stale artifacts across builds because tauri-action adds new files without removing old ones. Users could download an outdated DMG. Added a clean-release job that wipes all existing assets before the build matrix runs. 2. The frontend hardcoded DESKTOP_API to port 8000 but the Tauri backend starts the server on port 8222. Added a get_api_base Tauri command so the frontend fetches the port from the Rust backend at startup, keeping JARVIS_PORT as the single source of truth. 3. frontend/package.json version was 1.0.0 while desktop and pyproject are 0.1.0, causing duplicate artifact names in the release.
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "openjarvis-chat",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"build:tauri": "tsc -b && vite build --outDir dist",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@tauri-apps/api": "^2",
|
|
"@tauri-apps/plugin-autostart": "^2",
|
|
"@tauri-apps/plugin-global-shortcut": "^2",
|
|
"@tauri-apps/plugin-notification": "^2",
|
|
"@tauri-apps/plugin-process": "^2",
|
|
"@tauri-apps/plugin-shell": "^2",
|
|
"@tauri-apps/plugin-updater": "^2",
|
|
"katex": "^0.16.38",
|
|
"lucide-react": "^0.576.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router": "^7.13.1",
|
|
"recharts": "^3.7.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"tailwindcss": "^4.2.1",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "~5.7.0",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-pwa": "^1.2.0"
|
|
}
|
|
}
|