Created
September 5, 2019 15:13
-
-
Save skratchdot/ce22c0e71263f5254b476c938952ba58 to your computer and use it in GitHub Desktop.
cleanlocks - a bash script to clean all the packge-lock.json files in a monorepo
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
| #!/usr/bin/env bash | |
| find . -type f -name package-lock.json -not -regex ".*node_modules.*" -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment