Gathering detailed insights and metrics for semantic-release-lerna
Gathering detailed insights and metrics for semantic-release-lerna
Gathering detailed insights and metrics for semantic-release-lerna
Gathering detailed insights and metrics for semantic-release-lerna
Semantic release to publish lerna managed packages
npm install semantic-release-lerna
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
21 Stars
1,158 Commits
8 Forks
3 Watchers
4 Branches
8 Contributors
Updated on Jul 14, 2025
Latest Version
2.11.1
Package Id
semantic-release-lerna@2.11.1
Unpacked Size
1.04 MB
Size
229.49 kB
File Count
4
NPM Version
10.9.2
Node Version
20.18.2
Published on
Feb 17, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
semantic-release plugin to publish lerna managed npm packages to npm.
This is WORK-IN-PROGRESS so there will most likely be bugs and it as only really been tested under the narrow use-cases I myself need it for.
It is intended to be a drop-in replacement of the @semantic-release/npm
plugin.
The plugin works in the following way:
latch
option to configure this.As of now the following features from @semantic-release/npm
is not supported/implemented:
addChannel
.tarball
.Step | Description |
---|---|
generateNotes | If the plugin option generateNotes is true this plugin generate release notes with the commit scope set to a list of affected packages (unless otherwise specificed by the commit message). This option replaces @semantic-release/release-notes-generator , do not use both at the same time. |
prepare | Update the package.json version and create the npm package tarball. |
publish | Publish the npm package to the registry. |
If a package version is bumped all the packages depending (dependencies
, devDependencies
and peerDependencies
) on it will also have the range updated if the range has one of the following formats:
1.2.3
^1.2.3
^1.2
^1
1$ npm install semantic-release-lerna -D
The plugin can be configured in the semantic-release configuration file:
1{ 2 "plugins": [ 3 "@semantic-release/commit-analyzer", 4 ["semantic-release-lerna", { "generateNotes": true }], 5 "@semantic-release/changelog", 6 [ 7 "@semantic-release/git", 8 { 9 "assets": [ 10 "CHANGELOG.md", 11 "lerna.json", 12 "package.json", 13 "package-lock.json", 14 "packages/*/package.json", 15 "packages/*/package-lock.json" 16 ] 17 } 18 ] 19 ] 20}
Option | Description | Default |
---|---|---|
generateNotes | Set to true to enable generating release notes. See generateNotes step for more details. | false |
npmVerifyAuth | Set to false to disable verifying NPM registry credentials. | true |
latch | Latches package versions together. If the version bump is at least the given version all packages will be bumped regardless if the package has been touched or not. "major", "minor", "patch", "prerelease", "none" | "minor" |
rootVersion | Allow to update version on root package.json . | true |
lerna ERR! EUNCOMMIT Working tree has uncommitted changes, please commit or remove the following changes before continuing:
Configure @semantic-release/git
to commit lerna.json
and package.json
from the package folders.
See example configuration above.
The conventional changelog packages have mismatching versions.
This plugin supports both conventional-changelog-writer
v7 and v8 as long as the preset has a matching version.
Assuming you use conventional-changelog-conventionalcommits
as preset you can verify this with:
npm ls conventional-changelog-writer conventional-changelog-commits
If the major version of the packages differs you need to explicitly install the correct versions:
npm install conventional-changelog-writer@8 conventional-changelog-commits@8
Substitute @8
with @7
if you need to stay on v7.
Usually you can get away with removing the packages from package.json
afterwards as long as the lockfile (e.g. package-lock.json
) still retains the requested versions of the packages.
If you do not have a configured preset conventional-changelog-angular
is used by default, same rule applies, the major version has to be the same.
Also note that semantic-release
v24 requires v8 of thte conventional changelog packages.
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
security policy file not detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More