@mezmoinc/release-config-core
v1.1.3
Published
Baseline semantic release configuration
Readme
@mezmoinc/release-config-core
Semantic Release shareable configuration for mezmo projects
Baseline shareable semantic-release configuration for mezmo node packages. This configuration pre-configures the commits parser and release notes.
The shareable configuration can be configured in package.json, or the semantic-release configuration file:
Installation
$ npm install --save-dev @mezmoinc/release-config-core// package.json
{
"scripts": {
"release": "npx semantic-release"
},
"release": {
"branches": ["main"],
"extends": "@mezmoinc/release-config-core"
}
}[!WARNING] NPM Publish This configuration does not publish npm packages by default
If npm package publishing is desired, it should be enabled in your local config.
// package.json
{
"relase": {
"branches": ["main"],
"npmPublish": true,
"extends": "@mezmoinc/release-config-core"
}
}Features
- Parse un-merged commits to determine next release version
- The version number is dictated by the commit with the highest semver level
- Increments the version of
package.json - Generates + updates Changelog
- Includes github issue links for defined issue Keys (
close,closes,closed,fix,fixes,fixed,resolve,resolves,resolved,ref) - Includes links to commit sha
- Organizes changes by type
- Includes github issue links for defined issue Keys (
- Commits standardized
releasecommit back upstream - Attaches any build artifacts placed in
./distto the release
Commit Types
| Commit Type | Changelog Category |
|-------------|--------------------------|
| build | Build System |
| chore | Chores |
| ci | Continuous Integration |
| doc | Documentation |
| feat | Features |
| fix | Bug Fixes |
| lib | Logic |
| lint | Lint |
| perf | Performance Improvements |
| pkg | Package |
| refactor | Code Refactoring |
| revert | Reverts |
| src | Logic |
| style | Style |
| test | Tests |
| <default> | Miscellaneous |
