- Package Name:
commiter - Version: 1.0.0
- Description: Commit convention tooling for standard-version releases
standard-version- Automated versioning and changelog generation@commitlint/cli- Commit message linting@commitlint/config-conventional- Conventional commit ruleshusky- Git hooks management
npm run release # Auto-detect version bump
npm run release:major # 1.0.0 → 2.0.0
npm run release:minor # 1.0.0 → 1.1.0
npm run release:patch # 1.0.0 → 1.0.1Each commit type will appear with its icon in the CHANGELOG:
| Type | Icon | Section |
|---|---|---|
| feat | ✨ | Features |
| fix | 🐛 | Bug Fixes |
| perf | ⚡ | Performance |
| refactor | ♻️ | Refactors |
| docs | 📝 | Documentation |
| style | 💄 | Styles |
| test | ✅ | Tests |
| build | 🏗️ | Build System |
| ci | 👷 | Continuous Integration |
| chore | 🧹 | Chores |
| revert | ⏪ | Reverts |
- commit-msg: Validates commit messages follow conventional format
- pre-commit: Runs tests before allowing commits
README.md- Complete usage guideCONTRIBUTING.md- Contribution guidelines.gitignore- Standard Node.js gitignorecommitlint.config.js- Commitlint configuration
git add .
git commit -m "feat: initial project setup with standard-version"npm run release -- --first-releasegit push --follow-tags origin main# Make changes
git add .
# Commit with conventional format (will be validated)
git commit -m "feat(auth): add user login functionality"
# More commits...
git commit -m "fix(api): resolve timeout issue"
git commit -m "docs: update API documentation"
# Create a release (will analyze commits and bump version)
npm run release:minor
# Push everything including tags
git push --follow-tags origin main- Analyzes all commits since last release
- Determines version bump based on commit types
- Updates
package.jsonversion - Generates/updates
CHANGELOG.mdwith icons - Creates a git tag (e.g.,
v1.1.0) - Commits with message:
chore(release): v1.1.0 🚀
- Read
README.mdfor detailed usage instructions - Check
CONTRIBUTING.mdfor contribution guidelines - Start making commits following the conventional format
- Run your first release when ready!
Note: The commit message hook will prevent commits that don't follow the conventional format. This ensures your changelog stays clean and releases are properly versioned.