Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 971 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (27 loc) · 971 Bytes

Contributing

Setup

npm install

Workflow

npm 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.

Guidelines

  • 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.

Releasing

See the Releasing section of the README — maintainers only.