- Dev:
npm run dev(pro:npm run dev:pro) - Lint/format:
npm run lint,npm run fmt - Tests:
npm run test,npm run test:once,npm exec -- vitest --run path/to/file.test.tsx - Build:
npm run build,make build - Go lint/test:
make lint,make test
- No
any; useunknownor specific types. - Tests live beside components (
.test.tsx). - Prefix unused variables with
_.
- UI/router/search-state: targeted tests +
npm run lint. - Larger changes:
npm run test:once+npm run build. - Go changes:
make lint. - User-facing changes (features, bug fixes, behavior changes): add an
Unreleasedchangelog entry inCHANGELOG.mdunder the correct section. - Changelog entries for user-facing changes should include a PR reference
link using project convention:
[PR #XXX](https://github.com/riverqueue/riverui/pull/XXX).
- Title <= 50 chars (max 72); wrap body ~72.
- Explain problem, fix, why it works, and tests.
- Use auto-close keywords; don’t mention "ran lint/tests".