- husky pre-commit hook blocks direct commits to main - github actions CI runs lint + build on PRs - PR template and CONTRIBUTING.md for workflow docs
948 B
Executable File
948 B
Executable File
contributing
local setup
git clone git@github.com:High-Performance-Structures/compass.git
cd compass
bun install
bun dev
branching
branch off main using the format <username>/<feature>:
git checkout -b nicholai/add-gantt-zoom
direct commits to main are blocked by a pre-commit hook.
commits
use conventional commits:
type(scope): subject
- types: feat, fix, docs, style, refactor, perf, test, build, ci, chore
- subject: imperative mood, 50 chars max
- body: 72 chars max width, explain why not what
pull requests
- push your branch and open a PR against main
- CI runs lint + build automatically
- both checks must pass before merge
- PRs are squash-and-merged (single clean commit on main)
the PR template will guide you on what to include.
deployment
deployment to cloudflare workers happens manually via bun deploy.
this is separate from the PR/merge workflow.