@leverege/build-tools 1.10.5 → 1.10.6

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.
@@ -8,14 +8,14 @@ let stdbuf = []
8
8
  process.stdin
9
9
  .on( 'data', ( d ) => { stdbuf.push( d ) } )
10
10
  .on( 'end', () => {
11
- const rawCfg = stdbuf.join( '' ).replace( /[":\n\r]/g, '' )
11
+ const rawCfg = stdbuf.join( '' ).replace( /["\n\r]/g, '' )
12
12
  const keyVals = rawCfg.match(/\{(.*)\}/)[1].split(',')
13
13
 
14
14
  const lastLine = keyVals.length - 1
15
15
  console.log( "{" )
16
16
  for( let i = 0; i <= lastLine; i++ ) {
17
17
  const kv = keyVals[i].trim().split( ' ' )
18
- console.log( ` "${kv[0]}": "${kv[1]}"${(i < lastLine ? ',' : '')}` )
18
+ console.log( ` "${kv[0].replace( /:/, '')}": "${kv[1]}"${(i < lastLine ? ',' : '')}` )
19
19
  }
20
20
  console.log( "}" )
21
21
 
package/lib/server/helmup CHANGED
@@ -7,6 +7,7 @@
7
7
  # to be turned into a cronjob to avoid having it run as soon as it gets
8
8
  # deployed.
9
9
  #
10
+ # printf "\nRUNNING LOCALLY\n" && sleep 2
10
11
  PLATFORM=(
11
12
  api-server
12
13
  emailer
@@ -285,7 +285,8 @@ ahoy.forEach( ( dir ) => {
285
285
  if ( matchedCtx ) {
286
286
  console.log( `
287
287
 
288
- Your current context matches. Do you want to update credentials anyway?
288
+ Current context ${chalk.bold.green(currentCtx)} matches the desired
289
+ context. Do you want to update credentials anyway?
289
290
 
290
291
  ` )
291
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "1.10.5",
3
+ "version": "1.10.6",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/getfbcfg CHANGED
@@ -8,14 +8,14 @@ let stdbuf = []
8
8
  process.stdin
9
9
  .on( 'data', ( d ) => { stdbuf.push( d ) } )
10
10
  .on( 'end', () => {
11
- const rawCfg = stdbuf.join( '' ).replace( /[":\n\r]/g, '' )
11
+ const rawCfg = stdbuf.join( '' ).replace( /["\n\r]/g, '' )
12
12
  const keyVals = rawCfg.match(/\{(.*)\}/)[1].split(',')
13
13
 
14
14
  const lastLine = keyVals.length - 1
15
15
  console.log( "{" )
16
16
  for( let i = 0; i <= lastLine; i++ ) {
17
17
  const kv = keyVals[i].trim().split( ' ' )
18
- console.log( ` "${kv[0]}": "${kv[1]}"${(i < lastLine ? ',' : '')}` )
18
+ console.log( ` "${kv[0].replace( /:/, '')}": "${kv[1]}"${(i < lastLine ? ',' : '')}` )
19
19
  }
20
20
  console.log( "}" )
21
21
 
package/src/helmup CHANGED
@@ -7,6 +7,7 @@
7
7
  # to be turned into a cronjob to avoid having it run as soon as it gets
8
8
  # deployed.
9
9
  #
10
+ # printf "\nRUNNING LOCALLY\n" && sleep 2
10
11
  PLATFORM=(
11
12
  api-server
12
13
  emailer
package/src/overwhelm CHANGED
@@ -285,7 +285,8 @@ ahoy.forEach( ( dir ) => {
285
285
  if ( matchedCtx ) {
286
286
  console.log( `
287
287
 
288
- Your current context matches. Do you want to update credentials anyway?
288
+ Current context ${chalk.bold.green(currentCtx)} matches the desired
289
+ context. Do you want to update credentials anyway?
289
290
 
290
291
  ` )
291
292
  }