ForkDocs
Self-host

Scripts & commands

Root-level Bun scripts for development and CI.

All commands assume the repository root unless noted.

Development

CommandDescription
bun run devNext.js dev server for apps/web.
bun run docs:devFumadocs dev server for apps/docs (port 3001).

Build & run

CommandDescription
bun run buildprisma generate + production build for apps/web (Turbo).
bun run build:allBuild web and docs in parallel.
bun run startProduction server for apps/web.
bun run docs:buildProduction build for apps/docs.
bun run docs:typesfumadocs-mdx + Next typegen + tsc for docs.

Database

CommandDescription
bun run db:migrateprisma migrate dev (cwd apps/web).
bun run db:generateprisma generate only.

Quality

CommandDescription
bun run lintESLint (repo-wide).
bun run formatPrettier for *.ts / *.tsx.
bun run typechecktsc --noEmit in apps/web.
bun testBun test runner (apps/web).

bun run build triggers prisma generate in apps/web; postinstall on the web package also runs prisma generate after installs.

On this page