Skip to content

Local development

The workspace uses Node 22, pnpm 11.5.2, TypeScript, Turbo, Vitest, and package-specific tools such as Vite, Fastify, and Playwright.

Start an application

bash
pnpm --filter @daily-rule/web dev
pnpm --filter @daily-rule/api dev
pnpm --filter @daily-rule/docs dev

The web and API applications are independent processes. The docs site is also independent and serves the generated handbook locally.

Work at package scope

bash
pnpm --filter @daily-rule/engine test
pnpm --filter @daily-rule/api test
pnpm --filter @daily-rule/web test
pnpm --filter @daily-rule/docs build

Use the repository scripts as the source of truth. If a page needs a command that is not listed in the CLI Reference, add the command to the implementation and documentation together.

The Daily Rule engineering, authoring, editorial, and operations handbook.