Skip to content

Commit

Permalink
chore: move to release-it instead of np
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jun 1, 2024
1 parent 793c0a8 commit 3ab65e3
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"postcompile": "npm run build:schema && npm run copy:files",
"build": "npm run compile",
"release": "np",
"release": "release-it",
"version": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
Expand Down Expand Up @@ -77,8 +77,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.3.0",
"ts-json-schema-generator": "^1.5.0",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
Expand All @@ -100,12 +100,6 @@
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
Expand All @@ -132,5 +126,22 @@
"dts": false,
"sourcemap": true,
"target": "esnext"
},
"release-it": {
"git": {
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"tagName": "v${version}"
},
"hooks": {
"before:init": [
"npm test"
]
},
"github": {
"release": true,
"releaseName": "v${version}",
"web": true
}
}
}

0 comments on commit 3ab65e3

Please sign in to comment.