Skip to content

Commit

Permalink
chore: replace np with release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Apr 22, 2024
1 parent a530f8f commit f1dcaa8
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 @@ -27,7 +27,7 @@
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "np",
"release": "release-it",
"version": "npm run build",
"format": "prettier --write .",
"prepublishOnly": "npm run build",
Expand Down Expand Up @@ -65,9 +65,9 @@
"fs-extra": "^11.2.0",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"np": "^10.0.5",
"prettier": "^3.2.5",
"reflect-metadata": "^0.2.2",
"release-it": "^17.2.0",
"supertest": "^6.3.4",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
Expand Down Expand Up @@ -114,12 +114,6 @@
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
Expand Down Expand Up @@ -148,5 +142,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 f1dcaa8

Please sign in to comment.