@storm-software/terraform-tools 0.66.4 → 0.66.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-IVQEPQFZ.mjs → chunk-2DMNEOTY.mjs} +1 -1
  4. package/dist/{chunk-NT6AHANU.js → chunk-4KZE37RJ.js} +2 -2
  5. package/dist/{chunk-WNXMATN6.mjs → chunk-5WM6Y5TA.mjs} +1 -1
  6. package/dist/{chunk-3EVFQSSJ.mjs → chunk-CDTJAYLJ.mjs} +8 -8
  7. package/dist/{chunk-LOVMG432.js → chunk-CLOQAFSP.js} +2 -2
  8. package/dist/{chunk-WBIP7MV3.mjs → chunk-IGSKGEFE.mjs} +1 -1
  9. package/dist/{chunk-N3RM6YFG.mjs → chunk-KFIB54X3.mjs} +10 -6
  10. package/dist/{chunk-7FW6TNQR.mjs → chunk-MLCA6E37.mjs} +1 -1
  11. package/dist/{chunk-TKJZM7NN.js → chunk-OJPLIJFJ.js} +2 -2
  12. package/dist/{chunk-GJ5KMYYU.mjs → chunk-RJHUDWTG.mjs} +1 -1
  13. package/dist/{chunk-P7HT4DOZ.js → chunk-S63BU6TG.js} +146 -142
  14. package/dist/{chunk-QBESBX3X.js → chunk-UTU6JZAG.js} +2 -2
  15. package/dist/{chunk-TFXQTMWW.js → chunk-Y4UTAL3Q.js} +2 -2
  16. package/dist/{chunk-PVFVZPEM.js → chunk-YDAVIV5R.js} +8 -8
  17. package/dist/executors.js +6 -6
  18. package/dist/executors.mjs +6 -6
  19. package/dist/generators.js +3 -3
  20. package/dist/generators.mjs +2 -2
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/base/index.js +3 -3
  24. package/dist/src/base/index.mjs +2 -2
  25. package/dist/src/base/terraform-executor.js +3 -3
  26. package/dist/src/base/terraform-executor.mjs +2 -2
  27. package/dist/src/executors/apply/executor.js +4 -4
  28. package/dist/src/executors/apply/executor.mjs +3 -3
  29. package/dist/src/executors/destroy/executor.js +4 -4
  30. package/dist/src/executors/destroy/executor.mjs +3 -3
  31. package/dist/src/executors/output/executor.js +4 -4
  32. package/dist/src/executors/output/executor.mjs +3 -3
  33. package/dist/src/executors/plan/executor.js +4 -4
  34. package/dist/src/executors/plan/executor.mjs +3 -3
  35. package/dist/src/generators/init/init.js +3 -3
  36. package/dist/src/generators/init/init.mjs +2 -2
  37. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.66.5](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.5) (2025-10-17)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([3ec988077](https://github.com/storm-software/storm-ops/commit/3ec988077))
11
+
12
+ ## [0.66.4](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.4) (2025-10-17)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **cspell:** Added `powerlines` to CSpell dictionary
17
+ ([98f024c7e](https://github.com/storm-software/storm-ops/commit/98f024c7e))
18
+ - **monorepo:** Update workspace package links
19
+ ([eff879a87](https://github.com/storm-software/storm-ops/commit/eff879a87))
20
+
5
21
  ## [0.66.3](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.66.3) (2025-10-17)
6
22
 
7
23
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.66.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.66.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Terraform Tools](#storm-terraform-tools)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-3EVFQSSJ.mjs";
3
+ } from "./chunk-CDTJAYLJ.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/run.ts
6
6
  import { exec, execSync } from "node:child_process";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkTKJZM7NNjs = require('./chunk-TKJZM7NN.js');
3
+ var _chunkOJPLIJFJjs = require('./chunk-OJPLIJFJ.js');
4
4
 
5
5
  // src/executors/plan/executor.ts
6
- var executor_default = _chunkTKJZM7NNjs.withTerraformExecutor.call(void 0, "plan");
6
+ var executor_default = _chunkOJPLIJFJjs.withTerraformExecutor.call(void 0, "plan");
7
7
 
8
8
 
9
9
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IVQEPQFZ.mjs";
3
+ } from "./chunk-2DMNEOTY.mjs";
4
4
 
5
5
  // src/executors/plan/executor.ts
6
6
  var executor_default = withTerraformExecutor("plan");
@@ -2113,15 +2113,15 @@ ${formatLogMessage(tokenized)}
2113
2113
  ret
2114
2114
  );
2115
2115
  if (result && (!result.success || result.error && result?.error?.message && typeof result?.error?.message === "string" && result?.error?.name && typeof result?.error?.name === "string")) {
2116
- writeTrace(
2117
- `Failure determined by the ${name} executor
2118
- ${formatLogMessage(result)}`,
2119
- config
2116
+ throw new Error(
2117
+ `Failure determined while running the ${name} executor
2118
+ ${formatLogMessage(
2119
+ result
2120
+ )}`,
2121
+ {
2122
+ cause: result?.error
2123
+ }
2120
2124
  );
2121
- console.error(result);
2122
- throw new Error(`The ${name} executor failed to run`, {
2123
- cause: result?.error
2124
- });
2125
2125
  }
2126
2126
  if (executorOptions?.hooks?.postProcess) {
2127
2127
  writeDebug("Running the postProcess hook...", config);
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkTKJZM7NNjs = require('./chunk-TKJZM7NN.js');
3
+ var _chunkOJPLIJFJjs = require('./chunk-OJPLIJFJ.js');
4
4
 
5
5
  // src/executors/output/executor.ts
6
- var executor_default = _chunkTKJZM7NNjs.withTerraformExecutor.call(void 0, "output");
6
+ var executor_default = _chunkOJPLIJFJjs.withTerraformExecutor.call(void 0, "output");
7
7
 
8
8
 
9
9
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IVQEPQFZ.mjs";
3
+ } from "./chunk-2DMNEOTY.mjs";
4
4
 
5
5
  // src/executors/apply/executor.ts
6
6
  var executor_default = withTerraformExecutor("apply");
@@ -17,7 +17,7 @@ import {
17
17
  writeSuccess,
18
18
  writeTrace,
19
19
  writeWarning
20
- } from "./chunk-3EVFQSSJ.mjs";
20
+ } from "./chunk-CDTJAYLJ.mjs";
21
21
  import {
22
22
  __dirname
23
23
  } from "./chunk-EQLCXKOK.mjs";
@@ -856,13 +856,17 @@ async function generatePackageJson(context) {
856
856
  // ../tsup/src/index.ts
857
857
  import { build as tsup } from "tsup";
858
858
  async function build(options) {
859
- writeDebug(
860
- ` \u{1F680} Running ${options.name || "tsup"} build`,
861
- options.workspaceConfig
862
- );
859
+ if (!options.silent) {
860
+ writeDebug(
861
+ ` \u{1F680} Running ${options.name || "tsup"} build`,
862
+ options.workspaceConfig
863
+ );
864
+ }
863
865
  const stopwatch = getStopwatch(`${options.name || "tsup"} build`);
864
866
  await tsup(options);
865
- stopwatch();
867
+ if (!options.silent) {
868
+ stopwatch();
869
+ }
866
870
  }
867
871
 
868
872
  // ../esbuild/src/tsup.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IVQEPQFZ.mjs";
3
+ } from "./chunk-2DMNEOTY.mjs";
4
4
 
5
5
  // src/executors/output/executor.ts
6
6
  var executor_default = withTerraformExecutor("output");
@@ -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 _chunkPVFVZPEMjs = require('./chunk-PVFVZPEM.js');
3
+ var _chunkYDAVIV5Rjs = require('./chunk-YDAVIV5R.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 _chunkPVFVZPEMjs.withRunExecutor.call(void 0,
28
+ return _chunkYDAVIV5Rjs.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")) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-IVQEPQFZ.mjs";
3
+ } from "./chunk-2DMNEOTY.mjs";
4
4
 
5
5
  // src/executors/destroy/executor.ts
6
6
  var executor_default = withTerraformExecutor("destroy");