Contributing
Thanks for your interest in contributing to bQuery.js! This section bundles the contributor-facing documentation. The canonical sources of truth for repository conventions are:
CONTRIBUTING.md— the canonical contributing guide.AGENT.md— deep architectural reference (also useful for human contributors).CODE_OF_CONDUCT.md— community standards.SECURITY.md— vulnerability disclosure.CHANGELOG.md— release history.
The pages in this section summarise those documents for the docs site and link out for the full text.
Quick start
bash
# Clone
git clone https://github.com/bQuery/bQuery.git
cd bQuery
# Install dependencies (Bun is the canonical tool)
bun install
# Verify everything works
bun run lint
bun run build
bun test
# Optional: run the docs site locally
bun run devSupported tooling: Node ≥ 24 and Bun ≥ 1.3.13. See Supported Runtimes.
Workflow at a glance
- Open an issue first for non-trivial changes — this avoids wasted work.
- Branch from
main(ordevelopmentfor in-flight work). - Make the smallest change that fully addresses the request. Add or update tests and docs.
- Run the local validation suite:
bun run lint,bun run build,bun test, andbun run check:full-bundlefor any public-export change. - Open a PR using the PR template. Conventional Commits are required (
feat(module): …).
Where to go next
- Repository Layout — directory tour.
- Architecture — module layering rules and the dependency direction guarantee.
- Testing Strategy — how the test suite is organised.
- Release Process —
check:ai-guidance,check:full-bundle, semver policy. - Agent Guide — curated subset of
AGENT.mdfor human contributors. - Code of Conduct.
- Security Policy.