Semantic release custom preset
Custom preset for semantic-release based on :
- semantic-release-gitmoji : analyze commits and generate release notes
- @semantic-release/github : create Github release
- @semantic-release/npm : publish to NPM
If installed as dev dependency :
Yarn :
yarn add semantic-release-kroms --dev
NPM :
npm install semantic-release-kroms --save-dev
Add a .releaserc
at the root of your project with :
{
"extends": ["semantic-release-kroms"]
}
Use in your favorite CI to trigger semantic release, example can be found in the .travis.yml
of this repository (this plugin uses itself to trigger its release too).
This package's emojis list (based on gitmoji) can be updated easily by calling :
yarn generate
Romain KELIFA - MIT - 2019-2021-2021-2021-2021-2021-2021-2021