cz-mapbox-changelog
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ # 68c834b6d7e5588254b585c06b43959cb54b3e4c | ||
* Add commit title, body and tag inputs to the commitizen template | ||
* Add commit title, body and tag inputs to the commitizen template | ||
@@ -12,3 +12,23 @@ # 420ae8b94b5d9893d12973a16fabccf0dae2743e | ||
* Introducing a simple git log parser bin to help create changelogsg | ||
* Introducing a simple git log parser bin to help create changelogsg | ||
# 76a85ddf41f63ce6b7d86f1db4bd876ebc344213 | ||
## BUG | ||
* use h3 instead of h2s for categories | ||
## INTERNAL | ||
* Dog fooding with a sha based versioning system | ||
# 55223f1df5156399208385cf4e3cfab4709b8de7 | ||
### BUG | ||
* Remove tabs in change log formater | ||
### FEATURE | ||
* Provide way to filter out categories and customize header size | ||
{ | ||
"name": "cz-mapbox-changelog", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "A commitizen plugin and git log parsing tool to create readable changelogs", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"new-change": "OLD=$(cat last-version) && NEW=$(git rev-parse HEAD) && echo '# '$NEW'\n' >> changelog.txt && git log $OLD..$NEW | ./bin/parse-git-log >> changelog.txt && echo $NEW > last-version" | ||
"new-change": "OLD=$(cat last-version) && NEW=$(git rev-parse HEAD) && echo '# '$NEW'\n' >> changelog.txt && git log $OLD..$NEW | ./bin/parse-git-log --filter-out=UNCATEGORIZED >> changelog.txt && echo $NEW > last-version" | ||
}, | ||
@@ -16,4 +16,8 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"word-wrap": "^1.1.0" | ||
"word-wrap": "^1.1.0", | ||
"yargs": "^3.29.0" | ||
}, | ||
"bin": { | ||
"parse-git-log": "./bin/parse-git-log" | ||
} | ||
} |
@@ -38,3 +38,7 @@ # Commitizen Mapbox Changelog | ||
`git log | ./node_modules/cz-mapbox-changelog/bin/parse-git-log >> changelog.txt` | ||
`git log | parse-git-log >> changelog.txt` | ||
### ARGS | ||
* --filter-out=cat1,cat2: will exclude the provided categories from its output | ||
* --header-size=2: sets the number of # used for category headers. Default 3. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6571
16.2%44
10%2
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added