From 6824f3fb557d0fa8c26194555d9fcd32b1835f96 Mon Sep 17 00:00:00 2001 From: Alexis GEORGES Date: Fri, 9 Feb 2024 11:55:42 +0100 Subject: [PATCH 1/2] style(release): reformat thanks to `prettier` .release-it.json file --- .release-it.json | 78 ++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.release-it.json b/.release-it.json index e41f58af..ec01fc69 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,41 +1,41 @@ { - "ci": false, - "dry-run": false, - "verbose": false, - "force": false, - "disable-metrics": true, - "hooks": { - "after:bump": "npm run generate:changelog" - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular" - } - }, - "git": { - "changelog": "npm run generate:changelog-recent", - "requireCleanWorkingDir": true, - "requireUpstream": true, - "requireCommits": false, - "commit": true, - "commitMessage": "chore(release): release ${version}", - "commitArgs": "", - "tag": true, - "tagName": "${version}", - "tagAnnotation": "${version}", - "push": true, - "pushArgs": ["--follow-tags"], - "pushRepo": "origin" - }, - "npm": { - "publish": false - }, - "github": { - "release": true, - "releaseName": "Release ${version}", - "draft": false, - "tokenRef": "GITHUB_TOKEN", - "assets": null, - "host": null - } + "ci": false, + "dry-run": false, + "verbose": false, + "force": false, + "disable-metrics": true, + "hooks": { + "after:bump": "npm run generate:changelog" + }, + "plugins": { + "@release-it/conventional-changelog": { + "preset": "angular" + } + }, + "git": { + "changelog": "npm run generate:changelog-recent", + "requireCleanWorkingDir": true, + "requireUpstream": true, + "requireCommits": false, + "commit": true, + "commitMessage": "chore(release): release ${version}", + "commitArgs": "", + "tag": true, + "tagName": "${version}", + "tagAnnotation": "${version}", + "push": true, + "pushArgs": ["--follow-tags"], + "pushRepo": "origin" + }, + "npm": { + "publish": false + }, + "github": { + "release": true, + "releaseName": "Release ${version}", + "draft": false, + "tokenRef": "GITHUB_TOKEN", + "assets": null, + "host": null + } } From a8256f3fb9ac69221436d18dbe2896a274de45df Mon Sep 17 00:00:00 2001 From: Alexis Georges Date: Fri, 9 Feb 2024 11:47:01 +0100 Subject: [PATCH 2/2] fix(release): fix `@release-it/conventional-changelog` usage in .release-it.json --- .release-it.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.release-it.json b/.release-it.json index ec01fc69..74dfa8b0 100644 --- a/.release-it.json +++ b/.release-it.json @@ -9,7 +9,9 @@ }, "plugins": { "@release-it/conventional-changelog": { - "preset": "angular" + "preset": { + "name": "angular" + } } }, "git": {