chore: add dev:cardecky:full + dev:cards-server scripts

dev:cardecky:full spins up the six processes Cardecky needs end-
to-end so a fresh `pnpm dev:cardecky:full` boots the full stack
in one terminal: mana-auth (3001) + mana-sync (3050) + mana-
credits (3061) + mana-notify (3040) + cards-server (3072) +
cards-web (5180).

dev:cards-server is the standalone shortcut for just the Hono
backend — useful when iterating on the API alone.

One-time prereqs (not in the script): `pnpm docker:up`,
`pnpm setup:env`, `pnpm setup:db`, plus
`cd services/cards-server && bun run db:push` (the legacy
setup-databases.sh cards branch points at a non-existent
@mana/cards-database package).
This commit is contained in:
Till JS 2026-05-08 13:19:36 +02:00
parent 39e508075a
commit 7a96a9a3fa

View file

@ -69,6 +69,8 @@
"dev:cards:web": "pnpm --filter @cards/web dev",
"dev:cards:landing": "pnpm --filter @cards/landing dev",
"dev:cards:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:cards:web\"",
"dev:cards-server": "cd services/cards-server && bun run --watch src/index.ts",
"dev:cardecky:full": "concurrently -n auth,sync,credits,notify,server,web -c blue,magenta,green,gray,yellow,cyan \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:credits\" \"pnpm dev:notify\" \"pnpm dev:cards-server\" \"pnpm dev:cards:web\"",
"dev:picture:web": "pnpm --filter @picture/web dev",
"dev:picture:landing": "pnpm --filter @picture/landing dev",
"dev:picture:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:picture:web\"",