Automated setup wizard for Git Flow with semantic versioning, conventional commits, and automated releases.
- Interactive CLI setup wizard
- Automatic dependency configuration
- Commitlint validation for conventional commits
- Semantic Release integration for automated versioning
- GitHub Actions workflow for automated releases
- Husky hooks for pre-commit validation
- Node.js 22+
- Git repository
- GitHub repository (for automated releases)
npx github:OGR-67/setup-git-flowOr clone the repository and run:
git clone https://github.com/OGR-67/setup-git-flow.git
cd setup-git-flow
node index.jsRun the setup wizard and answer the prompts:
node index.jsThe wizard will:
- Ask for your project name, description, and GitHub organization
- Create or update
package.jsonwith required dependencies - Configure commitlint, semantic-release, and GitHub Actions
- Install dependencies and setup Husky hooks
.releaserc.json— Semantic Release configurationcommitlint.config.js— Commit message validation rules.github/workflows/release.yml— Automated release workflow
MIT