@leverege/build-tools 2.19.1 → 2.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -276,8 +276,9 @@ if (args.key) {
276
276
  } // Find all of the potential target dirs. Utilize .gitignore to ignore files
277
277
 
278
278
 
279
+ const gitignore = parse(fs.readFileSync('.gitignore'));
279
280
  const opt = {
280
- ignore: parse(fs.readFileSync('.gitignore'))
281
+ ignore: gitignore.patterns
281
282
  };
282
283
  const ahoy = glob.sync('*/', opt); // .noahoy = skips generation of values.yaml but allows helmup to run
283
284
  // .nohelm = overwhelm and helmup will skip the deployment entirely
Binary file
@@ -276,8 +276,9 @@ if (args.key) {
276
276
  } // Find all of the potential target dirs. Utilize .gitignore to ignore files
277
277
 
278
278
 
279
+ const gitignore = parse(fs.readFileSync('.gitignore'));
279
280
  const opt = {
280
- ignore: parse(fs.readFileSync('.gitignore'))
281
+ ignore: gitignore.patterns
281
282
  };
282
283
  const ahoy = glob.sync('*/', opt); // .noahoy = skips generation of values.yaml but allows helmup to run
283
284
  // .nohelm = overwhelm and helmup will skip the deployment entirely
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.19.1",
3
+ "version": "2.19.3",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -60,25 +60,25 @@
60
60
  "enquirer": "^2.3.6",
61
61
  "execa": "^5.1.1",
62
62
  "figlet": "^1.5.2",
63
- "glob": "^7.2.3",
63
+ "glob": "^8.0.3",
64
64
  "inquirer": "^8.2.4",
65
65
  "js-yaml": "^4.1.0",
66
66
  "ncp": "^2.0.0",
67
- "npm-registry-fetch": "^11.0.0",
67
+ "npm-registry-fetch": "^13.3.0",
68
68
  "open": "^8.4.0",
69
69
  "ora": "^5.4.1",
70
- "parse-gitignore": "^1.0.1",
70
+ "parse-gitignore": "^2.0.0",
71
71
  "readline-sync": "^1.4.10",
72
72
  "semver": "^7.3.7",
73
- "simple-git": "^3.10.0",
74
- "zx": "^7.0.7"
73
+ "simple-git": "^3.12.0",
74
+ "zx": "^7.0.8"
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/cli": "^7.18.9",
78
- "@babel/core": "^7.18.9",
79
- "@babel/node": "^7.18.9",
77
+ "@babel/cli": "^7.18.10",
78
+ "@babel/core": "^7.18.10",
79
+ "@babel/node": "^7.18.10",
80
80
  "@leverege/babel-preset-leverege-node": "^2.0.0",
81
81
  "@leverege/eslint-config-leverege": "^3.0.1",
82
- "npm": "^8.14.0"
82
+ "npm": "^8.17.0"
83
83
  }
84
84
  }
package/src/dockreate CHANGED
@@ -228,6 +228,15 @@ npmlogging='--silent' # allow for verbose npm logs
228
228
  [ "$VERBOSE_DOCKREATE_NPM" == "yes" ] && npmlogging='--ddd'
229
229
 
230
230
  echo "Updating dependencies and workspace..." && npm install
231
+ if [ $? -ne 0 ];
232
+ then
233
+ cat<<INSTALLFAILED
234
+
235
+ $(color y 'npm install') $(color r 'FAILED') - fix it in order to proceed
236
+
237
+ INSTALLFAILED
238
+ exit 1
239
+ fi
231
240
 
232
241
  container="`node -p \"require('../package.json').leverege.container\"`"
233
242
  if [ "$container" == "undefined" ];
package/src/helmup CHANGED
@@ -540,7 +540,7 @@ NEED_MANAGED_SECRET
540
540
  addHelmRepo jetstack https://charts.jetstack.io
541
541
  helm upgrade --install cert-manager jetstack/cert-manager \
542
542
  --namespace cert-manager --set installCRDs=true \
543
- --version v1.8
543
+ --version v1.9
544
544
 
545
545
  cat<<DELAY
546
546
 
package/src/overwhelm.js CHANGED
@@ -221,8 +221,9 @@ if ( args.key ) {
221
221
  }
222
222
 
223
223
  // Find all of the potential target dirs. Utilize .gitignore to ignore files
224
+ const gitignore = parse( fs.readFileSync( '.gitignore' ) )
224
225
  const opt = {
225
- ignore : parse( fs.readFileSync( '.gitignore' ) )
226
+ ignore : gitignore.patterns,
226
227
  }
227
228
 
228
229
  const ahoy = glob.sync( '*/', opt )