@lerna/conventional-commits
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.12.0](https://github.com/lerna/lerna/compare/v3.11.1...v3.12.0) (2019-02-14) | ||
### Bug Fixes | ||
* **conventional-commits:** Improve logging during preset resolution ([d4a16a5](https://github.com/lerna/lerna/commit/d4a16a5)) | ||
# [3.11.0](https://github.com/lerna/lerna/compare/v3.10.8...v3.11.0) (2019-02-08) | ||
@@ -8,0 +19,0 @@ |
@@ -17,5 +17,9 @@ "use strict"; | ||
function resolveConfigPromise(presetPackageName) { | ||
log.verbose("getChangelogConfig", "Attempting to resolve preset %j", presetPackageName); | ||
// eslint-disable-next-line global-require, import/no-dynamic-require | ||
let config = require(presetPackageName); | ||
log.info("getChangelogConfig", "Successfully resolved preset %j", presetPackageName); | ||
// legacy presets export an errback function instead of Q.all() | ||
@@ -38,2 +42,5 @@ if (isFunction(config)) { | ||
log.verbose("getChangelogConfig", "using preset %j", presetPackageName); | ||
log.silly("npa", parsed); | ||
if (parsed.type === "directory") { | ||
@@ -63,3 +70,3 @@ if (parsed.raw[0] === "@") { | ||
log.verbose("getChangelogConfig", err.message); | ||
log.info("getChangelogConfig", `Auto-prefixing conventional-commits preset '${changelogPreset}'`); | ||
log.info("getChangelogConfig", "Auto-prefixing conventional-changelog preset %j", changelogPreset); | ||
@@ -92,3 +99,3 @@ // probably a deep shorthand subpath :P | ||
"EPRESET", | ||
`Unable to load conventional-commits preset '${changelogPreset}'${ | ||
`Unable to load conventional-changelog preset '${changelogPreset}'${ | ||
changelogPreset !== presetPackageName ? ` (${presetPackageName})` : "" | ||
@@ -95,0 +102,0 @@ }` |
{ | ||
"name": "@lerna/conventional-commits", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "Lerna's internal interface to conventional-changelog and friends", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "45a05acf2d52a46f553fc1efadf9a32312aca82b" | ||
"gitHead": "e2cc514e55a4b520258769a80648b42c45eea9f4" | ||
} |
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
16924
226