@gridscoot/db
v0.1.0
Published
Supabase client factories used by @gridscoot/mcp + the Gridscoot Next.js app. Honours SUPABASE_DB_SCHEMA for shared-schema deployments.
Readme
packages/db
Status: empty stub (Phase 1 scaffold). No code yet.
Will hold:
- Generated TypeScript types from the Supabase schema (
pnpm db:typesstyle script) - Re-exported Supabase client factories (server-only, browser, service-role)
- Migration tooling glue
The migrations themselves live in ../../supabase/migrations/ — they are SQL files run by the Supabase CLI, not by this package.
Pattern source: Mateprice (which doesn't have a separate db package; it inlines types into src/lib/supabase). We're factoring it out because of npm workspaces.
