A basic monorepo starter with some shared config
Drizzle is used during local development against the local wrangler/miniflare db only. D1 databases hosted on Cloudflare all use wrangler to perform migrations.
pnpm db:init
- Creates a local wrangler db based on the current migrationspnpm db:push
- Update the local db directly during developmentpnpm db:generate
- Schema changes are finalized and we can start writing testspnpm test
- Local tests use generated migrations files to bootstrap the databasepnpm deploy:stg
- Deploy the migrations and code to staging environmentpnpm deploy:prd
- Deploy the migrations and code to the production envrionment
- todo
- eslint
- tsconfig