Workspace Rules (REQUIRED)
- •ALWAYS keep workspace boundaries defined by
pnpm-workspace.yaml. - •ALWAYS add dependencies to the narrowest scope that needs them:
- •app deps in
apps/*/package.json - •package deps in
packages/*/package.json - •tooling-only deps in root
package.json
- •app deps in
Installing Dependencies (REQUIRED)
- •ALWAYS use
pnpm(repo is configured withpackageManager: pnpm@9.0.0). - •NEVER use
npm installoryarnin this repository.
Lockfile & Consistency
- •ALWAYS commit
pnpm-lock.yamlwhen dependencies change. - •NEVER hand-edit the lockfile.
Filtering & Commands
- •ALWAYS use pnpm filters for app-specific work.
- •Prefer:
- •
pnpm dev --filter=web - •
pnpm dev --filter=mobile
- •