-
Notifications
You must be signed in to change notification settings - Fork 0
Contributing
github-actions[bot] edited this page Apr 8, 2026
·
11 revisions
git clone https://github.com/prototypdigital/bluetemberg.git
cd bluetemberg
npm install
npm run build
npm test| Script | Purpose |
|---|---|
npm run build |
Compile TypeScript to dist/
|
npm run dev |
Watch mode compilation |
npm test |
Run tests (vitest) |
npm run test:watch |
Watch mode tests |
npm run lint |
ESLint check |
npm run lint:fix |
ESLint auto-fix |
npm run format |
Prettier format |
npm run format:check |
Prettier check |
npm run typecheck |
TypeScript type check |
src/
├── index.ts # Public API exports
├── types.ts # Shared TypeScript interfaces
├── utils/
│ └── fs.ts # File system helpers
├── sync/
│ ├── index.ts # Sync engine (read, transform, write)
│ └── transform.ts # Frontmatter transform logic
└── init/
├── index.ts # Init wizard orchestrator
├── prompts.ts # Inquirer prompt definitions
├── presets.ts # Available rule/agent/skill presets
└── scaffold.ts # File generation logic
This project uses Conventional Commits. All PR titles must follow the format:
type(scope): description
Common types:
-
feat— new feature (triggers minor version bump) -
fix— bug fix (triggers patch version bump) -
docs— documentation only -
chore— maintenance, dependencies -
refactor— code change that neither fixes a bug nor adds a feature
Breaking changes: add ! after the type, e.g. feat!: remove sync v1 API. This triggers a major version bump (or minor while pre-1.0).
- Create a feature branch from
main - Make your changes
- Ensure all checks pass:
npm run build && npm test && npm run lint && npm run format:check - Open a PR with a conventional commit title
- CODEOWNERS will be auto-requested for review
- After merge, Release Please will open/update a release PR
- When the release PR is merged, the package is published automatically
Releases are fully automated via Release Please:
- Conventional commits on
mainare analyzed - A "release PR" is opened with version bump and CHANGELOG update
- A maintainer reviews and merges the release PR
- A GitHub Release is created automatically
- The publish workflow triggers and pushes to GitHub Packages
No manual version bumping or tagging is needed.
To add a new starter rule, agent, or skill:
- Add the template file to the appropriate
templates/subdirectory - Add a preset entry in
src/init/presets.ts - Run
npm testto verify nothing breaks - Open a PR with
feat: add <name> starter template