@candlerip/shared3 0.0.13 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,10 @@
1
1
  #!/usr/bin/bash
2
- set -e
3
2
 
4
- packages=( @candlerip/shared3 @candlerip/shared-aws3 @candlerip/shared-backend3 )
5
- for package in "${packages[@]}"
3
+ PACKAGES=( @candlerip/shared3 @candlerip/shared-aws3 @candlerip/shared-backend3 )
4
+ for PACKAGE in "${PACKAGES[@]}"
6
5
  do
7
- echo "$package"
6
+ npm list --depth=0 | grep $PACKAGE
7
+ if [ $? != 0 ]; then
8
+ npm i $PACKAGE@latest
9
+ fi
8
10
  done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {