Frontend: - Replace Tailwind CSS with ChakraUI v3 (react, recharts, fontsource) - 24 themes (12 Dune factions x day/night variants) - Collapsible sidebar navigation with 6 groups - Recharts AreaChart/PieChart for CPU/RAM/metrics - New Experimental page (ports legacy admin_experimental.html) - Common components: DataTable, Modal, Badge, Toaster Backend: - Fix services to use direct SQL (dune.* schema) instead of stored procedures - PlayerService, EconomyService, GuildService, WorldService rewritten - Auto-login for SPA development in factory.py - Fix settings.yaml path resolution Launcher: - Add option [7] Start New Dashboard in launcher.ps1 and start.sh - Auto-installs pip + npm dependencies - Sets up SSH tunnels + kubectl port-forwards - Starts backend API + frontend Vite dev server Security: - Sanitize hardcoded RMQ password in config.py - Add frontend/dist/ to .gitignore
35 lines
844 B
JSON
35 lines
844 B
JSON
{
|
|
"name": "dune-dashboard-frontend",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^3.0.0",
|
|
"@fontsource/inter": "^5.0.0",
|
|
"@fontsource/playfair-display": "^5.0.0",
|
|
"@fontsource/roboto-mono": "^5.0.0",
|
|
"axios": "^1.6.7",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-icons": "^5.6.0",
|
|
"react-router-dom": "^6.22.0",
|
|
"recharts": "^2.12.0",
|
|
"socket.io-client": "^4.7.4",
|
|
"swr": "^2.2.4",
|
|
"xterm": "^5.3.0",
|
|
"xterm-addon-fit": "^0.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.55",
|
|
"@types/react-dom": "^18.2.19",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.1.0"
|
|
}
|
|
}
|