lerna-relinker v1.5.0
Lerna Relinker
Basically fixes the deps of deps for lerna. It runs through your project and creates links for dependencies within your project.
Of course you know this but... Use at your own risk
Installation
npm i lerna-relinker --save-dev
Usage
You can run it directly, but your better off putting it in your npm scripts.
./node_modules/.bin/lr-link
Idea helpers.
If you use webstorm this will fix your setup, (prevent the infite indexing, and generally do the right excludes)
./node_modules/.bin/lr-idea
Muck
This a tool for mucking with json files within projects. Mostly package.json, its meant to be able to quickly create combinations of commands for making things work.
-h gives the help
Examples.
$ lr-muck -p name="Name the Package" -s devDependencies.stuff=1.7.0 -c -C -n config.json
Would create a file like this if it does not exist. If it did it exist it would create config.json.bck and would have name set to Somethign and a devDependency of stuff.
{
"name": "Something",
"devDependencies": {
"stuff": "1.7.0"
}
}
And then some other time you wanted to add a description. you could
$ lr-muck -p name="Name the Package" -p description="Describe the Package" -s devDependencies.stuff=1.7.0 -s dependencies.other=1.0.0 -c -C -n config.json