npm installnpm run typecheck # tsc --noEmit
npm run lint # eslint .
npm run format:check # prettier --check .
npm test # vitest run
npm run build # tsup -> dist/Run all five (or npm run test:watch / npm run format while iterating)
before opening a PR — CI runs the same checks against Node 20, 22, and 24,
and main is protected: changes only land through a PR with CI passing.
- Add or update tests in
test/for any behavior change. - Keep the README's Usage/Options sections in sync with any option or behavior change.
- Follow the existing naming conventions (see
src/— full descriptive identifiers) rather than introducing new patterns. - Add an entry under
[Unreleased]in CHANGELOG.md for any user-facing change.
See the Releasing section of the README — maintainers only.