Platform-v2 step 2.2: react/react-dom 19.2.5, react-router-dom 7.14.1, vite 8.0.9, @vitejs/plugin-react 6.0.1, and react-is 19.2.5 (recharts' peer dependency, no longer installed implicitly). React and the router are now shared by both apps at the workspace root; the waiter resolves exactly the versions it had. - .npmrc legacy-peer-deps for the whole workspace (vite-plugin-pwa 1.2 does not list Vite 8 yet; the waiter always installed this way) - manager Vite dev/preview proxies /api, /api/ws and /static to :8000 like the waiter No code changes were needed: every route renders and the main flows work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
779 B
JSON
34 lines
779 B
JSON
{
|
|
"name": "manager-dashboard",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.62.0",
|
|
"axios": "^1.7.9",
|
|
"lucide-react": "^1.14.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-hot-toast": "^2.4.1",
|
|
"react-is": "^19.2.5",
|
|
"react-router-dom": "^7.14.1",
|
|
"recharts": "^3.8.1",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.16",
|
|
"vite": "^8.0.9"
|
|
}
|
|
}
|