Skip to content

Commit

Permalink
chore: migrate to release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Apr 10, 2024
1 parent 291abf8 commit bf4ee4c
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 @@ -33,7 +33,7 @@
"prepublishOnly": "npm run build",
"pretest": "npm run lint",
"quick:test": "node --enable-source-maps --loader=ts-node/esm bin/test.ts",
"release": "np",
"release": "npx release-it",
"test": "c8 npm run quick:test",
"typecheck": "tsc --noEmit",
"version": "npm run build"
Expand All @@ -59,8 +59,8 @@
"copyfiles": "^2.4.1",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"np": "^10.0.2",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
},
Expand Down Expand Up @@ -92,11 +92,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 bf4ee4c

Please sign in to comment.