Skip to content

Repository files navigation

Maglev

CI status

Development

# 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

Linting

# Typecheck
pnpm run typecheck

# Lint
pnpm run lint

# Auto-fix linting issues
pnpm run fix

Deployment

# 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages