@storm-software/terraform-tools 0.66.171 → 0.66.173
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/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/{chunk-7ULPBW4A.js → chunk-4H5Q5QOJ.js} +159 -159
- package/dist/{chunk-QPDLMLY6.mjs → chunk-6OOVQVET.mjs} +17 -28
- package/dist/{chunk-WEEL45GL.mjs → chunk-CISK74IB.mjs} +1 -1
- package/dist/{chunk-RWVAHPJ6.js → chunk-EPUKT7Q3.js} +2 -2
- package/dist/{chunk-MQZZXQVS.mjs → chunk-F2UZQEKU.mjs} +1 -1
- package/dist/{chunk-NKM5JFF7.mjs → chunk-FNB6U7XT.mjs} +1 -1
- package/dist/{chunk-NEV5EM4I.mjs → chunk-IYRRG6RY.mjs} +1 -1
- package/dist/{chunk-HXWTDMNN.js → chunk-J2IP352Y.js} +2 -2
- package/dist/{chunk-SBCMWJ4P.js → chunk-NX6I7V6C.js} +17 -28
- package/dist/{chunk-ABSRL7WR.js → chunk-OFXBWSNE.js} +2 -2
- package/dist/{chunk-TRTID4SU.js → chunk-QM5NZBC6.js} +2 -2
- package/dist/{chunk-MTUYBKWP.mjs → chunk-VXTBM6CD.mjs} +2 -2
- package/dist/{chunk-RARHYCMS.mjs → chunk-W32GVXAC.mjs} +1 -1
- package/dist/{chunk-NKUWKRNN.mjs → chunk-Y2L7ETTJ.mjs} +1 -1
- package/dist/{chunk-OE4U353U.js → chunk-YCSFTFE3.js} +2 -2
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/base/terraform-executor.js +3 -3
- package/dist/src/base/terraform-executor.mjs +3 -3
- package/dist/src/executors/apply/executor.js +4 -4
- package/dist/src/executors/apply/executor.mjs +4 -4
- package/dist/src/executors/destroy/executor.js +4 -4
- package/dist/src/executors/destroy/executor.mjs +4 -4
- package/dist/src/executors/output/executor.js +4 -4
- package/dist/src/executors/output/executor.mjs +4 -4
- package/dist/src/executors/plan/executor.js +4 -4
- package/dist/src/executors/plan/executor.mjs +4 -4
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +5 -5
|
@@ -159,8 +159,8 @@ var CONSOLE_ICONS = {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
162
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
163
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
162
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
163
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
// ../config-tools/src/logger/get-log-level.ts
|
|
@@ -220,7 +220,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
220
220
|
};
|
|
221
221
|
|
|
222
222
|
// ../config-tools/src/logger/console.ts
|
|
223
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
223
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
224
|
+
const {
|
|
225
|
+
chalk: _chalk = getChalk(),
|
|
226
|
+
fullDateTime = false,
|
|
227
|
+
hideDateTime = false
|
|
228
|
+
} = options;
|
|
224
229
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
225
230
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
226
231
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -231,9 +236,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
231
236
|
return (message) => {
|
|
232
237
|
console.error(
|
|
233
238
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
235
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
236
|
-
)(
|
|
239
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
237
240
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
238
241
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
239
242
|
`
|
|
@@ -244,9 +247,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
244
247
|
return (message) => {
|
|
245
248
|
console.error(
|
|
246
249
|
`
|
|
247
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
248
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
249
|
-
)(
|
|
250
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
250
251
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
251
252
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
252
253
|
`
|
|
@@ -257,9 +258,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
257
258
|
return (message) => {
|
|
258
259
|
console.warn(
|
|
259
260
|
`
|
|
260
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
261
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
262
|
-
)(
|
|
261
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
263
262
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
264
263
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
265
264
|
`
|
|
@@ -270,9 +269,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
270
269
|
return (message) => {
|
|
271
270
|
console.info(
|
|
272
271
|
`
|
|
273
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
274
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
275
|
-
)(
|
|
272
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
276
273
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
277
274
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
278
275
|
`
|
|
@@ -283,9 +280,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
283
280
|
return (message) => {
|
|
284
281
|
console.info(
|
|
285
282
|
`
|
|
286
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
287
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
288
|
-
)(
|
|
283
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
289
284
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
290
285
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
291
286
|
`
|
|
@@ -296,9 +291,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
296
291
|
return (message) => {
|
|
297
292
|
console.debug(
|
|
298
293
|
`
|
|
299
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
300
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
301
|
-
)(
|
|
294
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
302
295
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
303
296
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
304
297
|
`
|
|
@@ -309,9 +302,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
309
302
|
return (message) => {
|
|
310
303
|
console.debug(
|
|
311
304
|
`
|
|
312
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
313
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
314
|
-
)(
|
|
305
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
315
306
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
316
307
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
317
308
|
`
|
|
@@ -322,7 +313,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
322
313
|
return (message) => {
|
|
323
314
|
console.debug(
|
|
324
315
|
`
|
|
325
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
316
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
326
317
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
327
318
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
328
319
|
`
|
|
@@ -332,9 +323,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
332
323
|
return (message) => {
|
|
333
324
|
console.log(
|
|
334
325
|
`
|
|
335
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
336
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
337
|
-
)(
|
|
326
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
338
327
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
339
328
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
340
329
|
`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/plan/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "plan");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/apply/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "apply");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -159,8 +159,8 @@ var CONSOLE_ICONS = {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
162
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
163
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
162
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
163
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
// ../config-tools/src/logger/get-log-level.ts
|
|
@@ -220,7 +220,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
220
220
|
};
|
|
221
221
|
|
|
222
222
|
// ../config-tools/src/logger/console.ts
|
|
223
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
223
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
224
|
+
const {
|
|
225
|
+
chalk: _chalk = getChalk(),
|
|
226
|
+
fullDateTime = false,
|
|
227
|
+
hideDateTime = false
|
|
228
|
+
} = options;
|
|
224
229
|
const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
225
230
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
226
231
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -231,9 +236,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
231
236
|
return (message) => {
|
|
232
237
|
console.error(
|
|
233
238
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
235
|
-
_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal))
|
|
236
|
-
)(
|
|
239
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal)))(
|
|
237
240
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
238
241
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
239
242
|
`
|
|
@@ -244,9 +247,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
244
247
|
return (message) => {
|
|
245
248
|
console.error(
|
|
246
249
|
`
|
|
247
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
248
|
-
_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger))
|
|
249
|
-
)(
|
|
250
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger)))(
|
|
250
251
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
251
252
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
252
253
|
`
|
|
@@ -257,9 +258,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
257
258
|
return (message) => {
|
|
258
259
|
console.warn(
|
|
259
260
|
`
|
|
260
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
261
|
-
_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning))
|
|
262
|
-
)(
|
|
261
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning)))(
|
|
263
262
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
264
263
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
265
264
|
`
|
|
@@ -270,9 +269,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
270
269
|
return (message) => {
|
|
271
270
|
console.info(
|
|
272
271
|
`
|
|
273
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
274
|
-
_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success))
|
|
275
|
-
)(
|
|
272
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success)))(
|
|
276
273
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
277
274
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
278
275
|
`
|
|
@@ -283,9 +280,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
283
280
|
return (message) => {
|
|
284
281
|
console.info(
|
|
285
282
|
`
|
|
286
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
287
|
-
_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info))
|
|
288
|
-
)(
|
|
283
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(
|
|
289
284
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
290
285
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
291
286
|
`
|
|
@@ -296,9 +291,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
296
291
|
return (message) => {
|
|
297
292
|
console.debug(
|
|
298
293
|
`
|
|
299
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
300
|
-
_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
|
|
301
|
-
)(
|
|
294
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance)))(
|
|
302
295
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
303
296
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
304
297
|
`
|
|
@@ -309,9 +302,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
309
302
|
return (message) => {
|
|
310
303
|
console.debug(
|
|
311
304
|
`
|
|
312
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
313
|
-
_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug))
|
|
314
|
-
)(
|
|
305
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(
|
|
315
306
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
316
307
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
317
308
|
`
|
|
@@ -322,7 +313,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
322
313
|
return (message) => {
|
|
323
314
|
console.debug(
|
|
324
315
|
`
|
|
325
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
316
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
326
317
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
327
318
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
328
319
|
`
|
|
@@ -332,9 +323,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
332
323
|
return (message) => {
|
|
333
324
|
console.log(
|
|
334
325
|
`
|
|
335
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
336
|
-
_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand))
|
|
337
|
-
)(
|
|
326
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand)))(
|
|
338
327
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
339
328
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
340
329
|
`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/destroy/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "destroy");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/output/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkYCSFTFE3js.withTerraformExecutor.call(void 0, "output");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
writeSuccess,
|
|
22
22
|
writeTrace,
|
|
23
23
|
writeWarning
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6OOVQVET.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__dirname
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F2UZQEKU.mjs";
|
|
28
28
|
|
|
29
29
|
// src/generators/init/init.ts
|
|
30
30
|
import { formatFiles as formatFiles8 } from "@nx/devkit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNX6I7V6Cjs = require('./chunk-NX6I7V6C.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/run.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -25,7 +25,7 @@ var run = (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => (
|
|
|
25
25
|
// src/base/terraform-executor.ts
|
|
26
26
|
var _shelljs = require('shelljs');
|
|
27
27
|
var withTerraformExecutor = (command, executorOptions = {}) => async (_options, context) => {
|
|
28
|
-
return
|
|
28
|
+
return _chunkNX6I7V6Cjs.withRunExecutor.call(void 0,
|
|
29
29
|
`Terraform \`${command}\` Command Executor`,
|
|
30
30
|
async (options, context2, config) => {
|
|
31
31
|
if (!_shelljs.which.call(void 0, "tofu") || !_shelljs.which.call(void 0, "terraform")) {
|
package/dist/executors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";require('./chunk-E7SPQEPH.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-OFXBWSNE.js');
|
|
3
|
+
require('./chunk-QM5NZBC6.js');
|
|
4
|
+
require('./chunk-EPUKT7Q3.js');
|
|
5
|
+
require('./chunk-J2IP352Y.js');
|
|
6
|
+
require('./chunk-YCSFTFE3.js');
|
|
7
|
+
require('./chunk-NX6I7V6C.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-FNB6U7XT.mjs";
|
|
3
|
+
import "./chunk-W32GVXAC.mjs";
|
|
4
|
+
import "./chunk-CISK74IB.mjs";
|
|
5
|
+
import "./chunk-Y2L7ETTJ.mjs";
|
|
6
|
+
import "./chunk-IYRRG6RY.mjs";
|
|
7
|
+
import "./chunk-6OOVQVET.mjs";
|
|
8
|
+
import "./chunk-F2UZQEKU.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk4H5Q5QOJjs = require('./chunk-4H5Q5QOJ.js');
|
|
5
|
+
require('./chunk-NX6I7V6C.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.initGenerator =
|
|
8
|
+
exports.initGenerator = _chunk4H5Q5QOJjs.initGenerator;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-23KFTIT2.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGenerator
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VXTBM6CD.mjs";
|
|
5
|
+
import "./chunk-6OOVQVET.mjs";
|
|
6
|
+
import "./chunk-F2UZQEKU.mjs";
|
|
7
7
|
export {
|
|
8
8
|
initGenerator
|
|
9
9
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-E7SPQEPH.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-OFXBWSNE.js');
|
|
3
|
+
require('./chunk-QM5NZBC6.js');
|
|
4
|
+
require('./chunk-EPUKT7Q3.js');
|
|
5
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4H5Q5QOJjs = require('./chunk-4H5Q5QOJ.js');
|
|
9
9
|
require('./chunk-GUQOEBFW.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkILC773N2js = require('./chunk-ILC773N2.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-J2IP352Y.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
16
|
+
var _chunkYCSFTFE3js = require('./chunk-YCSFTFE3.js');
|
|
17
|
+
require('./chunk-NX6I7V6C.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator =
|
|
22
|
+
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunk4H5Q5QOJjs.initGenerator; exports.withTerraformExecutor = _chunkYCSFTFE3js.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-FNB6U7XT.mjs";
|
|
3
|
+
import "./chunk-W32GVXAC.mjs";
|
|
4
|
+
import "./chunk-CISK74IB.mjs";
|
|
5
5
|
import "./chunk-23KFTIT2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VXTBM6CD.mjs";
|
|
9
9
|
import "./chunk-CA7S5MOH.mjs";
|
|
10
10
|
import {
|
|
11
11
|
base_terraform_executor_untyped_default
|
|
12
12
|
} from "./chunk-EL25IDXP.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Y2L7ETTJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
withTerraformExecutor
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-IYRRG6RY.mjs";
|
|
17
|
+
import "./chunk-6OOVQVET.mjs";
|
|
18
|
+
import "./chunk-F2UZQEKU.mjs";
|
|
19
19
|
export {
|
|
20
20
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
21
21
|
initGenerator,
|
package/dist/src/base/index.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
var _chunkILC773N2js = require('../../chunk-ILC773N2.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../../chunk-
|
|
7
|
+
var _chunkYCSFTFE3js = require('../../chunk-YCSFTFE3.js');
|
|
8
|
+
require('../../chunk-NX6I7V6C.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.withTerraformExecutor =
|
|
12
|
+
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.withTerraformExecutor = _chunkYCSFTFE3js.withTerraformExecutor;
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
} from "../../chunk-EL25IDXP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withTerraformExecutor
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-IYRRG6RY.mjs";
|
|
8
|
+
import "../../chunk-6OOVQVET.mjs";
|
|
9
|
+
import "../../chunk-F2UZQEKU.mjs";
|
|
10
10
|
export {
|
|
11
11
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
12
12
|
withTerraformExecutor
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkYCSFTFE3js = require('../../chunk-YCSFTFE3.js');
|
|
4
|
+
require('../../chunk-NX6I7V6C.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.withTerraformExecutor =
|
|
7
|
+
exports.withTerraformExecutor = _chunkYCSFTFE3js.withTerraformExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withTerraformExecutor
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-IYRRG6RY.mjs";
|
|
4
|
+
import "../../chunk-6OOVQVET.mjs";
|
|
5
|
+
import "../../chunk-F2UZQEKU.mjs";
|
|
6
6
|
export {
|
|
7
7
|
withTerraformExecutor
|
|
8
8
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkJ2IP352Yjs = require('../../../chunk-J2IP352Y.js');
|
|
4
|
+
require('../../../chunk-YCSFTFE3.js');
|
|
5
|
+
require('../../../chunk-NX6I7V6C.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkJ2IP352Yjs.executor_default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-Y2L7ETTJ.mjs";
|
|
4
|
+
import "../../../chunk-IYRRG6RY.mjs";
|
|
5
|
+
import "../../../chunk-6OOVQVET.mjs";
|
|
6
|
+
import "../../../chunk-F2UZQEKU.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkOFXBWSNEjs = require('../../../chunk-OFXBWSNE.js');
|
|
4
|
+
require('../../../chunk-YCSFTFE3.js');
|
|
5
|
+
require('../../../chunk-NX6I7V6C.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkOFXBWSNEjs.executor_default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-FNB6U7XT.mjs";
|
|
4
|
+
import "../../../chunk-IYRRG6RY.mjs";
|
|
5
|
+
import "../../../chunk-6OOVQVET.mjs";
|
|
6
|
+
import "../../../chunk-F2UZQEKU.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkQM5NZBC6js = require('../../../chunk-QM5NZBC6.js');
|
|
4
|
+
require('../../../chunk-YCSFTFE3.js');
|
|
5
|
+
require('../../../chunk-NX6I7V6C.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.default =
|
|
8
|
+
exports.default = _chunkQM5NZBC6js.executor_default;
|