@candlerip/shared3 0.0.13 → 0.0.14

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