@candlerip/shared3 0.0.16 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/bash
2
2
 
3
- docker build -t reveszimre/$2 .
4
- docker push reveszimre/$2
3
+ docker build -t reveszimre/$1 .
4
+ docker push reveszimre/$1
@@ -4,7 +4,8 @@ PACKAGES=( @candlerip/shared3 @candlerip/shared-aws3 @candlerip/shared-backend3
4
4
  for PACKAGE in "${PACKAGES[@]}"
5
5
  do
6
6
  npm list --depth=0 | grep $PACKAGE
7
- if [ $? != 0 ]; then
7
+ success=$?
8
+ if [ $success == 0 ]; then
8
9
  npm i $PACKAGE@latest
9
10
  fi
10
11
  done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,5 +1,7 @@
1
- import { BackendInitConfig, DictionaryServiceConfig } from '../../../sub-project/index.js';
1
+ import { BackendInitConfig, CacheServiceConfig, DictionaryServiceConfig, RedisConfig } from '../../../sub-project/index.js';
2
2
  export type ConfigNameTypeMap = {
3
3
  'backend-init': BackendInitConfig;
4
+ 'cache-service': CacheServiceConfig;
4
5
  'dictionary-service': DictionaryServiceConfig;
6
+ redis: RedisConfig;
5
7
  };