Commit Graph

4 Commits

Author SHA1 Message Date
1411b28c90 Fix Dockerfile: pnpm v10 deploy requires --legacy flag 2026-04-30 11:08:41 +01:00
00a914279b Fix API build: shared package emits dist, fix type errors
- packages/shared: tsconfig adds outDir/declaration, package.json adds build script
- apps/api/tsconfig.json: paths now point to shared/dist (.d.ts) instead of source,
  resolves TS6059 rootDir conflict
- apps/api/src/routes/{health,notifications,users}.ts: explicit Router type annotation
  to fix TS2742 portable type inference
- apps/api/src/events/handler.ts: cast via 'as unknown as' to satisfy TS2352
- apps/api/Dockerfile: build shared package before api
2026-04-30 11:07:21 +01:00
22e8cc893f Add Dockerfiles, .dockerignore and brand logo
- apps/api/Dockerfile: multi-stage pnpm build, runtime node:22-alpine, port 3001
- apps/web/Dockerfile: multi-stage pnpm + Vite, runtime nginx:alpine with SPA config
- .dockerignore: excludes node_modules, dist, .env, .git, IDE folders, design docs
- Brand logo (naturcalabacera.webp) integrated as favicon, sidebar icon, header logo
- index.html title updated to 'Naturcalabacera · Reservas'
2026-04-30 10:22:37 +01:00
a0ccb8ca64 Initial commit: monorepo Naturcalabacera reservas (apps/api + apps/web + packages/shared) 2026-04-30 10:09:44 +01:00