From 2933284dcfadd25637a84024d5ac4b2a6f98fcb8 Mon Sep 17 00:00:00 2001 From: Corentin PRUNE Date: Thu, 7 Dec 2023 14:55:26 +0100 Subject: [PATCH] chore: extract release-it config to own file --- .release-it.js | 17 +++++++++++++++++ package.json | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 .release-it.js diff --git a/.release-it.js b/.release-it.js new file mode 100644 index 00000000..5a861df9 --- /dev/null +++ b/.release-it.js @@ -0,0 +1,17 @@ +module.exports = { + 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, + }; \ No newline at end of file diff --git a/package.json b/package.json index 764d9690..57267b91 100644 --- a/package.json +++ b/package.json @@ -39,22 +39,5 @@ "packageManager": "pnpm@8.6.5", "publishConfig": { "registry": "https://registry.npmjs.org" - }, - "release-it": { - "plugins": { - "@release-it-plugins/lerna-changelog": { - "infile": "CHANGELOG.md", - "launchEditor": true - }, - "@release-it-plugins/workspaces": true - }, - "git": { - "tagName": "v${version}" - }, - "github": { - "release": true, - "tokenRef": "GITHUB_AUTH" - }, - "npm": false } }