Skip to content

Commit

Permalink
Better config in generator package.json tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 1, 2023
1 parent ff647a3 commit b37d855
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
19 changes: 19 additions & 0 deletions packages/generator-volto/.release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"hooks": {
"after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}",
"after:release": "rm .changelog.draft"
},
"git": {
"changelog": "pipx run towncrier build --draft --yes --version 0.0.0",
"requireUpstream": false,
"requireCleanWorkingDir": false,
"commitMessage": "Release generate-volto ${version}",
"tagName": "generator-volto-${version}",
"tagAnnotation": "Release generator-volto ${version}"
},
"github": {
"release": true,
"releaseName": "@plone/generator-volto ${version}",
"releaseNotes": "cat .changelog.draft"
}
}
19 changes: 0 additions & 19 deletions packages/generator-volto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,6 @@
"trailingComma": "all",
"singleQuote": true
},
"release-it": {
"hooks": {
"after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}",
"after:release": "rm .changelog.draft"
},
"git": {
"changelog": "pipx run towncrier build --draft --yes --version 0.0.0",
"requireUpstream": false,
"requireCleanWorkingDir": false,
"commitMessage": "Release generate-volto ${version}",
"tagName": "generator-volto-${version}",
"tagAnnotation": "Release generator-volto ${version}"
},
"github": {
"release": true,
"releaseName": "@plone/generator-volto ${version}",
"releaseNotes": "cat .changelog.draft"
}
},
"jest": {
"testEnvironment": "node"
},
Expand Down

0 comments on commit b37d855

Please sign in to comment.