Skip to content

Commit

Permalink
Merge pull request #491 from Turbo87/release-it
Browse files Browse the repository at this point in the history
Add `release-it` to simplify the release process
  • Loading branch information
Turbo87 authored Aug 7, 2021
2 parents 40bf579 + 59fa575 commit ab5d5c1
Show file tree
Hide file tree
Showing 3 changed files with 1,367 additions and 94 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,
},
};
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"lint": "eslint src --ext ts --format stylish",
"prepack": "yarn build",
"prettier": "prettier --write 'src/**/*.ts'",
"release": "release-it",
"test": "jest",
"test-ci": "yarn build && yarn test",
"watch": "yarn build -- --watch"
Expand All @@ -54,6 +55,8 @@
"jest": "^25.5.4",
"jest-runner-eslint": "^0.7.6",
"prettier": "1.19.1",
"release-it": "14.10.1",
"release-it-lerna-changelog": "3.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.1",
"typescript": "^3.9.2"
Expand Down
Loading

0 comments on commit ab5d5c1

Please sign in to comment.