@storm-software/terraform-tools 0.64.1 → 0.64.3

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-NU2U34L5.js → chunk-DE6IBBYR.js} +2 -2
  4. package/dist/{chunk-NE6UXXXJ.js → chunk-DLA63M27.js} +2 -2
  5. package/dist/{chunk-SDFTWIXT.mjs → chunk-GUOGMMKN.mjs} +1 -1
  6. package/dist/{chunk-FSWZT3BT.mjs → chunk-H3BT3LBN.mjs} +1 -1
  7. package/dist/{chunk-IU6VUV4H.js → chunk-JDV5QUWG.js} +2 -2
  8. package/dist/{chunk-JE5CFXYT.js → chunk-JHJFLEJ3.js} +2 -2
  9. package/dist/{chunk-OHLLDMOL.mjs → chunk-JMPD2YXY.mjs} +1 -1
  10. package/dist/{chunk-IGPTNPTU.mjs → chunk-LDMMSOQW.mjs} +1 -1
  11. package/dist/{chunk-7NK773UQ.mjs → chunk-ODW5G3WY.mjs} +1 -1
  12. package/dist/{chunk-OVAEG5B6.js → chunk-PQUO4YRH.js} +2 -2
  13. package/dist/{chunk-JEY5IDBE.mjs → chunk-R4C74FTE.mjs} +1 -1
  14. package/dist/{chunk-L3PVSBJE.mjs → chunk-WO3OUOKC.mjs} +1 -1
  15. package/dist/{chunk-37MGUMWD.js → chunk-ZPLASCRL.js} +23 -23
  16. package/dist/{chunk-RJ7PALZL.js → chunk-ZSVUMNQ4.js} +106 -106
  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.64.2](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.64.2) (2025-09-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace package links
10
+ ([89e2511ad](https://github.com/storm-software/storm-ops/commit/89e2511ad))
11
+
12
+ ## [0.64.1](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.64.1) (2025-09-18)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **cspell:** Added additional tools to CSpell dictionary
17
+ ([1d91dc573](https://github.com/storm-software/storm-ops/commit/1d91dc573))
18
+ - **monorepo:** Update workspace package links
19
+ ([dfd8585e8](https://github.com/storm-software/storm-ops/commit/dfd8585e8))
20
+
5
21
  ## [0.64.0](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.64.0) (2025-09-16)
6
22
 
7
23
  ### Features
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.63.7-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.64.1-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,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIU6VUV4Hjs = require('./chunk-IU6VUV4H.js');
3
+ var _chunkJDV5QUWGjs = require('./chunk-JDV5QUWG.js');
4
4
 
5
5
  // src/executors/output/executor.ts
6
- var executor_default = _chunkIU6VUV4Hjs.withTerraformExecutor.call(void 0, "output");
6
+ var executor_default = _chunkJDV5QUWGjs.withTerraformExecutor.call(void 0, "output");
7
7
 
8
8
 
9
9
 
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIU6VUV4Hjs = require('./chunk-IU6VUV4H.js');
3
+ var _chunkJDV5QUWGjs = require('./chunk-JDV5QUWG.js');
4
4
 
5
5
  // src/executors/plan/executor.ts
6
- var executor_default = _chunkIU6VUV4Hjs.withTerraformExecutor.call(void 0, "plan");
6
+ var executor_default = _chunkJDV5QUWGjs.withTerraformExecutor.call(void 0, "plan");
7
7
 
8
8
 
9
9
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-OHLLDMOL.mjs";
3
+ } from "./chunk-JMPD2YXY.mjs";
4
4
 
5
5
  // src/executors/plan/executor.ts
6
6
  var executor_default = withTerraformExecutor("plan");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-OHLLDMOL.mjs";
3
+ } from "./chunk-JMPD2YXY.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 _chunk37MGUMWDjs = require('./chunk-37MGUMWD.js');
3
+ var _chunkZPLASCRLjs = require('./chunk-ZPLASCRL.js');
4
4
 
5
5
  // ../config-tools/src/utilities/run.ts
6
6
  var _child_process = require('child_process');
@@ -24,7 +24,7 @@ var run = (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => (
24
24
  // src/base/terraform-executor.ts
25
25
  var _shelljs = require('shelljs');
26
26
  var withTerraformExecutor = (command, executorOptions = {}) => async (_options, context) => {
27
- return _chunk37MGUMWDjs.withRunExecutor.call(void 0,
27
+ return _chunkZPLASCRLjs.withRunExecutor.call(void 0,
28
28
  `Terraform \`${command}\` Command Executor`,
29
29
  async (options, context2, config) => {
30
30
  if (!_shelljs.which.call(void 0, "tofu") || !_shelljs.which.call(void 0, "terraform")) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIU6VUV4Hjs = require('./chunk-IU6VUV4H.js');
3
+ var _chunkJDV5QUWGjs = require('./chunk-JDV5QUWG.js');
4
4
 
5
5
  // src/executors/destroy/executor.ts
6
- var executor_default = _chunkIU6VUV4Hjs.withTerraformExecutor.call(void 0, "destroy");
6
+ var executor_default = _chunkJDV5QUWGjs.withTerraformExecutor.call(void 0, "destroy");
7
7
 
8
8
 
9
9
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-7NK773UQ.mjs";
3
+ } from "./chunk-ODW5G3WY.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/run.ts
6
6
  import { exec, execSync } from "node:child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-OHLLDMOL.mjs";
3
+ } from "./chunk-JMPD2YXY.mjs";
4
4
 
5
5
  // src/executors/apply/executor.ts
6
6
  var executor_default = withTerraformExecutor("apply");
@@ -315,7 +315,7 @@ var correctPaths = function(path) {
315
315
  return ".";
316
316
  }
317
317
  path = normalizeWindowsPath(path);
318
- const isUNCPath = path.match(_UNC_REGEX);
318
+ const isUNCPath = path?.match(_UNC_REGEX);
319
319
  const isPathAbsolute = isAbsolute(path);
320
320
  const trailingSeparator = path[path.length - 1] === "/";
321
321
  path = normalizeString(path, !isPathAbsolute);
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIU6VUV4Hjs = require('./chunk-IU6VUV4H.js');
3
+ var _chunkJDV5QUWGjs = require('./chunk-JDV5QUWG.js');
4
4
 
5
5
  // src/executors/apply/executor.ts
6
- var executor_default = _chunkIU6VUV4Hjs.withTerraformExecutor.call(void 0, "apply");
6
+ var executor_default = _chunkJDV5QUWGjs.withTerraformExecutor.call(void 0, "apply");
7
7
 
8
8
 
9
9
 
@@ -17,7 +17,7 @@ import {
17
17
  writeSuccess,
18
18
  writeTrace,
19
19
  writeWarning
20
- } from "./chunk-7NK773UQ.mjs";
20
+ } from "./chunk-ODW5G3WY.mjs";
21
21
  import {
22
22
  __dirname
23
23
  } from "./chunk-QFSU34UE.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withTerraformExecutor
3
- } from "./chunk-OHLLDMOL.mjs";
3
+ } from "./chunk-JMPD2YXY.mjs";
4
4
 
5
5
  // src/executors/destroy/executor.ts
6
6
  var executor_default = withTerraformExecutor("destroy");
@@ -315,7 +315,7 @@ var correctPaths = function(path) {
315
315
  return ".";
316
316
  }
317
317
  path = normalizeWindowsPath(path);
318
- const isUNCPath = path.match(_UNC_REGEX);
318
+ const isUNCPath = _optionalChain([path, 'optionalAccess', _27 => _27.match, 'call', _28 => _28(_UNC_REGEX)]);
319
319
  const isPathAbsolute = isAbsolute(path);
320
320
  const trailingSeparator = path[path.length - 1] === "/";
321
321
  path = normalizeString(path, !isPathAbsolute);
@@ -531,7 +531,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
531
531
  if (result.includes(`{${optionKey}}`)) {
532
532
  result = result.replaceAll(
533
533
  `{${optionKey}}`,
534
- _optionalChain([tokenParams, 'optionalAccess', _27 => _27[optionKey]]) || ""
534
+ _optionalChain([tokenParams, 'optionalAccess', _29 => _29[optionKey]]) || ""
535
535
  );
536
536
  }
537
537
  }
@@ -553,7 +553,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
553
553
  if (result.includes("{workspaceRoot}")) {
554
554
  result = result.replaceAll(
555
555
  "{workspaceRoot}",
556
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _28 => _28.config, 'optionalAccess', _29 => _29.workspaceRoot]))), () => ( findWorkspaceRoot()))
556
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _30 => _30.config, 'optionalAccess', _31 => _31.workspaceRoot]))), () => ( findWorkspaceRoot()))
557
557
  );
558
558
  }
559
559
  return result;
@@ -1258,7 +1258,7 @@ function applyDefaultConfig(config) {
1258
1258
  if (!config.contact) {
1259
1259
  config.contact = `${config.homepage}/contact`;
1260
1260
  }
1261
- if (!_optionalChain([config, 'access', _30 => _30.error, 'optionalAccess', _31 => _31.codesFile]) || !_optionalChain([config, 'optionalAccess', _32 => _32.error, 'optionalAccess', _33 => _33.url])) {
1261
+ if (!_optionalChain([config, 'access', _32 => _32.error, 'optionalAccess', _33 => _33.codesFile]) || !_optionalChain([config, 'optionalAccess', _34 => _34.error, 'optionalAccess', _35 => _35.url])) {
1262
1262
  config.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
1263
1263
  if (config.homepage) {
1264
1264
  config.error.url ??= `${config.homepage}/errors`;
@@ -1276,7 +1276,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
1276
1276
  cwd: workspacePath,
1277
1277
  packageJson: true,
1278
1278
  name: fileName,
1279
- envName: _optionalChain([fileName, 'optionalAccess', _34 => _34.toUpperCase, 'call', _35 => _35()]),
1279
+ envName: _optionalChain([fileName, 'optionalAccess', _36 => _36.toUpperCase, 'call', _37 => _37()]),
1280
1280
  jitiOptions: {
1281
1281
  debug: false,
1282
1282
  fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
@@ -1290,7 +1290,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
1290
1290
  cwd: workspacePath,
1291
1291
  packageJson: true,
1292
1292
  name: fileName,
1293
- envName: _optionalChain([fileName, 'optionalAccess', _36 => _36.toUpperCase, 'call', _37 => _37()]),
1293
+ envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
1294
1294
  jitiOptions: {
1295
1295
  debug: false,
1296
1296
  fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
@@ -1324,7 +1324,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
1324
1324
  )
1325
1325
  );
1326
1326
  for (const result2 of results) {
1327
- if (_optionalChain([result2, 'optionalAccess', _38 => _38.config]) && _optionalChain([result2, 'optionalAccess', _39 => _39.configFile]) && Object.keys(result2.config).length > 0) {
1327
+ if (_optionalChain([result2, 'optionalAccess', _40 => _40.config]) && _optionalChain([result2, 'optionalAccess', _41 => _41.configFile]) && Object.keys(result2.config).length > 0) {
1328
1328
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
1329
1329
  writeTrace(
1330
1330
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
@@ -1563,16 +1563,16 @@ var getBaseThemeColorsEnv = (prefix) => {
1563
1563
  var setExtensionEnv = (extensionName, extension) => {
1564
1564
  for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
1565
1565
  if (extension[key]) {
1566
- const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _40 => _40.replace, 'call', _41 => _41(
1566
+ const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _42 => _42.replace, 'call', _43 => _43(
1567
1567
  /([A-Z])+/g,
1568
- (input) => input ? _optionalChain([input, 'access', _42 => _42[0], 'optionalAccess', _43 => _43.toUpperCase, 'call', _44 => _44()]) + input.slice(1) : ""
1569
- ), 'access', _45 => _45.split, 'call', _46 => _46(/(?=[A-Z])|[.\-\s_]/), 'access', _47 => _47.map, 'call', _48 => _48((x) => x.toLowerCase())]), () => ( []));
1568
+ (input) => input ? _optionalChain([input, 'access', _44 => _44[0], 'optionalAccess', _45 => _45.toUpperCase, 'call', _46 => _46()]) + input.slice(1) : ""
1569
+ ), 'access', _47 => _47.split, 'call', _48 => _48(/(?=[A-Z])|[.\-\s_]/), 'access', _49 => _49.map, 'call', _50 => _50((x) => x.toLowerCase())]), () => ( []));
1570
1570
  let extensionKey;
1571
1571
  if (result.length === 0) {
1572
1572
  return;
1573
1573
  }
1574
1574
  if (result.length === 1) {
1575
- extensionKey = _nullishCoalesce(_optionalChain([result, 'access', _49 => _49[0], 'optionalAccess', _50 => _50.toUpperCase, 'call', _51 => _51()]), () => ( ""));
1575
+ extensionKey = _nullishCoalesce(_optionalChain([result, 'access', _51 => _51[0], 'optionalAccess', _52 => _52.toUpperCase, 'call', _53 => _53()]), () => ( ""));
1576
1576
  } else {
1577
1577
  extensionKey = result.reduce((ret, part) => {
1578
1578
  return `${ret}_${part.toLowerCase()}`;
@@ -1760,7 +1760,7 @@ var setConfigEnv = (config) => {
1760
1760
  process.env.NODE_ENV = config.mode;
1761
1761
  process.env.ENVIRONMENT = config.mode;
1762
1762
  }
1763
- if (_optionalChain([config, 'access', _52 => _52.colors, 'optionalAccess', _53 => _53.base, 'optionalAccess', _54 => _54.light]) || _optionalChain([config, 'access', _55 => _55.colors, 'optionalAccess', _56 => _56.base, 'optionalAccess', _57 => _57.dark])) {
1763
+ if (_optionalChain([config, 'access', _54 => _54.colors, 'optionalAccess', _55 => _55.base, 'optionalAccess', _56 => _56.light]) || _optionalChain([config, 'access', _57 => _57.colors, 'optionalAccess', _58 => _58.base, 'optionalAccess', _59 => _59.dark])) {
1764
1764
  for (const key of Object.keys(config.colors)) {
1765
1765
  setThemeColorsEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
1766
1766
  }
@@ -1821,7 +1821,7 @@ var setConfigEnv = (config) => {
1821
1821
  }
1822
1822
  };
1823
1823
  var setThemeColorsEnv = (prefix, config) => {
1824
- return _optionalChain([config, 'optionalAccess', _58 => _58.light, 'optionalAccess', _59 => _59.brand]) || _optionalChain([config, 'optionalAccess', _60 => _60.dark, 'optionalAccess', _61 => _61.brand]) ? setMultiThemeColorsEnv(prefix, config) : setSingleThemeColorsEnv(prefix, config);
1824
+ return _optionalChain([config, 'optionalAccess', _60 => _60.light, 'optionalAccess', _61 => _61.brand]) || _optionalChain([config, 'optionalAccess', _62 => _62.dark, 'optionalAccess', _63 => _63.brand]) ? setMultiThemeColorsEnv(prefix, config) : setSingleThemeColorsEnv(prefix, config);
1825
1825
  };
1826
1826
  var setSingleThemeColorsEnv = (prefix, config) => {
1827
1827
  if (config.dark) {
@@ -1933,7 +1933,7 @@ var _extension_cache = /* @__PURE__ */ new WeakMap();
1933
1933
  var _static_cache = void 0;
1934
1934
  var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
1935
1935
  let result;
1936
- if (!_optionalChain([_static_cache, 'optionalAccess', _62 => _62.data]) || !_optionalChain([_static_cache, 'optionalAccess', _63 => _63.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1936
+ if (!_optionalChain([_static_cache, 'optionalAccess', _64 => _64.data]) || !_optionalChain([_static_cache, 'optionalAccess', _65 => _65.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1937
1937
  let _workspaceRoot = workspaceRoot;
1938
1938
  if (!_workspaceRoot) {
1939
1939
  _workspaceRoot = findWorkspaceRoot();
@@ -1964,7 +1964,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1964
1964
  result.workspaceRoot ??= _workspaceRoot;
1965
1965
  } catch (error) {
1966
1966
  throw new Error(
1967
- `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _64 => _64.message]) ? `: ${error.message}` : ""}
1967
+ `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _66 => _66.message]) ? `: ${error.message}` : ""}
1968
1968
 
1969
1969
  Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
1970
1970
  configInput
@@ -2039,7 +2039,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
2039
2039
  let options = _options;
2040
2040
  let config = {};
2041
2041
  try {
2042
- if (!_optionalChain([context, 'access', _65 => _65.projectsConfigurations, 'optionalAccess', _66 => _66.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2042
+ if (!_optionalChain([context, 'access', _67 => _67.projectsConfigurations, 'optionalAccess', _68 => _68.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
2043
2043
  throw new Error(
2044
2044
  "The Build process failed because the context is not valid. Please run this command from a workspace."
2045
2045
  );
@@ -2062,7 +2062,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
2062
2062
  );
2063
2063
  config = await getConfig(workspaceRoot);
2064
2064
  }
2065
- if (_optionalChain([executorOptions, 'optionalAccess', _67 => _67.hooks, 'optionalAccess', _68 => _68.applyDefaultOptions])) {
2065
+ if (_optionalChain([executorOptions, 'optionalAccess', _69 => _69.hooks, 'optionalAccess', _70 => _70.applyDefaultOptions])) {
2066
2066
  writeDebug("Running the applyDefaultOptions hook...", config);
2067
2067
  options = await Promise.resolve(
2068
2068
  executorOptions.hooks.applyDefaultOptions(options, config)
@@ -2090,7 +2090,7 @@ ${formatLogMessage(tokenized)}
2090
2090
  `,
2091
2091
  config
2092
2092
  );
2093
- if (_optionalChain([executorOptions, 'optionalAccess', _69 => _69.hooks, 'optionalAccess', _70 => _70.preProcess])) {
2093
+ if (_optionalChain([executorOptions, 'optionalAccess', _71 => _71.hooks, 'optionalAccess', _72 => _72.preProcess])) {
2094
2094
  writeDebug("Running the preProcess hook...", config);
2095
2095
  await Promise.resolve(
2096
2096
  executorOptions.hooks.preProcess(tokenized, config)
@@ -2098,7 +2098,7 @@ ${formatLogMessage(tokenized)}
2098
2098
  writeDebug("Completed the preProcess hook", config);
2099
2099
  }
2100
2100
  const ret = executorFn(tokenized, context, config);
2101
- if (_isFunction2(_optionalChain([ret, 'optionalAccess', _71 => _71.next]))) {
2101
+ if (_isFunction2(_optionalChain([ret, 'optionalAccess', _73 => _73.next]))) {
2102
2102
  const asyncGen = ret;
2103
2103
  for await (const iter of asyncGen) {
2104
2104
  void iter;
@@ -2107,7 +2107,7 @@ ${formatLogMessage(tokenized)}
2107
2107
  const result = await Promise.resolve(
2108
2108
  ret
2109
2109
  );
2110
- if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _72 => _72.error, 'optionalAccess', _73 => _73.message]) && typeof _optionalChain([result, 'optionalAccess', _74 => _74.error, 'optionalAccess', _75 => _75.message]) === "string" && _optionalChain([result, 'optionalAccess', _76 => _76.error, 'optionalAccess', _77 => _77.name]) && typeof _optionalChain([result, 'optionalAccess', _78 => _78.error, 'optionalAccess', _79 => _79.name]) === "string")) {
2110
+ if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _74 => _74.error, 'optionalAccess', _75 => _75.message]) && typeof _optionalChain([result, 'optionalAccess', _76 => _76.error, 'optionalAccess', _77 => _77.message]) === "string" && _optionalChain([result, 'optionalAccess', _78 => _78.error, 'optionalAccess', _79 => _79.name]) && typeof _optionalChain([result, 'optionalAccess', _80 => _80.error, 'optionalAccess', _81 => _81.name]) === "string")) {
2111
2111
  writeTrace(
2112
2112
  `Failure determined by the ${name} executor
2113
2113
  ${formatLogMessage(result)}`,
@@ -2115,10 +2115,10 @@ ${formatLogMessage(result)}`,
2115
2115
  );
2116
2116
  console.error(result);
2117
2117
  throw new Error(`The ${name} executor failed to run`, {
2118
- cause: _optionalChain([result, 'optionalAccess', _80 => _80.error])
2118
+ cause: _optionalChain([result, 'optionalAccess', _82 => _82.error])
2119
2119
  });
2120
2120
  }
2121
- if (_optionalChain([executorOptions, 'optionalAccess', _81 => _81.hooks, 'optionalAccess', _82 => _82.postProcess])) {
2121
+ if (_optionalChain([executorOptions, 'optionalAccess', _83 => _83.hooks, 'optionalAccess', _84 => _84.postProcess])) {
2122
2122
  writeDebug("Running the postProcess hook...", config);
2123
2123
  await Promise.resolve(executorOptions.hooks.postProcess(config));
2124
2124
  writeDebug("Completed the postProcess hook", config);
@@ -2148,7 +2148,7 @@ ${formatLogMessage(result)}`,
2148
2148
  };
2149
2149
  var _isFunction2 = (value) => {
2150
2150
  try {
2151
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _83 => _83.constructor]) && _optionalChain([value, 'optionalAccess', _84 => _84.call]) && _optionalChain([value, 'optionalAccess', _85 => _85.apply]));
2151
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _85 => _85.constructor]) && _optionalChain([value, 'optionalAccess', _86 => _86.call]) && _optionalChain([value, 'optionalAccess', _87 => _87.apply]));
2152
2152
  } catch (e) {
2153
2153
  return false;
2154
2154
  }