Gathering detailed insights and metrics for @lerna/add
Gathering detailed insights and metrics for @lerna/add
Gathering detailed insights and metrics for @lerna/add
Gathering detailed insights and metrics for @lerna/add
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
npm install @lerna/add
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (95.89%)
JavaScript (3.1%)
Shell (0.5%)
CSS (0.5%)
Batchfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
35,973 Stars
2,816 Commits
2,275 Forks
250 Watchers
33 Branches
338 Contributors
Updated on Jul 14, 2025
Latest Version
6.6.2
Package Id
@lerna/add@6.6.2
Unpacked Size
613.50 kB
Size
112.51 kB
File Count
240
NPM Version
lerna/6.6.2/node@v18.15.0+arm64 (darwin)
Node Version
18.15.0
Published on
May 04, 2023
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
1
lerna add
Add a dependency to matched packages
Install lerna for access to the lerna
CLI.
1$ lerna add <package>[@version] [--dev] [--exact] [--peer]
Add local or remote package
as dependency to packages in the current Lerna repo. Note that only a single package can be added at a time compared to yarn add
or npm install
.
When run, this command will:
package
to each applicable package. Applicable are packages that are not package
and are in scopepackage.json
)If no version
specifier is provided, it defaults to the latest
dist-tag, just like npm install
.
lerna add
accepts all filter flags.
--dev
Add the new package to devDependencies
instead of dependencies
.
--exact
1$ lerna add --exact
Add the new package with an exact version (e.g., 1.0.1
) rather than the default ^
semver range (e.g., ^1.0.1
).
--peer
Add the new package to peerDependencies
instead of dependencies
.
--registry <url>
Use a custom registry to install the targeted package.
--no-bootstrap
Skip the chained lerna bootstrap
.
1# Adds the module-1 package to the packages in the 'prefix-' prefixed folders
2lerna add module-1 packages/prefix-*
3
4# Install module-1 to module-2
5lerna add module-1 --scope=module-2
6
7# Install module-1 to module-2 in devDependencies
8lerna add module-1 --scope=module-2 --dev
9
10# Install module-1 to module-2 in peerDependencies
11lerna add module-1 --scope=module-2 --peer
12
13# Install module-1 in all modules except module-1
14lerna add module-1
15
16# Install babel-core in all modules
17lerna add babel-core
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
Reason
Found 14/28 approved changesets -- score normalized to 5
Reason
5 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
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