4ec62f5ed6
- Migra el frontend a Mantine v9 siguiendo la regla de theming del registry (@fn_library, sin Tailwind/cn/CVA). - Reescribe DashboardShell, FilterBar, Section, WidgetRenderer y todos los widgets (Area/Bar/Line/Pie/KPI/Sparkline/Table) con componentes y props de Mantine. - Ajusta vite.config, main.tsx, App.tsx, app.css y env.d.ts. - Añade postcss.config.cjs requerido por Mantine. - Actualiza package.json y pnpm-lock. - Ajusta config.go, main.go y los ejemplos (fn_registry_apps/overview) para el nuevo esquema de tipos en frontend/src/types.ts.
35 lines
881 B
JSON
35 lines
881 B
JSON
{
|
|
"name": "rapid-dashboards",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview --host"
|
|
},
|
|
"dependencies": {
|
|
"@mantine/charts": "^9.0.0",
|
|
"@mantine/core": "^9.0.0",
|
|
"@mantine/hooks": "^9.0.0",
|
|
"@mantine/notifications": "^9.0.0",
|
|
"@phosphor-icons/react": "^2.1.10",
|
|
"@tabler/icons-react": "^3.41.1",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"date-fns": "^4.1.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"recharts": "^3.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.0",
|
|
"postcss": "^8.5.8",
|
|
"postcss-preset-mantine": "^1.18.0",
|
|
"postcss-simple-vars": "^7.0.1",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^8.0.0"
|
|
}
|
|
}
|