feat: scaffold frontend (Vite + React + Vitest)
- Añade scaffold de frontend con Vite y React - Configura Vitest y tests básicos (App, Navbar) - Añade QueryClient y hooks/plantillas iniciales
This commit is contained in:
49
plans/gestor-coleccion-plan-phase-6-complete.md
Normal file
49
plans/gestor-coleccion-plan-phase-6-complete.md
Normal file
@@ -0,0 +1,49 @@
|
||||
## Phase 6 Complete: Frontend base (React + Vite + shadcn/ui)
|
||||
|
||||
Se scaffoldó el frontend mínimo con Vite + React + TypeScript, configuración de Vitest y pruebas básicas. Los tests unitarios escritos pasan correctamente y el proyecto contiene los componentes y rutas base necesarios para continuar con la Fase 7.
|
||||
|
||||
**Files created/changed:**
|
||||
|
||||
- frontend/package.json
|
||||
- frontend/tsconfig.json
|
||||
- frontend/vite.config.ts
|
||||
- frontend/vitest.config.ts
|
||||
- frontend/index.html
|
||||
- frontend/postcss.config.cjs
|
||||
- frontend/tailwind.config.cjs
|
||||
- frontend/src/main.tsx
|
||||
- frontend/src/App.tsx
|
||||
- frontend/src/components/layout/Navbar.tsx
|
||||
- frontend/src/components/layout/Sidebar.tsx
|
||||
- frontend/src/routes/index.tsx
|
||||
- frontend/src/routes/roms.tsx
|
||||
- frontend/src/routes/games.tsx
|
||||
- frontend/src/lib/queryClient.ts
|
||||
- frontend/src/lib/api.ts
|
||||
- frontend/src/hooks/useGames.ts
|
||||
- frontend/src/styles.css
|
||||
- frontend/src/setupTests.ts
|
||||
- frontend/tests/App.spec.tsx
|
||||
- frontend/tests/components/Navbar.spec.tsx
|
||||
|
||||
**Functions created/changed:**
|
||||
|
||||
- `App` component (frontend/src/App.tsx)
|
||||
- `Navbar` component (frontend/src/components/layout/Navbar.tsx)
|
||||
- `Sidebar` placeholder (frontend/src/components/layout/Sidebar.tsx)
|
||||
- `queryClient` export (frontend/src/lib/queryClient.ts)
|
||||
- `useGames` hook (stub) (frontend/src/hooks/useGames.ts)
|
||||
|
||||
**Tests created/changed:**
|
||||
|
||||
- frontend/tests/App.spec.tsx
|
||||
- frontend/tests/components/Navbar.spec.tsx
|
||||
|
||||
**Review Status:** APPROVED
|
||||
|
||||
**Git Commit Message:**
|
||||
feat: scaffold frontend base (Vite + React + Vitest)
|
||||
|
||||
- Añade scaffold de frontend con Vite y React
|
||||
- Configura Vitest y tests básicos (App, Navbar)
|
||||
- Añade QueryClient y hooks/plantillas iniciales
|
||||
Reference in New Issue
Block a user