conventional-changelog-cli
Advanced tools
Comparing version 1.3.14 to 1.3.15
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="1.3.15"></a> | ||
## [1.3.15](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@1.3.14...conventional-changelog-cli@1.3.15) (2018-02-24) | ||
**Note:** Version bump only for package conventional-changelog-cli | ||
<a name="1.3.14"></a> | ||
@@ -8,0 +16,0 @@ ## [1.3.14](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@1.3.13...conventional-changelog-cli@1.3.14) (2018-02-20) |
129
cli.js
@@ -12,57 +12,76 @@ #!/usr/bin/env node | ||
var cli = meow({ | ||
help: [ | ||
'Usage', | ||
' conventional-changelog', | ||
'', | ||
'Example', | ||
' conventional-changelog -i CHANGELOG.md --same-file', | ||
'', | ||
'Options', | ||
' -i, --infile Read the CHANGELOG from this file', | ||
'', | ||
' -o, --outfile Write the CHANGELOG to this file', | ||
' If unspecified, it prints to stdout', | ||
'', | ||
' -s, --same-file Outputting to the infile so you don\'t need to specify the same file as outfile', | ||
'', | ||
' -p, --preset Name of the preset you want to use. Must be one of the following:', | ||
' angular, atom, codemirror, ember, eslint, express, jquery, jscs or jshint', | ||
'', | ||
' -k, --pkg A filepath of where your package.json is located', | ||
' Default is the closest package.json from cwd', | ||
'', | ||
' -a, --append Should the newer release be appended to the older release', | ||
' Default: false', | ||
'', | ||
' -r, --release-count How many releases to be generated from the latest', | ||
' If 0, the whole changelog will be regenerated and the outfile will be overwritten', | ||
' Default: 1', | ||
'', | ||
' -u, --output-unreleased Output unreleased changelog', | ||
'', | ||
' -v, --verbose Verbose output. Use this for debugging', | ||
' Default: false', | ||
'', | ||
' -n, --config A filepath of your config script', | ||
' Example of a config script: https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/index.js', | ||
'', | ||
' -c, --context A filepath of a json that is used to define template variables', | ||
' -l, --lerna-package Generate a changelog for a specific lerna package (:pkg-name@1.0.0)', | ||
' --commit-path Generate a changelog scoped to a specific directory' | ||
] | ||
}, { | ||
alias: { | ||
i: 'infile', | ||
o: 'outfile', | ||
s: 'sameFile', | ||
p: 'preset', | ||
k: 'pkg', | ||
a: 'append', | ||
r: 'releaseCount', | ||
u: 'outputUnreleased', | ||
v: 'verbose', | ||
n: 'config', | ||
c: 'context', | ||
l: 'lernaPackage' | ||
var cli = meow(` | ||
Usage | ||
conventional-changelog | ||
Example | ||
conventional-changelog -i CHANGELOG.md --same-file | ||
Options | ||
-i, --infile Read the CHANGELOG from this file | ||
-o, --outfile Write the CHANGELOG to this file | ||
If unspecified, it prints to stdout | ||
-s, --same-file Outputting to the infile so you don\'t need to specify the same file as outfile | ||
-p, --preset Name of the preset you want to use. Must be one of the following: | ||
angular, atom, codemirror, ember, eslint, express, jquery, jscs or jshint | ||
-k, --pkg A filepath of where your package.json is located | ||
Default is the closest package.json from cwd | ||
-a, --append Should the newer release be appended to the older release | ||
Default: false | ||
-r, --release-count How many releases to be generated from the latest | ||
If 0, the whole changelog will be regenerated and the outfile will be overwritten | ||
Default: 1 | ||
-u, --output-unreleased Output unreleased changelog | ||
-v, --verbose Verbose output. Use this for debugging | ||
Default: false | ||
-n, --config A filepath of your config script | ||
Example of a config script: https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/index.js | ||
-c, --context A filepath of a json that is used to define template variables | ||
-l, --lerna-package Generate a changelog for a specific lerna package (:pkg-name@1.0.0) | ||
--commit-path Generate a changelog scoped to a specific directory | ||
`, { | ||
flags: { | ||
infile: { | ||
alias: `i` | ||
}, | ||
outfile: { | ||
alias: `o` | ||
}, | ||
'same-file': { | ||
alias: `s` | ||
}, | ||
preset: { | ||
alias: `p` | ||
}, | ||
pkg: { | ||
alias: `k` | ||
}, | ||
append: { | ||
alias: `a` | ||
}, | ||
'release-count': { | ||
alias: `r` | ||
}, | ||
'output-unreleased': { | ||
alias: `u` | ||
}, | ||
verbose: { | ||
alias: `v` | ||
}, | ||
config: { | ||
alias: `n` | ||
}, | ||
'lerna-package': { | ||
alias: `l` | ||
} | ||
} | ||
@@ -69,0 +88,0 @@ }); |
{ | ||
"name": "conventional-changelog-cli", | ||
"version": "1.3.14", | ||
"version": "1.3.15", | ||
"description": "Generate a changelog from git metadata", | ||
@@ -33,15 +33,11 @@ "bugs": { | ||
"devDependencies": { | ||
"chai": "^3.4.1", | ||
"concat-stream": "^1.5.1", | ||
"jscs": "^2.7.0", | ||
"jshint": "^2.8.0", | ||
"mocha": "*", | ||
"concat-stream": "^1.6.0", | ||
"q": "^1.5.1", | ||
"shelljs": "^0.6.0" | ||
"shelljs": "^0.8.0" | ||
}, | ||
"dependencies": { | ||
"add-stream": "^1.0.0", | ||
"conventional-changelog": "^1.1.16", | ||
"lodash": "^4.1.0", | ||
"meow": "^3.7.0", | ||
"conventional-changelog": "^1.1.17", | ||
"lodash": "^4.2.1", | ||
"meow": "^4.0.0", | ||
"tempfile": "^1.1.1" | ||
@@ -48,0 +44,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20709
3
186
Updatedlodash@^4.2.1
Updatedmeow@^4.0.0