Sinatra Docs
Reference

CLI

Repo scripts and tooling.

Full reference is being written.

Useful scripts

From the repo root:

  • pnpm dev:api — run the API in watch mode on :8080.
  • pnpm dev:worker — run the Temporal worker.
  • pnpm dev:docs — run this docs site on :3001.
  • pnpm dev:website — run the marketing site on :3002.
  • pnpm db:snapshot — dump the local Postgres to a snapshot file.
  • pnpm db:restore — restore from the latest snapshot.
  • pnpm db:migrate:dev — apply Prisma migrations against the local DB (run from packages/shared).
  • pnpm --filter @sinatra/shared gen:workflow-diagram — regenerate the workstream state diagram.
  • pnpm typecheck — run tsc --build across the workspace (skips the docs and website packages).
  • pnpm -r test — run all package test suites.

On this page