Skip to content

Commit

Permalink
release: Enable github releases and review release hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjD90 committed Oct 12, 2023
1 parent 80af634 commit abc21a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"tagAnnotation": "release: V ${version}",
"push": true
},
"kooks": {
"before:init": ["npm run lint", "npm run test"],
"after:release": "npm run post:release"
"hooks": {
"before:init": ["npm run build", "npm run lint", "npm run test"],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"npm": {
"publish": true
},
"github": {
"release": false
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@
"test": "export NODE_ENV=test && TS_NODE_FILES=true nyc ava --no-worker-threads --verbose --color --serial && nyc report --reporter=html",
"test:one": "export NODE_ENV=test && TS_NODE_FILES=true ava --no-worker-threads --verbose --color --serial",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov -f coverage.lcov",
"preversion": "npm test",
"prepublishOnly": "npm run build",
"release": "release-it",
"release:pre-release": "release-it --preRelease",
"release:dry": "release-it --dry-run",
"benchmark": "node benchmark.js",
"benchmark:debug": "node --inspect-brk benchmark.js"
"release:dry": "release-it --dry-run"
},
"husky": {
"hooks": {
Expand All @@ -41,7 +37,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/neo9/n9-node-routing.git"
"url": "https://github.com/neo9/n9-mongodb-client.git"
},
"homepage": "https://github.com/neo9/n9-mongodb-client#n9-mongodb-client",
"tags": [
Expand Down

0 comments on commit abc21a7

Please sign in to comment.