feat: migrar dashboard a React 19 + TypeScript + Vite + Tailwind v4

- Módulo HITL (/cases): 6 patrones de formularios dinámicos para 53 tipos de caso con validación Zod
- Módulo Monitor (/monitor): streaming token-a-token en tiempo real, auto-scroll y notas internas vía WebSocket
- Arquitectura híbrida: REST (canal autoritativo) + WebSocket (difusión/streaming)
- MSW para desarrollo sin backend, hooks de notificaciones/sonido/título preservados
- Backend legacy movido a legacy/, archivos residuales eliminados de raíz
This commit is contained in:
2026-07-23 18:27:03 -05:00
parent 69cc215954
commit 8f044567c0
78 changed files with 11818 additions and 1563 deletions
+33 -10
View File
@@ -1,19 +1,42 @@
{
"name": "claro-cases",
"version": "1.0.0",
"description": "Claro Cases tracking system with Postgres and live UI updates",
"main": "server.js",
"private": true,
"version": "2.0.0",
"type": "module",
"description": "Claro Cases - Dashboard de gestión de casos y monitoreo",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js"
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"lint": "tsc --noEmit"
},
"dependencies": {
"better-sqlite3": "^12.11.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2"
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.5.0",
"zustand": "^5.0.4",
"zod": "^3.24.4",
"date-fns": "^4.1.0",
"lucide-react": "^0.511.0"
},
"devDependencies": {
"nodemon": "^3.1.0"
"@tailwindcss/vite": "^4.1.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"msw": "^2.7.5",
"tailwindcss": "^4.1.6",
"typescript": "~5.7.2",
"vite": "^6.3.2",
"vitest": "^3.1.2"
},
"msw": {
"workerDirectory": [
"public"
]
}
}