Skip to content

Instantly share code, notes, and snippets.

@niradler
Created February 18, 2021 17:25
Show Gist options
  • Save niradler/56538c0c6300fd9ec5e3c7c0f4c7e87a to your computer and use it in GitHub Desktop.
Save niradler/56538c0c6300fd9ec5e3c7c0f4c7e87a to your computer and use it in GitHub Desktop.
find and install npm packages in a mono repo.
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