Skip to content

Commit

Permalink
Merge pull request #491 from simplabs/release-it
Browse files Browse the repository at this point in the history
Add release-it configuration to simplify releases
  • Loading branch information
Mikek2252 authored Apr 14, 2022
2 parents 8242944 + 9955977 commit f24ca80
Show file tree
Hide file tree
Showing 3 changed files with 1,597 additions and 45 deletions.
19 changes: 19 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
plugins: {
'release-it-lerna-changelog': {
infile: 'CHANGELOG.md',
},
},
git: {
commitMessage: 'v${version}',
tagName: 'v${version}',
},
github: {
release: true,
releaseName: 'v${version}',
tokenRef: 'GITHUB_AUTH',
},
npm: {
publish: false,
},
};
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"scripts": {
"changelog": "lerna-changelog",
"release": "release-it",
"lint": "eslint . --cache",
"test": "jest"
},
Expand All @@ -36,7 +37,9 @@
"eslint-plugin-prettier": "4.0.0",
"jest": "27.5.1",
"lerna-changelog": "2.2.0",
"prettier": "2.6.2"
"prettier": "2.6.2",
"release-it": "^14.14.0",
"release-it-lerna-changelog": "^4.0.1"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
Expand Down
Loading

0 comments on commit f24ca80

Please sign in to comment.