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

@lerna/import

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/import

Import a package into the monorepo with commit history

  • 6.6.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
355K
decreased by-26.39%
Maintainers
2
Weekly downloads
 
Created

What is @lerna/import?

@lerna/import is a tool that helps you import packages into a Lerna-managed monorepo. It simplifies the process of migrating existing packages into a monorepo structure, ensuring that dependencies and configurations are correctly handled.

What are @lerna/import's main functionalities?

Importing a package

This command imports an existing package into the Lerna monorepo. The <path-to-package> should be the path to the package you want to import. Lerna will handle the necessary adjustments to integrate the package into the monorepo.

npx lerna import <path-to-package>

Handling Git history

This command imports a package while preserving its Git commit history. This is useful for maintaining the development history of the package within the monorepo.

npx lerna import <path-to-package> --preserve-commit

Customizing import path

This command allows you to specify a custom destination path within the monorepo for the imported package. The --dest option lets you define where the package should be placed.

npx lerna import <path-to-package> --dest=packages/custom-path

Other packages similar to @lerna/import

Keywords

FAQs

Package last updated on 04 May 2023

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