Skip to content

Commit

Permalink
chore: switch to release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Mar 30, 2024
1 parent 2d2bac7 commit 0c9216d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions package.json
Expand Up @@ -68,7 +68,7 @@
"compile": "npm run clean && tsc",
"postcompile": "npm run copy:templates && npm run index:commands",
"build": "npm run compile",
"release": "np",
"release": "npx release-it",
"version": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
Expand Down Expand Up @@ -108,8 +108,8 @@
"get-port": "^7.1.0",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"np": "^10.0.2",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"sinon": "^17.0.1",
"supertest": "^6.3.4",
"test-console": "^2.0.0",
Expand Down Expand Up @@ -194,11 +194,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": [
Expand Down

0 comments on commit 0c9216d

Please sign in to comment.