feat: local tier gateway with PGlite + Gitea-only publishing #371

Merged
jason.woltje merged 2 commits from feat/gateway-local-tier into main 2026-04-04 18:39:21 +00:00
Owner

Summary

  • Add PGlite (embedded Postgres) for local tier — gateway runs without external PG server, same schema and Drizzle API, zero module refactoring
  • Install wizard now offers tier selection (local vs team), local skips DATABASE_URL/VALKEY_URL prompts
  • Comment out npmjs publish step in CI (preserved for future), revert gateway to Gitea registry
  • Add repository field to all 23 publishable packages for Gitea package-to-repo linking
  • Fix Commander version mismatch: unify prdy and mosaic packages to Commander v13

Test plan

  • pnpm typecheck — 40/40 passed
  • pnpm lint — 22/22 passed
  • pnpm test — 40/40 passed
  • pnpm format:check — all clean

🤖 Generated with Claude Code

## Summary - Add PGlite (embedded Postgres) for local tier — gateway runs without external PG server, same schema and Drizzle API, zero module refactoring - Install wizard now offers tier selection (local vs team), local skips DATABASE_URL/VALKEY_URL prompts - Comment out npmjs publish step in CI (preserved for future), revert gateway to Gitea registry - Add repository field to all 23 publishable packages for Gitea package-to-repo linking - Fix Commander version mismatch: unify prdy and mosaic packages to Commander v13 ## Test plan - [x] `pnpm typecheck` — 40/40 passed - [x] `pnpm lint` — 22/22 passed - [x] `pnpm test` — 40/40 passed - [x] `pnpm format:check` — all clean 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jason.woltje added 2 commits 2026-04-04 18:39:08 +00:00
- Add PGlite (embedded Postgres) for local tier — gateway runs without
  external PG server. Same schema, same Drizzle API, zero module refactor.
- Install wizard now offers tier selection (local vs team).
  Local skips DATABASE_URL/VALKEY_URL, writes mosaic.config.json.
- Comment out npmjs publish step in CI (preserved for future use).
- Revert gateway publishConfig to Gitea registry, include in Gitea publish.
- Add repository field to all 23 publishable package.json files for
  Gitea package-to-repo linking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: unify Commander to v13 across all packages (prdy, mosaic)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
9f73d3f5db
Stale commander@12 in @mosaic/prdy and @mosaic/mosaic caused type
mismatch with @mosaic/cli and @mosaic/quality-rails (both on v13).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit fc7fa11923 into main 2026-04-04 18:39:21 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#371