Skip to content

Commit

Permalink
chore(changelog): add auto log generator
Browse files Browse the repository at this point in the history
Add auto change log generator
  • Loading branch information
khaledosama999 committed Feb 22, 2021
1 parent eb5df8c commit 57fc1eb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
Empty file added CHANGELOG.md
Empty file.
29 changes: 29 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "priority-queue",
"version": "1.0.0",
"version": "0.0.0",
"description": "A package for priority queue (heap tree) data structure",
"main": "./build/index.js",
"private": "false",
Expand All @@ -13,7 +13,9 @@
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"lint": "eslint",
"changelog:generate": "cz --bump changelog"
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"
},
"keywords": [
"data",
Expand All @@ -33,6 +35,7 @@
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"generate-changelog": "^1.8.0",
"husky": "^5.1.1",
"pinst": "^2.1.6"
},
Expand Down

0 comments on commit 57fc1eb

Please sign in to comment.