Skip to content

Commit

Permalink
chore: migrate to release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Sep 21, 2024
1 parent 95ad1ed commit 0b069a5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 172 deletions.
170 changes: 0 additions & 170 deletions .github/labels.json

This file was deleted.

30 changes: 28 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"pretest": "npm run lint",
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"precompile": "npm run lint && npm run clean",
"precompile": "npm run lint",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "np",
"release": "release-it",
"version": "npm run build",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build",
Expand All @@ -41,6 +41,7 @@
"@japa/expect": "^3.0.2",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@release-it/conventional-changelog": "^8.0.2",
"@swc/core": "^1.7.26",
"@types/dedent": "^0.7.2",
"@types/node": "^20.16.5",
Expand All @@ -51,6 +52,7 @@
"expect": "^29.7.0",
"github-label-sync": "^2.3.1",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
Expand Down Expand Up @@ -96,6 +98,30 @@
"tests/**"
]
},
"release-it": {
"git": {
"requireCleanWorkingDir": true,
"requireUpstream": true,
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"push": true,
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true,
"skipChecks": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"tsup": {
"entry": [
"./index.ts",
Expand Down

0 comments on commit 0b069a5

Please sign in to comment.