Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/conventional-commits

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/conventional-commits - npm Package Compare versions

Comparing version 3.0.0 to 3.0.2

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

<a name="3.0.2"></a>
## [3.0.2](https://github.com/lerna/lerna/compare/v3.0.1...v3.0.2) (2018-08-11)
### Bug Fixes
* **conventional-commits:** Pass --tag-version-prefix to changelog utilities ([8ed7d83](https://github.com/lerna/lerna/commit/8ed7d83))
* **conventional-commits:** Provide fallback bump when releaseType is missing ([e330f6f](https://github.com/lerna/lerna/commit/e330f6f)), closes [#1551](https://github.com/lerna/lerna/issues/1551)
<a name="3.0.0"></a>

@@ -8,0 +21,0 @@ # [3.0.0](https://github.com/lerna/lerna/compare/v3.0.0-rc.0...v3.0.0) (2018-08-10)

13

lib/recommend-version.js

@@ -10,3 +10,3 @@ "use strict";

function recommendVersion(pkg, type, { changelogPreset, rootPath }) {
function recommendVersion(pkg, type, { changelogPreset, rootPath, tagPrefix }) {
log.silly(type, "for %s at %s", pkg.name, pkg.location);

@@ -20,2 +20,5 @@

options.lernaPackage = pkg.name;
} else {
// only fixed mode can have a custom tag prefix
options.tagPrefix = tagPrefix;
}

@@ -33,4 +36,8 @@

log.verbose(type, "increment %s by %s", pkg.version, data.releaseType);
resolve(semver.inc(pkg.version, data.releaseType));
// result might be undefined because some presets are not consistent with angular
// we still need to bump _something_ because lerna saw a change here
const releaseType = data.releaseType || "patch";
log.verbose(type, "increment %s by %s", pkg.version, releaseType);
resolve(semver.inc(pkg.version, releaseType));
});

@@ -37,0 +44,0 @@ });

@@ -23,3 +23,3 @@ "use strict";

function updateChangelog(pkg, type, { changelogPreset, rootPath, version }) {
function updateChangelog(pkg, type, { changelogPreset, rootPath, tagPrefix, version }) {
log.silly(type, "for %s at %s", pkg.name, pkg.location);

@@ -52,2 +52,5 @@

options.lernaPackage = pkg.name;
} else {
// only fixed mode can have a custom tag prefix
options.tagPrefix = tagPrefix;
}

@@ -54,0 +57,0 @@ }

{
"name": "@lerna/conventional-commits",
"version": "3.0.0",
"version": "3.0.2",
"description": "Lerna's internal interface to conventional-changelog and friends",

@@ -45,3 +45,3 @@ "keywords": [

},
"gitHead": "0c40a17a7cd4e9acd8e7ec33ffacd1c1acef5dc6"
"gitHead": "784d64e7dbd1275175bc080d148656916e2f5d76"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc