Socket
Socket
Sign inDemoInstall

@lerna/cli

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/cli

Lerna's CLI


Version published
Weekly downloads
506K
decreased by-0.58%
Maintainers
2
Weekly downloads
 
Created

What is @lerna/cli?

@lerna/cli is a tool for managing JavaScript projects with multiple packages. It optimizes the workflow around managing multi-package repositories with features like versioning, publishing, and dependency management.

What are @lerna/cli's main functionalities?

Bootstrap

Installs all dependencies and links any cross-dependencies between packages in the repo. This is useful for setting up a monorepo with multiple interdependent packages.

lerna bootstrap

Publish

Publishes packages in the monorepo to the npm registry. It handles versioning and tagging of the packages, making it easier to release new versions.

lerna publish

Run

Runs an npm script in each package that contains that script. This is useful for running tests, builds, or other scripts across all packages in the monorepo.

lerna run <script>

Version

Bumps the version of packages in the monorepo. It updates the version in package.json files and creates a git commit and tag for the new version.

lerna version

Add

Adds a dependency to matched packages. This is useful for adding new dependencies to specific packages within the monorepo.

lerna add <package> [--scope]

Other packages similar to @lerna/cli

Keywords

FAQs

Package last updated on 27 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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