Skip to content

Instantly share code, notes, and snippets.

@dmitry-korolev
Last active August 7, 2018 10:22
Show Gist options
  • Save dmitry-korolev/a0c58f43a53b83ecc3f48084e271232f to your computer and use it in GitHub Desktop.
Save dmitry-korolev/a0c58f43a53b83ecc3f48084e271232f to your computer and use it in GitHub Desktop.
#!/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[@]}
@dmitry-korolev
Copy link
Author

Updates all stapp-* packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment