conventional-changelog-cli
Advanced tools
Comparing version 2.0.27 to 2.0.28
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.28](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.0.27...conventional-changelog-cli@2.0.28) (2019-11-14) | ||
### Bug Fixes | ||
* add types for cli flags ([#551](https://github.com/conventional-changelog/conventional-changelog/issues/551)) ([bf1d64a](https://github.com/conventional-changelog/conventional-changelog/commit/bf1d64aeaf8f262d4b2beec02d2aebb78df7343b)) | ||
## [2.0.27](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.0.26...conventional-changelog-cli@2.0.27) (2019-11-07) | ||
@@ -8,0 +19,0 @@ |
44
cli.js
@@ -46,3 +46,3 @@ #!/usr/bin/env node | ||
-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 | ||
Example of a config script: https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-cli/test/fixtures/config.js | ||
@@ -54,41 +54,55 @@ -c, --context A filepath of a json that is used to define template variables | ||
`, { | ||
booleanDefault: undefined, | ||
flags: { | ||
infile: { | ||
alias: `i` | ||
alias: 'i', | ||
type: 'string' | ||
}, | ||
outfile: { | ||
alias: `o` | ||
alias: 'o', | ||
type: 'string' | ||
}, | ||
'same-file': { | ||
alias: `s` | ||
alias: 's', | ||
type: 'boolean' | ||
}, | ||
preset: { | ||
alias: `p` | ||
alias: 'p', | ||
type: 'string' | ||
}, | ||
pkg: { | ||
alias: `k` | ||
alias: 'k', | ||
type: 'string' | ||
}, | ||
append: { | ||
alias: `a` | ||
alias: 'a', | ||
type: 'boolean' | ||
}, | ||
'release-count': { | ||
alias: `r` | ||
alias: 'r', | ||
type: 'number' | ||
}, | ||
'output-unreleased': { | ||
alias: `u` | ||
alias: 'u', | ||
type: 'boolean' | ||
}, | ||
verbose: { | ||
alias: `v` | ||
alias: 'v', | ||
type: 'boolean' | ||
}, | ||
config: { | ||
alias: `n` | ||
alias: 'n', | ||
type: 'string' | ||
}, | ||
context: { | ||
alias: `c` | ||
alias: 'c', | ||
type: 'string' | ||
}, | ||
'lerna-package': { | ||
alias: `l` | ||
alias: 'l', | ||
type: 'string' | ||
}, | ||
'tag-prefix': { | ||
alias: `t` | ||
alias: 't', | ||
type: 'string' | ||
} | ||
@@ -117,3 +131,3 @@ } | ||
var options = _.omit({ | ||
var options = _.omitBy({ | ||
preset: flags.preset, | ||
@@ -120,0 +134,0 @@ pkg: { |
{ | ||
"name": "conventional-changelog-cli", | ||
"version": "2.0.27", | ||
"version": "2.0.28", | ||
"description": "Generate a changelog from git metadata", | ||
@@ -37,5 +37,5 @@ "bugs": { | ||
"add-stream": "^1.0.0", | ||
"conventional-changelog": "^3.1.14", | ||
"conventional-changelog": "^3.1.15", | ||
"lodash": "^4.17.15", | ||
"meow": "^4.0.0", | ||
"meow": "^5.0.0", | ||
"tempfile": "^3.0.0" | ||
@@ -47,3 +47,3 @@ }, | ||
"license": "MIT", | ||
"gitHead": "741e90744cdb58e82e71feb36018047d7baca768" | ||
"gitHead": "79217815a7ce5f3d3f833961ce9a14bd454e5789" | ||
} |
31833
209
+ Addedmeow@5.0.0(transitive)
+ Addedyargs-parser@10.1.0(transitive)
- Removedmeow@4.0.1(transitive)
Updatedmeow@^5.0.0