79268609

Date: 2024-12-10 14:35:55
Score: 1.5
Natty:
Report link

There is an easier step,

  1. git clone <your_repository_to_import> from above the monorepo
  2. under your monorepo, yarn lerna import <path_your_repository_to_import>
  3. git push

The project at https://github.com/pingleware/bestbooks is a prime example of converting a multirepo to a monorepo,

  1. git clone https://github.com/pingleware/bestbooks

import https://github.com/pingleware/bestbooks-core

  1. git clone https://github.com/pingleware/bestbooks-core
  2. cd bestbooks
  3. yarn lerna import ../bestbooks-core
  4. git push
  5. rm -rfd ../bestbooks-core
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Patrick Ingle