Socket
Socket
Sign inDemoInstall

conventional-changelog-cli

Package Overview
Dependencies
5
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.3.0

15

cli.js

@@ -48,3 +48,5 @@ #!/usr/bin/env node

'',
' -c, --context A filepath of a json that is used to define template variables'
' -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'
]

@@ -63,3 +65,4 @@ }, {

n: 'config',
c: 'context'
c: 'context',
l: 'lernaPackage'
}

@@ -94,3 +97,4 @@ });

releaseCount: releaseCount,
outputUnreleased: flags.outputUnreleased
outputUnreleased: flags.outputUnreleased,
lernaPackage: flags.lernaPackage
}, _.isUndefined);

@@ -122,3 +126,6 @@

var changelogStream = conventionalChangelog(options, templateContext, config.gitRawCommitsOpts, config.parserOpts, config.writerOpts)
var gitRawCommitsOpts = _.merge({}, config.gitRawCommitsOpts || {});
if (flags.commitPath) gitRawCommitsOpts.path = flags.commitPath;
var changelogStream = conventionalChangelog(options, templateContext, gitRawCommitsOpts, config.parserOpts, config.writerOpts)
.on('error', function (err) {

@@ -125,0 +132,0 @@ if (flags.verbose) {

{
"name": "conventional-changelog-cli",
"version": "1.2.1",
"version": "1.3.0",
"description": "Generate a changelog from git metadata",

@@ -36,3 +36,3 @@ "homepage": "https://github.com/conventional-changelog/conventional-changelog-cli",

"add-stream": "^1.0.0",
"conventional-changelog": "^1.1.1",
"conventional-changelog": "^1.1.2",
"lodash": "^4.1.0",

@@ -39,0 +39,0 @@ "meow": "^3.7.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc