Created
April 17, 2018 09:23
-
-
Save aravindballa/f9549746df1b1315ea03ac7d3e8d7622 to your computer and use it in GitHub Desktop.
Delete node_modules and package-lock.json for root and all packages for lerna.
This file contains hidden or 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
rm -rf node_modules/ package-lock.json | |
for d in packages/*/ | |
do | |
rm -rf "$d"/node_modules "$d"/package-lock.json | |
echo "$d" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment