Thank you for your interest in contributing! 🎉
-
Fork and clone the repository
git clone https://github.com/your-username/zero-setup-biome.git cd zero-setup-biome -
Install dependencies
npm install
-
Run in development mode
npm run dev my-test-app
| Script | Description |
|---|---|
npm run dev |
Run CLI in development mode |
npm run build |
Build for production |
npm run test |
Run tests |
npm run test:watch |
Run tests in watch mode |
npm run test:coverage |
Run tests with coverage |
npm run lint |
Lint with Biome |
npm run lint:fix |
Lint and fix issues |
npm run typecheck |
TypeScript type checking |
src/
├── cli.ts # CLI entry point
├── commands/
│ └── create.ts # Create command
├── generators/
│ ├── copy-template.ts
│ ├── install-deps.ts
│ └── git-init.ts
├── utils/
│ ├── constants.ts
│ ├── detect-pm.ts
│ └── validate-name.ts
└── types/
└── index.ts
We use Conventional Commits:
feat:New featurefix:Bug fixdocs:Documentationchore:Maintenancetest:Testsrefactor:Refactoring
- Create a feature branch:
git checkout -b feat/my-feature - Make your changes
- Run tests:
npm run test - Run linting:
npm run lint - Commit with conventional commit message
- Push and open a PR
- Create a new folder in
templates/(e.g.,templates/vue-ts/) - Add template to
TEMPLATESinsrc/utils/constants.ts - Add description to
TEMPLATE_DESCRIPTIONS - Add the
Templatetype tosrc/types/index.ts
Open an issue! We're happy to help.