Platform-v2 step 2.99b. - npm update of the advised packages, within their ranges: what ships to browsers is axios 1.15.1 -> 1.21.1 and react-router(-dom) 7.14.1 -> 7.18.5 (both apps); build tools: vite 8.0.9 -> 8.3.8 (rolldown 1.2), postcss 8.5.33, babel 7.29.x, browserslist, js-yaml, zod, brace-expansion, nanoid, source-map-js... 30 -> 11 advisories; the 11 left are build-time only (vite-plugin-pwa/workbox-build chain, @capacitor/cli -> xcode -> uuid) and move to 2.99c. - manager_dashboard/eslint.config.js = the waiter's rules; `npm run lint -w manager-dashboard` checks the v2 code (file list in the script), in run-all.mjs. set-state-in-effect is a warning until phase 6 moves page loading to react-query. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"name": "manager-dashboard",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "node --test \"tests/*.test.mjs\"",
|
|
"lint": "eslint eslint.config.js tests src/shell src/live src/pages/platform src/pages/staff src/pages/Settings/sections src/pages/LoginPage.jsx src/components/NotificationBell.jsx src/components/UserMenuButton.jsx src/pages/reports/operations/LogsPanel.jsx src/api/client.js src/store/authStore.js src/main.jsx"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.62.0",
|
|
"@xenia/access": "^0.0.0",
|
|
"@xenia/api": "^0.0.0",
|
|
"@xenia/i18n": "^0.0.0",
|
|
"@xenia/ui": "^0.0.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": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.5.0",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.16",
|
|
"vite": "^8.0.9"
|
|
}
|
|
}
|