Skip to content

Commit

Permalink
chore: extract release-it config to own file
Browse files Browse the repository at this point in the history
  • Loading branch information
michelegera committed Jan 15, 2024
1 parent 607b3da commit 8b9c660
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
20 changes: 20 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
plugins: {
"@release-it-plugins/lerna-changelog": {
infile: "CHANGELOG.md",
launchEditor: true,
},
"@release-it-plugins/workspaces": true,
},
git: {
tagName: "v${version}",
commitMessage: "chore: release v${version}",
},
github: {
release: true,
},
npm: false,
hooks: {
"after:bump": "pnpm i --frozen-lockfile=false",
},
};
17 changes: 0 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,5 @@
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release-it": {
"plugins": {
"@release-it-plugins/lerna-changelog": {
"infile": "CHANGELOG.md",
"launchEditor": false
},
"@release-it-plugins/workspaces": true
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"tokenRef": "GITHUB_AUTH"
},
"npm": false
}
}

0 comments on commit 8b9c660

Please sign in to comment.