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 1258716 commit e55ece8
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 @@
"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 @@ -63,8 +63,8 @@
"eslint": "^8.56.0",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"np": "^10.0.5",
"prettier": "^3.2.5",
"release-it": "^17.2.0",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
Expand Down Expand Up @@ -95,12 +95,6 @@
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
Expand All @@ -126,5 +120,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 e55ece8

Please sign in to comment.