Thanks for contributing to bkper-cli.
This guide covers the day-to-day development flow and the release automation policy used in this repository.
- Node.js:
>=18 - Package manager:
bun
Install dependencies:
bun installRun local checks:
bun run build
bun run test:unit- Sync main
git checkout main
git pull- Create a short-lived branch
git checkout -b <type>/<short-description>Examples:
fix/auth-refresh-errorfeat/transaction-batch-filterchore/update-dependencies
- Make small, focused changes
- Keep each PR scoped to one problem.
- Prefer incremental changes over large refactors.
- Run checks locally before opening PR
bun run build
bun run test:unit- Open PR to
main
- Wait for CI to pass.
- Address review feedback.
- Merge when green.
Releases are automated and tag-driven.
- Start from a clean, up-to-date
main - Run one of:
bun run release:patch
bun run release:minor
bun run release:major- Push the release commit and tag:
git push origin main --follow-tagsGitHub Actions publishes only from version tags matching v*.*.*.
Dependabot PRs stay standard dependency PRs; Pi bumps may be auto-merged if checks pass.
PRs are expected to pass:
- Build
- Unit tests
Keep your branch up to date with main if checks fail due to drift.
- Use clear commit messages.
- Describe user impact in PR description.
- Include reasoning for non-obvious decisions.
- Keep changelog/user-facing docs focused on user-relevant changes.
Publishing uses npm Trusted Publishers (OIDC) via GitHub Actions.
Do not add long-lived npm publish tokens to workflows unless explicitly required as an emergency fallback.