Skip to content

Commit 3d75537

Browse files
committed
chore: migrate to release-it
1 parent 5589087 commit 3d75537

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

package.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"precompile": "npm run lint && npm run clean",
2727
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
2828
"build": "npm run compile",
29-
"release": "np",
29+
"release": "npx release-it",
3030
"version": "npm run build",
3131
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/assembler",
3232
"format": "prettier --write .",
@@ -110,11 +110,17 @@
110110
"access": "public",
111111
"tag": "latest"
112112
},
113-
"np": {
114-
"message": "chore(release): %s",
115-
"tag": "latest",
116-
"branch": "main",
117-
"anyBranch": false
113+
"release-it": {
114+
"git": {
115+
"commitMessage": "chore(release): ${version}",
116+
"tagAnnotation": "v${version}",
117+
"tagName": "v${version}"
118+
},
119+
"github": {
120+
"release": true,
121+
"releaseName": "v${version}",
122+
"web": true
123+
}
118124
},
119125
"c8": {
120126
"reporter": [

0 commit comments

Comments
 (0)