You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

conventional-changelog-cli

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.2.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.2.0"></a>
# [1.2.0](https://github.com/conventional-changelog/conventional-changelog-cli/compare/v1.1.1...v1.2.0) (2016-05-08)
### Features
* **config:** should work with preset([a0449a2](https://github.com/conventional-changelog/conventional-changelog-cli/commit/a0449a2)), closes [#4](https://github.com/conventional-changelog/conventional-changelog-cli/issues/4)
<a name="1.1.1"></a>

@@ -2,0 +12,0 @@ ## [1.1.1](https://github.com/stevemao/conventional-changelog-cli/compare/v1.1.0...v1.1.1) (2016-02-14)

10

cli.js

@@ -46,4 +46,3 @@ #!/usr/bin/env node

' -n, --config A filepath of your config script',
' Example: https://github.com/stevemao/conventional-changelog-angular/blob/master/index.js',
' This value is ignored if preset is specified',
' Example of a config script: https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/index.js',
'',

@@ -68,2 +67,3 @@ ' -c, --context A filepath of a json that is used to define template variables'

var config;
var flags = cli.flags;

@@ -112,3 +112,5 @@ var infile = flags.infile;

if (flags.config) {
options.config = require(resolve(process.cwd(), flags.config));
config = require(resolve(process.cwd(), flags.config));
} else {
config = {};
}

@@ -120,3 +122,3 @@ } catch (err) {

var changelogStream = conventionalChangelog(options, templateContext)
var changelogStream = conventionalChangelog(options, templateContext, config.gitRawCommitsOpts, config.parserOpts, config.writerOpts)
.on('error', function (err) {

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

6

package.json
{
"name": "conventional-changelog-cli",
"version": "1.1.1",
"version": "1.2.0",
"description": "Generate a changelog from git metadata",
"homepage": "https://github.com/stevemao/conventional-changelog-cli",
"repository": "stevemao/conventional-changelog-cli",
"homepage": "https://github.com/conventional-changelog/conventional-changelog-cli",
"repository": "conventional-changelog/conventional-changelog-cli",
"author": {

@@ -8,0 +8,0 @@ "name": "Steve Mao",

@@ -9,2 +9,3 @@ # conventional-changelog-cli

## Quick start

@@ -32,3 +33,3 @@

To fully customize the tool, please checkout [conventional-changelog](https://github.com/ajoslin/conventional-changelog) and [conventional-changelog-core](https://github.com/stevemao/conventional-changelog-core) docs. You can find more details there.
To fully customize the tool, please checkout [conventional-changelog](https://github.com/ajoslin/conventional-changelog) and [conventional-changelog-core](https://github.com/conventional-changelog/conventional-changelog-core) docs. You can find more details there. **Note: `config` here can work with `preset`, which is different than `options.config` in conventional-changelog.**

@@ -87,7 +88,9 @@

- [conventional-changelog](https://github.com/ajoslin/conventional-changelog) - API of this module
- [conventional-github-releaser](https://github.com/stevemao/conventional-github-releaser) - Make a new GitHub release from git metadata
- [conventional-recommended-bump](https://github.com/stevemao/conventional-recommended-bump) - Get a recommended version bump based on conventional commits
- [conventional-commits-detector](https://github.com/stevemao/conventional-commits-detector) - Detect what commit message convention your repository is using
- [standard-changelog](https://github.com/conventional-changelog/standard-changelog) - Similar to this module but only with angular convention
- [conventional-github-releaser](https://github.com/conventional-changelog/conventional-github-releaser) - Make a new GitHub release from git metadata
- [conventional-recommended-bump](https://github.com/conventional-changelog/conventional-recommended-bump) - Get a recommended version bump based on conventional commits
- [conventional-commits-detector](https://github.com/conventional-changelog/conventional-commits-detector) - Detect what commit message convention your repository is using
- [commitizen](https://github.com/commitizen/cz-cli) - Simple commit conventions for internet citizens.
- [angular-precommit](https://github.com/ajoslin/angular-precommit) - Pre commit with angular conventions
- [conventional-changelog-lint](https://github.com/marionebl/conventional-changelog-lint) - Lint commit messages against your conventional-changelog preset

@@ -102,7 +105,7 @@

[npm-url]: https://npmjs.org/package/conventional-changelog-cli
[travis-image]: https://travis-ci.org/stevemao/conventional-changelog-cli.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/conventional-changelog-cli
[daviddm-image]: https://david-dm.org/stevemao/conventional-changelog-cli.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-cli
[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-cli/badge.svg
[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-cli
[travis-image]: https://travis-ci.org/conventional-changelog/conventional-changelog-cli.svg?branch=master
[travis-url]: https://travis-ci.org/conventional-changelog/conventional-changelog-cli
[daviddm-image]: https://david-dm.org/conventional-changelog/conventional-changelog-cli.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/conventional-changelog/conventional-changelog-cli
[coveralls-image]: https://coveralls.io/repos/conventional-changelog/conventional-changelog-cli/badge.svg
[coveralls-url]: https://coveralls.io/r/conventional-changelog/conventional-changelog-cli
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc