lerna-linker
v1.1.1
Published
Simple script for linking development
Downloads
4
Readme
Lerna-linker
The lerna-linker tool provides an easy way to link local development versions of lerna monorepos without needing to publish the local development versions to NPM. This is particularly useful for local testing and development purposes.
Usage
Link the Source
In the directory of your local development version of the base Comunica project, run:
lerna-linker linkSource
Link the Target
In the directory of your local project that depends on Comunica, run:
lerna-linker linkTarget
Unlink the Target
If you need to unlink your development version of Comunica from your project, run the following command in your project's directory:
lerna-linker unlinkTarget
Limitation
This script can only be used to link two repository versions simultaneously. If a different version of the same repository is linked, any previous links for similarly named packages are lost and need to be rebuilt using this tool.