Skip to content

Commit

Permalink
Adds release-it-stuff (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgejecook authored Jun 1, 2023
1 parent 7d14a95 commit a9949b8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
19 changes: 19 additions & 0 deletions bsc-plugin/.release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"git": {
"requireBranch": "master",
"commitMessage": "chore: release v${version}"
},
"hooks": {
"before:init": [
"git pull",
"npm run build"
],
"after:bump": "npx auto-changelog -p"
},
"github": {
"release": true
},
"npm": {
"publish": true
}
}
9 changes: 8 additions & 1 deletion bsc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@types/node": "^14.18.41",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"cz-conventional-changelog": "^3.3.0",
"brighterscript": "^0.61.3",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
Expand All @@ -38,6 +39,7 @@
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"source-map-support": "^0.5.13",
"release-it": "^15.10.3",
"trim-whitespace": "^1.3.3",
"ts-node": "^9.0.0",
"typescript": "^4.9.5"
Expand Down Expand Up @@ -109,5 +111,10 @@
"watchExtensions": [
"ts"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}

0 comments on commit a9949b8

Please sign in to comment.