Thank you for considering contributing! This project is maintained by the BitByBit (B3) organization (lead maintainer: prdai), and we welcome contributions from the community.
If you encounter a bug, please open an issue with:
- A clear and descriptive title
- A detailed description of the bug
- Steps to reproduce it (ideally a minimal repro)
- Your
drizzle-ormversion and runtime (Workers, Node, etc.) - Any relevant logs or code snippets
Have an idea to improve the project? Open an issue with:
- A clear and descriptive title
- A detailed description of the enhancement and the problem it solves
- Any relevant examples or API sketches
- Fork the repository and create your branch from
main. - Make your change. If you add or change behavior, add tests.
- Run the full check suite locally (see below) and make sure it passes.
- Open a pull request with a clear description and reference any related issues.
This project uses Bun as the package manager.
# install dependencies (also installs the git hooks via lefthook)
bun install
# run the test suite
bun test
# type-check
bun run typecheck
# lint + format check
bun run lint
# auto-fix formatting and safe lint issues
bun run format
# build the library (ESM + types)
bun run buildThe documentation site lives in docs/ and is a separate package:
cd docs
bun install
bun run dev # local preview
bun run build # static buildLefthook is installed automatically on bun install:
- pre-commit — runs Biome on staged files (lint + format, auto-fixing where safe).
- pre-push — runs
typecheck,test, andbuild.
If you ever need to bypass a hook in an emergency, use git commit --no-verify (please don't make a habit of it).
Code style is enforced by Biome (single quotes, no semicolons, 2-space indent). Run bun run format before committing — the pre-commit hook will also handle it. Match the conventions already present in the surrounding code.
User-facing changes should be noted in CHANGELOG.md under the [Unreleased] section, following the Keep a Changelog format.
This project adheres to a Code of Conduct. By participating, you are expected to uphold it.
Thank you for contributing! 🙌