From e29ec357bda7231cc7984f9c84a5a31597b6e6f8 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Sat, 30 Mar 2024 16:13:43 +0100 Subject: [PATCH] chore: switch to release-it instead of np --- package.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a806342..1c0abc1 100644 --- a/package.json +++ b/package.json @@ -65,8 +65,8 @@ "eslint": "^8.57.0", "github-label-sync": "^2.3.1", "husky": "^9.0.11", - "np": "^10.0.2", "prettier": "^3.2.5", + "release-it": "^17.1.1", "ts-node": "^10.9.2", "tsup": "^8.0.2", "typescript": "^5.4.3" @@ -104,11 +104,17 @@ "access": "public", "tag": "latest" }, - "np": { - "message": "chore(release): %s", - "tag": "latest", - "branch": "main", - "anyBranch": false + "release-it": { + "git": { + "commitMessage": "chore(release): ${version}", + "tagAnnotation": "v${version}", + "tagName": "v${version}" + }, + "github": { + "release": true, + "releaseName": "v${version}", + "web": true + } }, "c8": { "reporter": [