lerna-changelog
Advanced tools
Comparing version 2.0.0 to 2.0.1
# Changelog | ||
## v2.0.1 (2021-08-07) | ||
#### :bug: Bug Fix | ||
* [#296](https://github.com/lerna/lerna-changelog/pull/296) Omit commiters line when all are filtered out ([@petrch87](https://github.com/petrch87)) | ||
* [#398](https://github.com/lerna/lerna-changelog/pull/398) Fix handling of --next-version-from-metadata option ([@contolini](https://github.com/contolini)) | ||
#### :house: Internal | ||
* [#494](https://github.com/lerna/lerna-changelog/pull/494) Update yargs to v17.x ([@Turbo87](https://github.com/Turbo87)) | ||
* [#493](https://github.com/lerna/lerna-changelog/pull/493) CI: Run `pnpm install` before `npm publish` ([@Turbo87](https://github.com/Turbo87)) | ||
#### Committers: 3 | ||
- Chris Contolini ([@contolini](https://github.com/contolini)) | ||
- Petr Chňoupek ([@petrch87](https://github.com/petrch87)) | ||
- Tobias Bieniek ([@Turbo87](https://github.com/Turbo87)) | ||
## v2.0.0 (2021-08-07) | ||
@@ -27,3 +44,3 @@ | ||
#### Committers: 4 | ||
#### Committers: 3 | ||
- Cyrille David ([@dcyriller](https://github.com/dcyriller)) | ||
@@ -30,0 +47,0 @@ - Robert Jackson ([@rwjblue](https://github.com/rwjblue)) |
@@ -18,2 +18,3 @@ "use strict"; | ||
const configuration_error_1 = require("./configuration-error"); | ||
const NEXT_VERSION_DEFAULT = "Unreleased"; | ||
function run() { | ||
@@ -47,3 +48,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
desc: "The name of the next version", | ||
default: "Unreleased", | ||
default: NEXT_VERSION_DEFAULT, | ||
}, | ||
@@ -69,3 +70,3 @@ "next-version-from-metadata": { | ||
}); | ||
if (argv["next-version"]) { | ||
if (argv["next-version"] !== NEXT_VERSION_DEFAULT) { | ||
config.nextVersion = argv["next-version"]; | ||
@@ -72,0 +73,0 @@ } |
@@ -17,2 +17,3 @@ "use strict"; | ||
renderRelease(release) { | ||
var _a; | ||
const categories = this.groupByCategory(release.commits); | ||
@@ -33,3 +34,3 @@ const categoriesWithCommits = categories.filter(category => category.commits.length > 0); | ||
} | ||
if (release.contributors) { | ||
if ((_a = release.contributors) === null || _a === void 0 ? void 0 : _a.length) { | ||
markdown += `\n\n${this.renderContributorList(release.contributors)}`; | ||
@@ -36,0 +37,0 @@ } |
{ | ||
"name": "lerna-changelog", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Generate a changelog for a lerna monorepo", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
"progress": "^2.0.0", | ||
"yargs": "^13.0.0" | ||
"yargs": "^17.1.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
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
59935
869
+ Addedcliui@8.0.1(transitive)
+ Addedcross-spawn@6.0.6(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedcliui@5.0.0(transitive)
- Removedcross-spawn@6.0.5(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedrequire-main-filename@2.0.0(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedwhich-module@2.0.1(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedy18n@4.0.3(transitive)
- Removedyargs@13.3.2(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedyargs@^17.1.0