OrcAI
Development

Commands

Common Bun workspace commands.

Run these commands from the repository root unless noted otherwise.

Tip

Use the filtered @orcai/web commands when you only need to validate documentation changes.

Application

CommandPurpose
bun run dev:allStart the app, documentation site, and workers in development mode.
bun run devStart the main app development server.
bun run buildBuild the main app.
bun run startRun the built main app.
bun run workers:devStart workers in development mode.
bun run workers:startStart workers in production mode.

Quality Checks

CommandPurpose
bun run lintRun Biome and TypeScript checks.
bun run lint-fullRun Biome, TypeScript checks, and ESLint.
bun run knipRun unused dependency/export analysis.
bun run prepushRun the full pre-push check.

Database And Authorization

CommandPurpose
bun run --filter @orcai/db migrateApply SQL migrations.
bun run --filter @orcai/db generateGenerate a new Drizzle migration.
bun run --filter @orcai/db studioOpen Drizzle Studio.
bun run --filter @orcai/spice-db upApply the SpiceDB schema.
bun run --filter @orcai/spice-db statusInspect SpiceDB schema migration status.

Documentation Web Service

Run the docs service directly with:

Repository root
bun run --filter @orcai/web dev

Check MDX generation and TypeScript types with:

Repository root
bun run --filter @orcai/web types:check

Build the docs service with:

Repository root
bun run --filter @orcai/web build

Maintenance

CommandPurpose
bun run cleanRemove dependencies, build outputs, generated TanStack artifacts, devtools folders, and TypeScript build info.
bun run machine-translateRun the app machine-translation workflow.

On this page