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 Apr 7, 2024
1 parent b57d323 commit 49e67fa
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"clean": "del-cli build",
"compile": "npm run lint && npm run clean && tsc && copyfiles templates/* build",
"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 @@ -54,8 +54,8 @@
"eslint": "^8.56.0",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"np": "^9.2.0",
"prettier": "^3.1.1",
"release-it": "^17.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
Expand Down Expand Up @@ -93,11 +93,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 49e67fa

Please sign in to comment.