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

@chrisdothtml/monorepo-import

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chrisdothtml/monorepo-import

For importing an external repo into a monorepo subdirectory with git history/blame intact

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

monorepo-import

For importing an external repo into a monorepo subdirectory with git history/blame intact

This tool is forked from lerna import, and is intended to allow for using that logic generically with non-lerna monorepos.

Install

yarn global add @chrisdothtml/monorepo-import
# or
npm install -g @chrisdothtml/monorepo-import
# or
volta install @chrisdothtml/monorepo-import

Use

# Usage:
monorepo-import --help
monorepo-import <external-repo-path> <monorepo-path> <sub-directory>

# Examples:
monorepo-import ../monorepo ../external-repo external-repo
monorepo-import ../monorepo ../my-project projects/my-project

When you use this to import an external repo into your monorepo:

  • it will apply every commit of <external-repo-path> one-by-one on top of HEAD of <monorepo-path>
  • file paths throughout the entire repo history are prefixed by your provided <sub-directory>
  • original commit author, committer, and date are all preserved

FAQs

Package last updated on 26 May 2020

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