Commit Graph

4 Commits

Author SHA1 Message Date
Chris Farhood c8e93fa11b fix: update lockfile and fix import paths for standalone repo
- Regenerated pnpm-lock.yaml to remove stale workspace references (@groombook/db, @groombook/types) from monorepo extraction
- Fixed all relative imports to include .js extensions required by NodeNext module resolution
- Corrected db import paths throughout codebase (./db → ./db/index.js or ../db/index.js based on file location)
- Removed unused pickN helper function from db/seed.ts
- Fixed lint errors: changed const startTime to let where reassignment occurs

This unblocks CI which was failing at the 'Install dependencies' step.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-11 03:35:37 +00:00
Hugh Hackman 1855b374b5 refactor: inline packages/db and packages/types into api package
Phase 2 extraction: groombook/api from groombook/app monorepo.

Changes:
- Move packages/db content to apps/api/src/db/
- Move packages/types content to apps/api/src/types/
- Inline database schema and migrations into api package
- Update Dockerfile to build single package
- Update CI workflow for single-package structure
- Fix vitest.config.ts aliases

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 21:21:42 +00:00
Hugh Hackman 004725ae6e Add pnpm-lock.yaml
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 21:11:55 +00:00
Hugh Hackman 51f95e0fd6 Initial extraction: groombook/api from groombook/app monorepo
Part of GRO-802 monorepo breakdown.

Changes:
- Extract apps/api/ as the main API service
- Inline packages/db/ (database schema, migrations, utilities)
- Inline packages/types/ (shared TypeScript types)
- Add CI workflow for lint, typecheck, test, build, docker
- Port Dockerfile with 4 stages: runner, migrate, seed, reset

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 21:10:21 +00:00