standard-version
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -5,2 +5,17 @@ # Change Log | ||
<a name="2.4.0"></a> | ||
# [2.4.0](https://github.com/conventional-changelog/standard-version/compare/v2.3.1...v2.4.0) (2016-07-13) | ||
### Bug Fixes | ||
* **index.js:** use blue figures.info for last checkpoint ([#64](https://github.com/conventional-changelog/standard-version/issues/64)) ([e600b42](https://github.com/conventional-changelog/standard-version/commit/e600b42)) | ||
### Features | ||
* **changelogStream:** use more default opts ([#67](https://github.com/conventional-changelog/standard-version/issues/67)) ([3e0aa84](https://github.com/conventional-changelog/standard-version/commit/3e0aa84)) | ||
<a name="2.3.1"></a> | ||
@@ -7,0 +22,0 @@ ## [2.3.1](https://github.com/conventional-changelog/standard-version/compare/v2.3.0...v2.3.1) (2016-06-15) |
16
index.js
@@ -73,3 +73,3 @@ #!/usr/bin/env node | ||
} else { | ||
console.log(chalk.red(figures.cross) + ' skip version bump on first release') | ||
checkpoint('skip version bump on first release', [], chalk.red(figures.cross)) | ||
} | ||
@@ -94,7 +94,3 @@ | ||
var changelogStream = conventionalChangelog({ | ||
preset: 'angular', | ||
outputUnreleased: true, | ||
pkg: { | ||
path: path.resolve(process.cwd(), './package.json') | ||
} | ||
preset: 'angular' | ||
}) | ||
@@ -164,5 +160,5 @@ .on('error', function (err) { | ||
} else { | ||
checkpoint('Run `%s` to publish.', [ | ||
checkpoint('Run `%s` to publish', [ | ||
'git push --follow-tags origin master; npm publish' | ||
]) | ||
], chalk.blue(figures.info)) | ||
} | ||
@@ -184,6 +180,6 @@ }) | ||
function checkpoint (msg, args) { | ||
console.info(chalk.green(figures.tick) + ' ' + util.format.apply(util, [msg].concat(args.map(function (arg) { | ||
function checkpoint (msg, args, figure) { | ||
console.info((figure || chalk.green(figures.tick)) + ' ' + util.format.apply(util, [msg].concat(args.map(function (arg) { | ||
return chalk.bold(arg) | ||
})))) | ||
}; |
{ | ||
"name": "standard-version", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "replacement for `npm version` with automatic CHANGELOG generation", | ||
@@ -34,3 +34,2 @@ "bin": "index.js", | ||
"conventional-changelog": "^1.1.0", | ||
"conventional-changelog-angular": "^1.1.0", | ||
"conventional-recommended-bump": "^0.2.1", | ||
@@ -47,3 +46,3 @@ "figures": "^1.5.0", | ||
"mock-git": "^1.0.2", | ||
"nyc": "^6.4.2", | ||
"nyc": "^7.0.0", | ||
"shelljs": "^0.7.0", | ||
@@ -50,0 +49,0 @@ "standard": "^7.0.1" |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
27255
7
9
1
323