@storm-software/terraform-tools 0.66.186 → 0.66.189
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 +29 -0
- package/dist/{chunk-Y2L7ETTJ.mjs → chunk-2OMK5XBV.mjs} +1 -1
- package/dist/{chunk-J2IP352Y.js → chunk-35XAQCIG.js} +2 -2
- package/dist/{chunk-6OOVQVET.mjs → chunk-5WQESBUL.mjs} +17 -8
- package/dist/{chunk-GNHLSO5S.mjs → chunk-63QCHNBN.mjs} +1 -1
- package/dist/{chunk-OFXBWSNE.js → chunk-AIMJGFAQ.js} +2 -2
- package/dist/{chunk-EPUKT7Q3.js → chunk-D34LI533.js} +2 -2
- package/dist/{chunk-CISK74IB.mjs → chunk-EJQKUB75.mjs} +1 -1
- package/dist/{chunk-QM5NZBC6.js → chunk-GVEGIPUX.js} +2 -2
- package/dist/{chunk-JS3GJBW5.mjs → chunk-NVE2K255.mjs} +2 -2
- package/dist/{chunk-FNB6U7XT.mjs → chunk-OF5PG3VF.mjs} +1 -1
- package/dist/{chunk-YCSFTFE3.js → chunk-P7CN5KBJ.js} +2 -2
- package/dist/{chunk-W32GVXAC.mjs → chunk-SGKW62J5.mjs} +1 -1
- package/dist/{chunk-NX6I7V6C.js → chunk-SXYKEVA5.js} +17 -8
- package/dist/{chunk-HVNJ25TH.js → chunk-XYKCMGVY.js} +159 -159
- package/dist/{chunk-IYRRG6RY.mjs → chunk-Y7F2EGB3.mjs} +1 -1
- 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 +10 -10
- package/dist/index.mjs +10 -10
- 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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.66.188](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.188) (05/15/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **workspace-tools** to **v1.295.73**
|
|
10
|
+
- Updated **config-tools** to **v1.190.13**
|
|
11
|
+
- Updated **config** to **v1.137.46**
|
|
12
|
+
|
|
13
|
+
## [0.66.187](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.187) (05/15/2026)
|
|
14
|
+
|
|
15
|
+
### Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated **workspace-tools** to **v1.295.72**
|
|
18
|
+
- Updated **config-tools** to **v1.190.12**
|
|
19
|
+
- Updated **config** to **v1.137.45**
|
|
20
|
+
|
|
21
|
+
## [0.66.186](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.186) (05/14/2026)
|
|
22
|
+
|
|
23
|
+
### Miscellaneous
|
|
24
|
+
|
|
25
|
+
- **monorepo:** Update `pnpm-lock.yaml` and packages' `README.md` files ([6f43d2237](https://github.com/storm-software/storm-ops/commit/6f43d2237))
|
|
26
|
+
- **workspace-tools:** Update default `nx.json` configurations ([da734b5f4](https://github.com/storm-software/storm-ops/commit/da734b5f4))
|
|
27
|
+
|
|
28
|
+
### Updated Dependencies
|
|
29
|
+
|
|
30
|
+
- Updated **workspace-tools** to **v1.295.71**
|
|
31
|
+
- Updated **config-tools** to **v1.190.11**
|
|
32
|
+
- Updated **config** to **v1.137.44**
|
|
33
|
+
|
|
5
34
|
## [0.66.185](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.185) (05/14/2026)
|
|
6
35
|
|
|
7
36
|
### Miscellaneous
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/apply/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "apply");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -348,22 +348,31 @@ var getStopwatch = (name) => {
|
|
|
348
348
|
);
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
var MAX_DEPTH =
|
|
351
|
+
var MAX_DEPTH = 10;
|
|
352
352
|
var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
353
353
|
if (depth2 > MAX_DEPTH) {
|
|
354
354
|
return "<max depth>";
|
|
355
355
|
}
|
|
356
|
-
const prefix = options.prefix ?? "
|
|
356
|
+
const prefix = options.prefix ?? "";
|
|
357
357
|
const skip = options.skip ?? [];
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
${
|
|
361
|
-
(
|
|
358
|
+
const sort = options.sort ?? true;
|
|
359
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
360
|
+
${message.map(
|
|
361
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
362
|
+
item,
|
|
363
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
364
|
+
depth2 + 1
|
|
365
|
+
)}`
|
|
366
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
367
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
368
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
369
|
+
(key2) => !skip.includes(key2)
|
|
370
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
362
371
|
message[key],
|
|
363
|
-
{ prefix: `${prefix}
|
|
372
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
364
373
|
depth2 + 1
|
|
365
374
|
) : message[key]}`
|
|
366
|
-
).join("\n")}` : message;
|
|
375
|
+
).join("\n")}` : String(message);
|
|
367
376
|
};
|
|
368
377
|
var _isFunction = (value) => {
|
|
369
378
|
try {
|
|
@@ -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__17f35255c9b2c5d65e514e3b165d24e6/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 _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/destroy/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkP7CN5KBJjs.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 _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/plan/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkP7CN5KBJjs.withTerraformExecutor.call(void 0, "plan");
|
|
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 _chunkP7CN5KBJjs = require('./chunk-P7CN5KBJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/output/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkP7CN5KBJjs.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-5WQESBUL.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__dirname
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-63QCHNBN.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 _chunkSXYKEVA5js = require('./chunk-SXYKEVA5.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 _chunkSXYKEVA5js.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")) {
|
|
@@ -348,22 +348,31 @@ var getStopwatch = (name) => {
|
|
|
348
348
|
);
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
var MAX_DEPTH =
|
|
351
|
+
var MAX_DEPTH = 10;
|
|
352
352
|
var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
353
353
|
if (depth2 > MAX_DEPTH) {
|
|
354
354
|
return "<max depth>";
|
|
355
355
|
}
|
|
356
|
-
const prefix = _nullishCoalesce(options.prefix, () => ( "
|
|
356
|
+
const prefix = _nullishCoalesce(options.prefix, () => ( ""));
|
|
357
357
|
const skip = _nullishCoalesce(options.skip, () => ( []));
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
${
|
|
361
|
-
(
|
|
358
|
+
const sort = _nullishCoalesce(options.sort, () => ( true));
|
|
359
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
360
|
+
${message.map(
|
|
361
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
362
|
+
item,
|
|
363
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
364
|
+
depth2 + 1
|
|
365
|
+
)}`
|
|
366
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
367
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
368
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
369
|
+
(key2) => !skip.includes(key2)
|
|
370
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
362
371
|
message[key],
|
|
363
|
-
{ prefix: `${prefix}
|
|
372
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
364
373
|
depth2 + 1
|
|
365
374
|
) : message[key]}`
|
|
366
|
-
).join("\n")}` : message;
|
|
375
|
+
).join("\n")}` : String(message);
|
|
367
376
|
};
|
|
368
377
|
var _isFunction = (value) => {
|
|
369
378
|
try {
|