Created
February 18, 2021 17:25
-
-
Save niradler/56538c0c6300fd9ec5e3c7c0f4c7e87a to your computer and use it in GitHub Desktop.
find and install npm packages in a mono repo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i -g strin loop-pipe | |
find . -name package.json | grep -v node_modules | strin replace --t="package.json" --v="" --sr="ig" | lp "(cd {v} && npm i)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment