Created
May 6, 2014 22:55
-
-
Save gkatsev/1b524fd09e6a988d1b08 to your computer and use it in GitHub Desktop.
Using [zelda](https://www.npmjs.org/package/zelda), cross npm link all projects with all other projects. Just clone all your node modules into the same folder, cd into that folder and run the script below.
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
for i in *; do | |
if [ -d "$i" ]; then | |
cd $i; | |
if [ -f "package.json" ]; then | |
zelda ../; | |
fi; | |
cd ..; | |
fi; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment