Skip to content

Development operations

Install

bash
pnpm install

Use the repository’s pinned pnpm version and commit changes to pnpm-lock.yaml when dependencies change.

Build, test, and lint

bash
pnpm lint
pnpm test
pnpm build

Package-specific checks use filters:

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

Run locally

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

The docs build is independent of the web application and produces docs/build for static hosting.

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