From fbfb69c314f966e85b36082a2b2847491281c9d5 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Sun, 15 Dec 2024 15:18:20 +0100 Subject: [PATCH] ci: update release-it config --- package.json | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 172456d..cb0f102 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "@japa/expect-type": "^2.0.2", "@japa/file-system": "^2.3.0", "@japa/runner": "^3.1.4", + "@release-it/conventional-changelog": "^9.0.3", "@swc/core": "^1.4.16", "@types/node": "^20.12.7", "c8": "^9.1.0", @@ -92,19 +93,26 @@ }, "release-it": { "git": { + "requireCleanWorkingDir": true, + "requireUpstream": true, "commitMessage": "chore(release): ${version}", "tagAnnotation": "v${version}", + "push": true, "tagName": "v${version}" }, - "hooks": { - "before:init": [ - "npm test" - ] - }, "github": { - "release": true, - "releaseName": "v${version}", - "web": true + "release": true + }, + "npm": { + "publish": true, + "skipChecks": true + }, + "plugins": { + "@release-it/conventional-changelog": { + "preset": { + "name": "angular" + } + } } }, "c8": {