Thanks for your interest in contributing! This project is part of the
@danmat HTTP QUERY suite.
Requires Node.js 18+ (CI tests 18, 20, 22).
git clone https://github.com/DanMat/query-server.git
cd query-server
npm installCommon tasks:
npm test # run the test suite (vitest)
npm run build # bundle with tsup (ESM + CJS + types)
npm run typecheck
npm run lint # Biome: lint + format check
npm run format # Biome: apply safe fixes- Add or update tests for your change.
- Make sure
npm run lint,npm run typecheck, andnpm testall pass. - A pre-commit hook runs
lint-staged(Biome) automatically; please don't skip it. - Keep the public API small — its only runtime dependency is
@danmat/accept-query.
- Use clear, imperative commit messages.
- Open the PR against
main; CI must be green before review. - Describe the motivation and any tradeoffs.
Releases are automated. Bump the version, tag it, and push:
npm version patch --no-git-tag-version
git commit -am "release: vX.Y.Z"
git tag vX.Y.Z && git push origin main --tagsThe Release workflow runs lint + typecheck + tests, then publishes to npm with
provenance.
By participating you agree to abide by our Code of Conduct.