@lvjiaxuan/test v0.1.3
Conventional-changelog
standard-changelog
command line interface for the angular commit format.
Normal usage: append content in CHANGELOG.md
nx standard-changelog
Overwrite CHANGELOG.md:
nx standard-changelog --first-release
Reference: conventional-changelog-cli
conventional-github-releaser
Create release with note form git metadata.
I fail in cli but ci/cd. F***.
For #648, I recommend changeloggithub from antfu.
conventional-recommended-bump
Get a recommended version bump based on conventional commits.
// [ 'major', 'minor', 'patch' ]
module.exports = {
parserOpts,
whatBump: commits => {
let level = 2
let breakings = 0
let features = 0
commits.forEach(commit => {
if (commit.notes.length > 0) {
breakings += commit.notes.length
level = 0
} else if (commit.type === 'feat') {
features += 1
if (level === 2) {
level = 1
}
}
})
return {
level: level,
reason: `There are ${ breakings } BREAKING CHANGES and ${ features } features`,
}
},
}
conventional-commits-detector
🔍 Detect what commit message convention your repository is using.
const regex = {
// word(chars): chars
angular: /^(\w*)(?:\((.*)\))?: (.*)$/,
atom: /^(:.*?:) (.*)$/,
ember: /^\[(.*) (.*)] (.*)$/,
eslint: /^(\w*): (.*?)(?:\((.*)\))?$/,
jquery: /^(\w*): ([^(]*)$/,
jshint: /^\[\[(.*)]] (.*)$/,
}
commitizen
commitlint
standard-version(deprecated)
🏆 Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
standard-version
is deprecated. If you're a GitHub user, I recommend release-please as an alternative. I encourage folks to fork this repository and, if a fork gets popular, I will link to it in this README.
- Bump based git metadata.
- Generate changelog.
- Git tag.
- Monorepo
release-please
Release Please automates CHANGELOG generation, the creation of GitHub releases, and version bumps for your projects.
Rather than continuously releasing what's landed to your default branch, release-please maintains Release PRs
Usage:
- Github Action
- CLI
Supported:
- Monorepo
release-it
🚀 Generic CLI tool to automate versioning and package publishing related tasks: