Skip to content

Commit 5e52da7

Browse files
set up auto-changelog so we don't have to do it manually (#90)
set up auto-changelog so we don't have to do it manually
2 parents ac537b2 + 5fb3f15 commit 5e52da7

File tree

3 files changed

+1016
-29
lines changed

3 files changed

+1016
-29
lines changed

.auto-changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"template": "keepachangelog",
3+
"commitLimit": 0,
4+
"breakingPattern": "BREAKING CHANGE:"
5+
}

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"test-work": "yarn jest tests/rules/_work.test.ts",
5454
"verify": "yarn build && yarn lint && yarn build-tests && yarn test-compiled && rimraf build",
5555
"preversion": "yarn verify",
56-
"postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
56+
"postversion": "yarn auto-changelog -p && git add CHANGELOG.md && git commit -m \"docs(changelog): update changelog for v$npm_package_version\" && git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
5757
},
5858
"husky": {
5959
"hooks": {
@@ -78,12 +78,13 @@
7878
"@types/eslint": "^6.1.3",
7979
"@types/estree": "^0.0.42",
8080
"@types/glob": "^7.1.1",
81-
"@types/jest": "^24.0.25",
82-
"@types/node": "^13.1.6",
83-
"@typescript-eslint/eslint-plugin": "^2.15.0",
84-
"@typescript-eslint/parser": "^2.15.0",
85-
"babel-eslint": "^10.0.3",
86-
"codecov": "^3.6.1",
81+
"@types/jest": "^24.0.15",
82+
"@types/node": "^8.10.49",
83+
"@typescript-eslint/eslint-plugin": "^2.3.1",
84+
"@typescript-eslint/parser": "^2.3.1",
85+
"auto-changelog": "^1.16.2",
86+
"babel-eslint": "^10.0.2",
87+
"codecov": "^3.5.0",
8788
"dedent": "^0.7.0",
8889
"eslint": "^6.8.0",
8990
"eslint-config-prettier": "^6.9.0",

0 commit comments

Comments
 (0)