conventional-changelog
Advanced tools
Comparing version 3.0.6 to 3.1.1
@@ -6,2 +6,22 @@ # Change Log | ||
## [3.1.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog@3.1.0...conventional-changelog@3.1.1) (2019-04-11) | ||
**Note:** Version bump only for package conventional-changelog | ||
# [3.1.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog@3.0.6...conventional-changelog@3.1.0) (2019-04-10) | ||
### Features | ||
* conventionalcommits preset, preMajor config option ([#434](https://github.com/conventional-changelog/conventional-changelog/issues/434)) ([dde12fe](https://github.com/conventional-changelog/conventional-changelog/commit/dde12fe)) | ||
* creating highly configurable preset, based on conventionalcommits.org ([#421](https://github.com/conventional-changelog/conventional-changelog/issues/421)) ([f2fb240](https://github.com/conventional-changelog/conventional-changelog/commit/f2fb240)) | ||
## [3.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog@3.0.5...conventional-changelog@3.0.6) (2019-02-14) | ||
@@ -8,0 +28,0 @@ |
10
index.js
@@ -11,5 +11,11 @@ 'use strict' | ||
try { | ||
options.config = conventionalChangelogPresetLoader(options.preset.toLowerCase()) | ||
options.config = conventionalChangelogPresetLoader(options.preset) | ||
} catch (err) { | ||
options.warn('Preset: "' + options.preset + '" does not exist') | ||
if (typeof options.preset === 'object') { | ||
options.warn(`Preset: "${options.preset.name}" ${err.message}`) | ||
} else if (typeof options.preset === 'string') { | ||
options.warn(`Preset: "${options.preset}" ${err.message}`) | ||
} else { | ||
options.warn(`Preset: ${err.message}`) | ||
} | ||
} | ||
@@ -16,0 +22,0 @@ } |
{ | ||
"name": "conventional-changelog", | ||
"version": "3.0.6", | ||
"version": "3.1.1", | ||
"description": "Generate a changelog from git metadata", | ||
@@ -41,9 +41,10 @@ "repository": { | ||
"conventional-changelog-codemirror": "^2.0.1", | ||
"conventional-changelog-core": "^3.1.6", | ||
"conventional-changelog-conventionalcommits": "^1.1.1", | ||
"conventional-changelog-core": "^3.2.0", | ||
"conventional-changelog-ember": "^2.0.2", | ||
"conventional-changelog-eslint": "^3.0.1", | ||
"conventional-changelog-eslint": "^3.0.2", | ||
"conventional-changelog-express": "^2.0.1", | ||
"conventional-changelog-jquery": "^3.0.4", | ||
"conventional-changelog-jshint": "^2.0.1", | ||
"conventional-changelog-preset-loader": "^2.0.2" | ||
"conventional-changelog-preset-loader": "^2.1.1" | ||
}, | ||
@@ -53,3 +54,3 @@ "scripts": { | ||
}, | ||
"gitHead": "97ad96fe893bd5b40ec52e24fe46f4f9cd357a1a" | ||
"gitHead": "c0314ad9cd0b30d456a65385b70988cd5f4b3410" | ||
} |
@@ -57,3 +57,2 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url] | ||
## Related | ||
@@ -60,0 +59,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
35637
21
11
80
+ Addedcompare-func@1.3.4(transitive)
+ Addedconventional-changelog-conventionalcommits@1.1.2(transitive)
+ Addeddot-prop@3.0.0(transitive)
+ Addedis-obj@1.0.1(transitive)