dorfteich/pnpm-workspace.yaml
Claude Fable 5 ca0f7cf4b1 Add Prisma with PostgreSQL, automatic migrations, and /readyz
apps/api gains Prisma (instance_settings as the first model) with the
initial migration applied automatically at startup via prisma migrate
deploy, a lazy-connecting PrismaService, and GET /api/v1/readyz
reporting named checks (database reachable, migrations applied) with
200/503. DATABASE_URL joins the validated environment schema;
MIGRATE_ON_START=false skips deploys for tests and tooling. An
idempotent seed script and a Compose dev overlay with PostgreSQL
(host port 5434 — 5433 is taken locally) complete the loop.

Closes #3

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:16:44 +02:00

11 lines
229 B
YAML

packages:
- apps/*
- packages/*
# Postinstall scripts are opt-in with pnpm; esbuild needs its binary install.
allowBuilds:
'@prisma/client': true
'@prisma/engines': true
'@swc/core': true
esbuild: true
prisma: true