Last active
August 7, 2018 10:22
-
-
Save dmitry-korolev/a0c58f43a53b83ecc3f48084e271232f to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
LIST=( | |
"stapp" | |
"stapp-formbase" | |
"stapp-loaders" | |
"stapp-persist" | |
"stapp-react" | |
"stapp-rxjs" | |
"stapp-select" | |
"stapp-validate" | |
) | |
TAG="latest" | |
if [[ $1 != "" ]]; then | |
TAG=$1 | |
fi | |
for i in $(seq 1 ${#LIST[@]}); | |
do | |
LIST[$i-1]="${LIST[$i-1]}@${TAG}" | |
done | |
npm install ${LIST[@]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updates all stapp-* packages