da270891fb
* feat: add release-it * Update package.json --------- Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com> Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
28 lines
742 B
JSON
28 lines
742 B
JSON
{
|
|
"git": {
|
|
"commitMessage": "chore: release v${version}",
|
|
"requireCleanWorkingDir": true,
|
|
"tagAnnotation": "Release v${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular",
|
|
"infile": "CHANGELOG.md"
|
|
}
|
|
},
|
|
"hooks": {
|
|
"before:init": [
|
|
"rm -Rf lib",
|
|
"yarn install --frozen-lockfile --non-interactive --production=false",
|
|
"yarn run lint",
|
|
"yarn run build"
|
|
],
|
|
"after:release": "echo Successfully released ${name} v${version} from repository ${repo.repository}."
|
|
},
|
|
"npm": {
|
|
"skipChecks": false
|
|
}
|
|
}
|