Files
musicshare/package.json
T
chrisandClaude Opus 5.5 6317004004 Run the whole stack in Docker
- API and web images built with turbo prune; the API image also runs the
  worker and migrations. Non-root, health-checked, Debian slim.
- docker compose up -d --build starts Postgres, Redis (persistent), a
  one-shot migrate job, API, worker and web, in dependency order.
- Fix the API production build (tsup flags moved to a config file) and
  bundle the migration script; silence Postgres NOTICE noise.
- npm run infra:up now starts only Postgres and Redis for hot-reload dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MzFywujuH9TiuXbr9vjoX8
2026-10-03 16:02:38 -04:00

34 lines
805 B
JSON

{
"name": "musicshare",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
"typecheck": "turbo run typecheck",
"infra:up": "docker compose up -d postgres redis",
"infra:down": "docker compose down",
"db:generate": "npm run db:generate -w @musicshare/api",
"db:migrate": "npm run db:migrate -w @musicshare/api",
"mobile": "npm run start -w @musicshare/mobile",
"test": "turbo run test",
"lint": "turbo run lint"
},
"packageManager": "npm@10.8.1",
"engines": {
"node": ">=22.13"
},
"devDependencies": {
"turbo": "^2.11.7",
"typescript": "~6.0.3"
},
"overrides": {
"react": "19.2.3",
"react-dom": "19.2.3",
"@types/react": "~19.2.2"
}
}