mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
1.2 KiB
1.2 KiB
Contributing
Daily Workflow
Use this command surface:
pnpm setup(once per machine)pnpm dev(daily coding loop)pnpm verify(before push)
Optional:
pnpm quick(faster checks while coding)pnpm verify:strict(aspirational strict gate while we burn down baseline debt)pnpm guide(show command reference)
Quality Gates
Before opening or updating a PR:
pnpm verifymust passpnpm verify:strictis currently optional until formatting and full client typecheck baseline debt is reduced.- If tests touched critical flows, run
pnpm test:e2e:smoke - If coverage-sensitive changes are made, run
pnpm coverage
Check vs Fix Commands
Non-mutating:
pnpm format:checkpnpm lint:checkpnpm typecheckpnpm typecheck:fullpnpm typecheck:client:baseline:update(update accepted client TS baseline after intentional changes)
Mutating:
pnpm formatpnpm lint:fix
Database Commands
pnpm db:uppnpm db:migratepnpm db:seedpnpm db:reset
Troubleshooting
- Run
pnpm doctorfor environment checks. - If dependencies changed, run
pnpm install. - If local DB state is inconsistent, run
pnpm db:reset.