Thanks for contributing! Bug reports, fixes, features, and docs are all welcome.
git clone https://github.com/YOUR_USERNAME/chess-viewer.git
cd chess-viewer
pnpm install # also sets up Git hooks
pnpm dev # dev server at http://localhost:3000Requirements: Node 22+ and pnpm 10+.
- Branch off
master— usefeat/<name>,fix/<name>, orchore/<name>. masteris always deployable. Keep branches short-lived.- One branch per change. One PR per branch.
Follow Conventional Commits:
type(scope): subject
Types: feat · fix · docs · style · refactor · perf · test · chore · ci · build · revert
Rules: lowercase, no trailing period, header ≤ 100 characters.
Examples:
feat(export): add SVG download support
fix(board): correct piece rendering in Safari
docs: update setup instructions for Node 22
Run the quality gate — the same checks CI runs:
pnpm validate # typecheck + lint + format-check + testsIf it passes locally, CI will pass.
- Branch off
master. - Make changes, run
pnpm validate. - Open PR against
masterwith a Conventional Commit title. - Explain what changed and why in the description.
- Link the issue it closes:
Fixes #123.
PRs are squash-merged so every change lands as a single commit on master.
Open an issue using the provided templates. For questions, use Discussions.
By participating you agree to our Code of Conduct.