@leverege/build-tools 2.56.0 → 2.56.1
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.
- package/package.json +1 -1
- package/src/chart-compass.mjs +2 -2
- package/src/chart-to-registry.mjs +0 -2
- package/src/docker-to-registry.mjs +0 -1
- package/src/firebaseDeploy.mjs +0 -1
- package/src/firebaseServe.mjs +0 -1
- package/src/overwhelm.mjs +5 -4
- package/src/refresh-npm-token.mjs +0 -3
- package/src/tag-release.mjs +0 -1
package/package.json
CHANGED
package/src/chart-compass.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
shellCmd } from './Utils.mjs'
|
|
23
23
|
|
|
24
24
|
const commandLineOptions = [ // Use commandLineOptions to tie into the Usage statements
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
{
|
|
27
27
|
name : 'location',
|
|
28
28
|
type : String,
|
|
@@ -48,7 +48,7 @@ const commandLineOptions = [ // Use commandLineOptions to tie into the Usage sta
|
|
|
48
48
|
type : Boolean,
|
|
49
49
|
description : '{green display this help screen}',
|
|
50
50
|
},
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
]
|
|
53
53
|
|
|
54
54
|
const sections = [
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
shellCmd } from './Utils.mjs'
|
|
21
21
|
|
|
22
22
|
const commandLineOptions = [ // Use commandLineOptions to tie into the Usage statements
|
|
23
|
-
/* eslint-disable max-len */
|
|
24
23
|
{
|
|
25
24
|
name : 'location',
|
|
26
25
|
type : String,
|
|
@@ -51,7 +50,6 @@ const commandLineOptions = [ // Use commandLineOptions to tie into the Usage sta
|
|
|
51
50
|
type : Boolean,
|
|
52
51
|
description : '{green display this help screen}',
|
|
53
52
|
},
|
|
54
|
-
/* eslint-enable max-len */
|
|
55
53
|
]
|
|
56
54
|
|
|
57
55
|
const sections = [
|
package/src/firebaseDeploy.mjs
CHANGED
package/src/firebaseServe.mjs
CHANGED
package/src/overwhelm.mjs
CHANGED
|
@@ -266,19 +266,20 @@ const ahoy = glob.sync( '*/', opt )
|
|
|
266
266
|
|
|
267
267
|
// Verifies that all values in a config block are quoted
|
|
268
268
|
const validValuesLocalConfig = ( vlf ) => {
|
|
269
|
-
if ( !
|
|
269
|
+
if ( !fs.existsSync( vlf ) ) { return undefined }
|
|
270
270
|
|
|
271
271
|
const valuesLocal = YAML.load( fs.readFileSync( vlf, { encoding : 'utf-8' } ) )
|
|
272
272
|
const configBlock = valuesLocal.config
|
|
273
273
|
|
|
274
274
|
// only care about validating config at this time
|
|
275
275
|
if ( configBlock ) {
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
Object.entries( configBlock ).forEach( ( cfgLine ) => {
|
|
277
|
+
const [ key, value ] = cfgLine
|
|
278
|
+
if ( !isString( value ) ) {
|
|
278
279
|
err( { configBlock }, '***Bad config block' )
|
|
279
280
|
errorExit( `Is ${key} missing quotes around ${value} in ${vlf}?` )
|
|
280
281
|
}
|
|
281
|
-
}
|
|
282
|
+
} )
|
|
282
283
|
}
|
|
283
284
|
|
|
284
285
|
return true // TODO: return the already read valuesLocal info?
|
|
@@ -29,7 +29,6 @@ import { lt as semverLt } from 'semver'
|
|
|
29
29
|
import { debug, log, shellCmd } from './Utils.mjs'
|
|
30
30
|
|
|
31
31
|
const refreshTokenOptions = [ // Use refreshTokenOptions to tie into the Usage statements
|
|
32
|
-
/* eslint-disable max-len */
|
|
33
32
|
{
|
|
34
33
|
name : 'project',
|
|
35
34
|
type : String,
|
|
@@ -60,7 +59,6 @@ const refreshTokenOptions = [ // Use refreshTokenOptions to tie into the Usage s
|
|
|
60
59
|
default : false,
|
|
61
60
|
description : '{green display this help screen}',
|
|
62
61
|
},
|
|
63
|
-
/* eslint-enable max-len */
|
|
64
62
|
]
|
|
65
63
|
|
|
66
64
|
const sections = [
|
|
@@ -245,7 +243,6 @@ try {
|
|
|
245
243
|
const now = ( new Date() ).toLocaleString()
|
|
246
244
|
const account = await shellCmd( 'gcloud config get account' )
|
|
247
245
|
const slackData = {
|
|
248
|
-
// eslint-disable-next-line max-len
|
|
249
246
|
text : `--- npmrc refreshed by \`${account}\` at ${now}\n tokens RW [\`${npmrc.token}\`] RO [\`${npmrcRo.token}\`]`,
|
|
250
247
|
channel : slackConfig.channel,
|
|
251
248
|
}
|