Skip to main content
FirstFlow is a pnpm + Turbo monorepo. This page gets you from a clone to a green build.

Layout

Set up

1

Clone and install

Requires Node 18+ and pnpm 9.
2

Build, typecheck, and test

Turbo runs each task across the packages in dependency order.
@firstflow/config-schema builds first because the SDK packages depend on its types; its build also regenerates the JSON schema.
3

Work on a single package

Filter to one package while iterating:

Before you open a PR

  • pnpm build, pnpm typecheck, pnpm test, and pnpm lint all pass.
  • New behavior has tests (the packages use Vitest).
  • Schema changes ship a new migration in packages/config-schema/supabase/migrations/ and a regenerated JSON schema (pnpm --filter @firstflow/config-schema build).
  • Public API changes update the relevant README.md / SCHEMA.md.

Next

See the overview for the architecture, or the Server SDK and Browser SDK references for the package APIs.