0.4.4 • Published 4 years ago
@gve/bridge v0.4.4
Bridge
"Bridge" two or more Lerna monorepos so that you can develop in all of them simultaneously.
Installation
Install with npm.
npm i -D @gve/bridgeUsage
Point the bridge at the path of the source code you want to use. For example, the packages directory of another monorepo.
export SOURCE_DIR="~/path/to/other/monorepo/packages"
npx bridge ${SOURCE_DIR}bridge will:
- Copy the packages into a sub-directory of the current monorepo.
 - Update 
.gitignoreto ignore them when committing. - Update 
lerna.jsonto ignore them when publishing packages. 
Rationale
Read the rationale for this approach.