diff --git a/.release-it.js b/.release-it.js new file mode 100644 index 00000000..f26ee6d7 --- /dev/null +++ b/.release-it.js @@ -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", + }, +}; diff --git a/package.json b/package.json index 5cfea07b..04e67c94 100644 --- a/package.json +++ b/package.json @@ -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 } }