Skip to content

v2.0.0-beta.22

Pre-release
Pre-release
Compare
Choose a tag to compare
@hzoo hzoo released this 23 Jun 01:01
· 2504 commits to main since this release

New Feature

@gigabo Adds an awesome feature to help users transition their repos into a monorepo and being able to basically move the contents of another repo into the lerna repo (including the git history)!

lerna import (#173) @gigabo

$ lerna import <path-to-external-repository>

Import the package at <path-to-external-repository>, with commit history, into packages/<directory-name>. Original commit authors, dates and messages are preserved. Commits are applied to the current branch.

This is useful for gathering pre-existing standalone packages into a Lerna repo. Each commit is modified to make changes relative to the package directory. So, for example, the commit that added package.json will instead add packages/<directory-name>/package.json.

Misc

  • Revert "Use sync-exec for node 0.10" (#242)
  • Revert "Fix bootstrap install to use quotes around versions (#235)"