
# Start development server
pnpm run dev
# Start vitest watch mode
pnpm run test
# Generate TypeScript types for Cloudflare Worker bindings
pnpm run cf-typegen
# Generate a new migration file from schema
pnpm run migration:generate
# Apply migrations locally
pnpm run migration:apply:local
# Typecheck
pnpm run typecheck
# Lint
pnpm run lint
# Auto-fix linting issues
pnpm run fix
# Build for production
pnpm run build
# Preview production build
pnpm run preview
# Deploy to Cloudflare
# Make sure to run `pnpm run build` first
pnpm run deploy
# Apply migrations to production database
pnpm run migration:apply:remote