@storm-software/terraform-tools 0.54.40 → 0.54.41

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.54.41](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.41) (2025-03-17)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([90d1828f9](https://github.com/storm-software/storm-ops/commit/90d1828f9))
11
+
5
12
  ## [0.54.40](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.40) (2025-03-17)
6
13
 
7
14
  ### 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.54.39-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.54.40-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 -->
@@ -1276,12 +1276,16 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1276
1276
  };
1277
1277
  }, {})
1278
1278
  },
1279
- inject: _defu2.default.call(void 0, [
1279
+ inject: [
1280
1280
  options.format === "cjs" && options.injectShims ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1281
1281
  options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
1282
- ], _nullishCoalesce(options.inject, () => ( []))).filter(Boolean)
1282
+ ]
1283
1283
  };
1284
1284
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1285
+ if (options.inject) {
1286
+ options.inject = _defu2.default.call(void 0, result.inject, options.inject);
1287
+ }
1288
+ _optionalChain([options, 'access', _48 => _48.inject, 'optionalAccess', _49 => _49.filter, 'call', _50 => _50(Boolean)]);
1285
1289
  delete result.entry;
1286
1290
  delete result.outputPath;
1287
1291
  stopwatch();
@@ -1393,6 +1397,7 @@ async function executeEsBuild(context2) {
1393
1397
  delete options.renderers;
1394
1398
  delete options.config;
1395
1399
  delete options.injectShims;
1400
+ delete options.external;
1396
1401
  _chunk7EE3ZWHRjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1397
1402
  ${_chunk7EE3ZWHRjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
1398
1403
  const result = await esbuild2.build(options);
@@ -1406,7 +1411,7 @@ ${_chunk7EE3ZWHRjs.formatLogMessage.call(void 0, options)}`, context2.options.co
1406
1411
  }
1407
1412
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1408
1413
  async function copyBuildAssets(context2) {
1409
- if (_optionalChain([context2, 'access', _48 => _48.result, 'optionalAccess', _49 => _49.errors, 'access', _50 => _50.length]) === 0) {
1414
+ if (_optionalChain([context2, 'access', _51 => _51.result, 'optionalAccess', _52 => _52.errors, 'access', _53 => _53.length]) === 0) {
1410
1415
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1411
1416
  const stopwatch = _chunk7EE3ZWHRjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1412
1417
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
@@ -1416,7 +1421,7 @@ async function copyBuildAssets(context2) {
1416
1421
  }
1417
1422
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1418
1423
  async function reportResults(context2) {
1419
- if (_optionalChain([context2, 'access', _51 => _51.result, 'optionalAccess', _52 => _52.errors, 'access', _53 => _53.length]) === 0) {
1424
+ if (_optionalChain([context2, 'access', _54 => _54.result, 'optionalAccess', _55 => _55.errors, 'access', _56 => _56.length]) === 0) {
1420
1425
  if (context2.result.warnings.length > 0) {
1421
1426
  _chunk7EE3ZWHRjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1422
1427
  }
@@ -1517,14 +1522,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1517
1522
  // ../workspace-tools/src/executors/esbuild/executor.ts
1518
1523
  async function esbuildExecutorFn(options, context2, config) {
1519
1524
  _chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1520
- if (!_optionalChain([context2, 'access', _54 => _54.projectsConfigurations, 'optionalAccess', _55 => _55.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _56 => _56.projectsConfigurations, 'access', _57 => _57.projects, 'access', _58 => _58[context2.projectName], 'optionalAccess', _59 => _59.root])) {
1525
+ if (!_optionalChain([context2, 'access', _57 => _57.projectsConfigurations, 'optionalAccess', _58 => _58.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _59 => _59.projectsConfigurations, 'access', _60 => _60.projects, 'access', _61 => _61[context2.projectName], 'optionalAccess', _62 => _62.root])) {
1521
1526
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1522
1527
  }
1523
1528
  await build3({
1524
1529
  ...options,
1525
- projectRoot: _optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'optionalAccess', _62 => _62[context2.projectName], 'access', _63 => _63.root]),
1530
+ projectRoot: _optionalChain([context2, 'access', _63 => _63.projectsConfigurations, 'access', _64 => _64.projects, 'optionalAccess', _65 => _65[context2.projectName], 'access', _66 => _66.root]),
1526
1531
  projectName: context2.projectName,
1527
- sourceRoot: _optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'optionalAccess', _66 => _66[context2.projectName], 'optionalAccess', _67 => _67.sourceRoot]),
1532
+ sourceRoot: _optionalChain([context2, 'access', _67 => _67.projectsConfigurations, 'access', _68 => _68.projects, 'optionalAccess', _69 => _69[context2.projectName], 'optionalAccess', _70 => _70.sourceRoot]),
1528
1533
  format: options.format,
1529
1534
  platform: options.format
1530
1535
  });
@@ -1567,7 +1572,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
1567
1572
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
1568
1573
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
1569
1574
  async function sizeLimitExecutorFn(options, context2, config) {
1570
- if (!_optionalChain([context2, 'optionalAccess', _68 => _68.projectName]) || !_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1575
+ if (!_optionalChain([context2, 'optionalAccess', _71 => _71.projectName]) || !_optionalChain([context2, 'access', _72 => _72.projectsConfigurations, 'optionalAccess', _73 => _73.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1571
1576
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
1572
1577
  }
1573
1578
  _chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
@@ -1576,7 +1581,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
1576
1581
  _esbuild3.default,
1577
1582
  _esbuildwhy2.default
1578
1583
  ], {
1579
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _71 => _71.projectsConfigurations, 'access', _72 => _72.projects, 'access', _73 => _73[context2.projectName], 'optionalAccess', _74 => _74.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'access', _76 => _76.projects, 'access', _77 => _77[context2.projectName], 'optionalAccess', _78 => _78.root]), () => ( "./")), "src")))
1584
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _74 => _74.projectsConfigurations, 'access', _75 => _75.projects, 'access', _76 => _76[context2.projectName], 'optionalAccess', _77 => _77.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _78 => _78.projectsConfigurations, 'access', _79 => _79.projects, 'access', _80 => _80[context2.projectName], 'optionalAccess', _81 => _81.root]), () => ( "./")), "src")))
1580
1585
  }).then((result) => {
1581
1586
  _chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1582
1587
  });
@@ -1635,7 +1640,7 @@ var executor_default8 = _chunk7EE3ZWHRjs.withRunExecutor.call(void 0, "Typia run
1635
1640
  var _jiti = require('jiti');
1636
1641
  async function unbuildExecutorFn(options, context2, config) {
1637
1642
  _chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1638
- if (!_optionalChain([context2, 'access', _79 => _79.projectsConfigurations, 'optionalAccess', _80 => _80.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1643
+ if (!_optionalChain([context2, 'access', _82 => _82.projectsConfigurations, 'optionalAccess', _83 => _83.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1639
1644
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
1640
1645
  }
1641
1646
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -1718,7 +1723,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
1718
1723
  - workspaceRoot: ${workspaceRoot3}`, config);
1719
1724
  config = await _chunk7EE3ZWHRjs.getConfig.call(void 0, workspaceRoot3);
1720
1725
  }
1721
- if (_optionalChain([generatorOptions, 'optionalAccess', _81 => _81.hooks, 'optionalAccess', _82 => _82.applyDefaultOptions])) {
1726
+ if (_optionalChain([generatorOptions, 'optionalAccess', _84 => _84.hooks, 'optionalAccess', _85 => _85.applyDefaultOptions])) {
1722
1727
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1723
1728
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
1724
1729
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
@@ -1729,22 +1734,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1729
1734
  workspaceRoot: tree.root,
1730
1735
  config
1731
1736
  }, _chunk7EE3ZWHRjs.applyWorkspaceBaseTokens);
1732
- if (_optionalChain([generatorOptions, 'optionalAccess', _83 => _83.hooks, 'optionalAccess', _84 => _84.preProcess])) {
1737
+ if (_optionalChain([generatorOptions, 'optionalAccess', _86 => _86.hooks, 'optionalAccess', _87 => _87.preProcess])) {
1733
1738
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1734
1739
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
1735
1740
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1736
1741
  }
1737
1742
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
1738
1743
  if (result) {
1739
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _85 => _85.error, 'optionalAccess', _86 => _86.message]) && typeof _optionalChain([result, 'optionalAccess', _87 => _87.error, 'optionalAccess', _88 => _88.message]) === "string" && _optionalChain([result, 'optionalAccess', _89 => _89.error, 'optionalAccess', _90 => _90.name]) && typeof _optionalChain([result, 'optionalAccess', _91 => _91.error, 'optionalAccess', _92 => _92.name]) === "string") {
1744
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _88 => _88.error, 'optionalAccess', _89 => _89.message]) && typeof _optionalChain([result, 'optionalAccess', _90 => _90.error, 'optionalAccess', _91 => _91.message]) === "string" && _optionalChain([result, 'optionalAccess', _92 => _92.error, 'optionalAccess', _93 => _93.name]) && typeof _optionalChain([result, 'optionalAccess', _94 => _94.error, 'optionalAccess', _95 => _95.name]) === "string") {
1740
1745
  throw new Error(`The ${name} generator failed to run`, {
1741
- cause: _optionalChain([result, 'optionalAccess', _93 => _93.error])
1746
+ cause: _optionalChain([result, 'optionalAccess', _96 => _96.error])
1742
1747
  });
1743
1748
  } else if (result.success && result.data) {
1744
1749
  return result;
1745
1750
  }
1746
1751
  }
1747
- if (_optionalChain([generatorOptions, 'optionalAccess', _94 => _94.hooks, 'optionalAccess', _95 => _95.postProcess])) {
1752
+ if (_optionalChain([generatorOptions, 'optionalAccess', _97 => _97.hooks, 'optionalAccess', _98 => _98.postProcess])) {
1748
1753
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1749
1754
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1750
1755
  _chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
@@ -1910,15 +1915,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1910
1915
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
1911
1916
  let repository = {
1912
1917
  type: "github",
1913
- url: _optionalChain([config, 'optionalAccess', _96 => _96.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _97 => _97.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _98 => _98.namespace]) || _optionalChain([config, 'optionalAccess', _99 => _99.name]) || "repository"}.git`
1918
+ url: _optionalChain([config, 'optionalAccess', _99 => _99.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _100 => _100.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _101 => _101.namespace]) || _optionalChain([config, 'optionalAccess', _102 => _102.name]) || "repository"}.git`
1914
1919
  };
1915
1920
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
1916
1921
  if (tree.exists("package.json")) {
1917
1922
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
1918
- if (_optionalChain([packageJson, 'optionalAccess', _100 => _100.repository])) {
1923
+ if (_optionalChain([packageJson, 'optionalAccess', _103 => _103.repository])) {
1919
1924
  repository = packageJson.repository;
1920
1925
  }
1921
- if (_optionalChain([packageJson, 'optionalAccess', _101 => _101.description])) {
1926
+ if (_optionalChain([packageJson, 'optionalAccess', _104 => _104.description])) {
1922
1927
  description = packageJson.description;
1923
1928
  }
1924
1929
  }
@@ -1973,9 +1978,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1973
1978
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
1974
1979
  ...json,
1975
1980
  pnpm: {
1976
- ..._optionalChain([json, 'optionalAccess', _102 => _102.pnpm]),
1981
+ ..._optionalChain([json, 'optionalAccess', _105 => _105.pnpm]),
1977
1982
  overrides: {
1978
- ..._optionalChain([json, 'optionalAccess', _103 => _103.pnpm, 'optionalAccess', _104 => _104.overrides]),
1983
+ ..._optionalChain([json, 'optionalAccess', _106 => _106.pnpm, 'optionalAccess', _107 => _107.overrides]),
1979
1984
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
1980
1985
  }
1981
1986
  }
@@ -1989,10 +1994,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1989
1994
  ]);
1990
1995
  if (tree.exists("package.json")) {
1991
1996
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
1992
- if (_optionalChain([packageJson, 'optionalAccess', _105 => _105.repository])) {
1997
+ if (_optionalChain([packageJson, 'optionalAccess', _108 => _108.repository])) {
1993
1998
  repository = packageJson.repository;
1994
1999
  }
1995
- if (_optionalChain([packageJson, 'optionalAccess', _106 => _106.description])) {
2000
+ if (_optionalChain([packageJson, 'optionalAccess', _109 => _109.description])) {
1996
2001
  description = packageJson.description;
1997
2002
  }
1998
2003
  }
@@ -2040,24 +2045,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
2040
2045
  function createProjectTsConfigJson(tree, options) {
2041
2046
  const tsconfig = {
2042
2047
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
2043
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _107 => _107.tsconfigOptions]), () => ( {})),
2048
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _110 => _110.tsconfigOptions]), () => ( {})),
2044
2049
  compilerOptions: {
2045
2050
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2046
2051
  outDir: _chunk7EE3ZWHRjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2047
2052
  noEmit: true,
2048
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _108 => _108.tsconfigOptions, 'optionalAccess', _109 => _109.compilerOptions]), () => ( {}))
2053
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _111 => _111.tsconfigOptions, 'optionalAccess', _112 => _112.compilerOptions]), () => ( {}))
2049
2054
  },
2050
2055
  files: [
2051
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _110 => _110.tsconfigOptions, 'optionalAccess', _111 => _111.files]), () => ( []))
2056
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _113 => _113.tsconfigOptions, 'optionalAccess', _114 => _114.files]), () => ( []))
2052
2057
  ],
2053
2058
  include: [
2054
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _112 => _112.tsconfigOptions, 'optionalAccess', _113 => _113.include]), () => ( [])),
2059
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _115 => _115.tsconfigOptions, 'optionalAccess', _116 => _116.include]), () => ( [])),
2055
2060
  "src/**/*.ts",
2056
2061
  "src/**/*.js",
2057
2062
  "bin/**/*"
2058
2063
  ],
2059
2064
  exclude: [
2060
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _114 => _114.tsconfigOptions, 'optionalAccess', _115 => _115.exclude]), () => ( [])),
2065
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _117 => _117.tsconfigOptions, 'optionalAccess', _118 => _118.exclude]), () => ( [])),
2061
2066
  "jest.config.ts",
2062
2067
  "src/**/*.spec.ts",
2063
2068
  "src/**/*.test.ts"
@@ -2068,8 +2073,8 @@ function createProjectTsConfigJson(tree, options) {
2068
2073
  _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2069
2074
  async function normalizeOptions(tree, options, config) {
2070
2075
  let importPath = options.importPath;
2071
- if (!importPath && _optionalChain([config, 'optionalAccess', _116 => _116.namespace])) {
2072
- importPath = `@${_optionalChain([config, 'optionalAccess', _117 => _117.namespace])}/${options.name}`;
2076
+ if (!importPath && _optionalChain([config, 'optionalAccess', _119 => _119.namespace])) {
2077
+ importPath = `@${_optionalChain([config, 'optionalAccess', _120 => _120.namespace])}/${options.name}`;
2073
2078
  }
2074
2079
  if (options.publishable) {
2075
2080
  if (!importPath) {
@@ -2201,7 +2206,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
2201
2206
  name: "StormWorkspaceConfiguration"
2202
2207
  });
2203
2208
  _chunk7EE3ZWHRjs.writeTrace.call(void 0, jsonSchema, config);
2204
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _118 => _118.workspaceRoot]), () => ( _chunk7EE3ZWHRjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _119 => _119.outputFile, 'optionalAccess', _120 => _120.startsWith, 'call', _121 => _121("./")]) ? "" : "./");
2209
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _121 => _121.workspaceRoot]), () => ( _chunk7EE3ZWHRjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _122 => _122.outputFile, 'optionalAccess', _123 => _123.startsWith, 'call', _124 => _124("./")]) ? "" : "./");
2205
2210
  _chunk7EE3ZWHRjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2206
2211
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2207
2212
  spaces: 2
@@ -1277,12 +1277,16 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
1277
1277
  };
1278
1278
  }, {})
1279
1279
  },
1280
- inject: defu([
1280
+ inject: [
1281
1281
  options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
1282
1282
  options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : ""
1283
- ], options.inject ?? []).filter(Boolean)
1283
+ ]
1284
1284
  };
1285
1285
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
1286
+ if (options.inject) {
1287
+ options.inject = defu(result.inject, options.inject);
1288
+ }
1289
+ options.inject?.filter(Boolean);
1286
1290
  delete result.entry;
1287
1291
  delete result.outputPath;
1288
1292
  stopwatch();
@@ -1394,6 +1398,7 @@ async function executeEsBuild(context2) {
1394
1398
  delete options.renderers;
1395
1399
  delete options.config;
1396
1400
  delete options.injectShims;
1401
+ delete options.external;
1397
1402
  writeTrace(`Run esbuild (${context2.options.name}) with the following options:
1398
1403
  ${formatLogMessage(options)}`, context2.options.config);
1399
1404
  const result = await esbuild2.build(options);
package/dist/executors.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";require('./chunk-E7SPQEPH.js');
2
+ require('./chunk-6JNJXZFJ.js');
2
3
  require('./chunk-NYWVLPFT.js');
3
4
  require('./chunk-IJO2IHPY.js');
4
5
  require('./chunk-MLGQ6TX6.js');
5
- require('./chunk-6JNJXZFJ.js');
6
6
  require('./chunk-7QES4OFY.js');
7
7
  require('./chunk-7EE3ZWHR.js');
8
8
  require('./chunk-3GQAWCBQ.js');
@@ -1,8 +1,8 @@
1
1
  import "./chunk-HYHKZPRR.mjs";
2
+ import "./chunk-FIYCZYZ5.mjs";
2
3
  import "./chunk-TB4YXZBF.mjs";
3
4
  import "./chunk-T6WPHTRX.mjs";
4
5
  import "./chunk-CU3WSB7P.mjs";
5
- import "./chunk-FIYCZYZ5.mjs";
6
6
  import "./chunk-B73EOUKJ.mjs";
7
7
  import "./chunk-NJ3UD3AW.mjs";
8
8
  import "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkVO4U3XSBjs = require('./chunk-VO4U3XSB.js');
4
+ var _chunk67G4XZWIjs = require('./chunk-67G4XZWI.js');
5
5
  require('./chunk-7EE3ZWHR.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkVO4U3XSBjs.initGenerator;
9
+ exports.initGenerator = _chunk67G4XZWIjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-HVYCNU5R.mjs";
4
+ } from "./chunk-WGOCJVNM.mjs";
5
5
  import "./chunk-NJ3UD3AW.mjs";
6
6
  import "./chunk-2BPV2XV2.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-E7SPQEPH.js');
2
+ require('./chunk-6JNJXZFJ.js');
2
3
  require('./chunk-NYWVLPFT.js');
3
4
  require('./chunk-IJO2IHPY.js');
4
5
  require('./chunk-MLGQ6TX6.js');
5
6
  require('./chunk-N2YKXZ5R.js');
6
-
7
-
8
- var _chunkVO4U3XSBjs = require('./chunk-VO4U3XSB.js');
9
7
  require('./chunk-GUQOEBFW.js');
10
8
 
11
9
 
12
10
  var _chunkILC773N2js = require('./chunk-ILC773N2.js');
13
- require('./chunk-6JNJXZFJ.js');
14
11
 
15
12
 
16
13
  var _chunk7QES4OFYjs = require('./chunk-7QES4OFY.js');
14
+
15
+
16
+ var _chunk67G4XZWIjs = require('./chunk-67G4XZWI.js');
17
17
  require('./chunk-7EE3ZWHR.js');
18
18
  require('./chunk-3GQAWCBQ.js');
19
19
 
20
20
 
21
21
 
22
22
 
23
- exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkVO4U3XSBjs.initGenerator; exports.withTerraformExecutor = _chunk7QES4OFYjs.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunk67G4XZWIjs.initGenerator; exports.withTerraformExecutor = _chunk7QES4OFYjs.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -1,19 +1,19 @@
1
1
  import "./chunk-HYHKZPRR.mjs";
2
+ import "./chunk-FIYCZYZ5.mjs";
2
3
  import "./chunk-TB4YXZBF.mjs";
3
4
  import "./chunk-T6WPHTRX.mjs";
4
5
  import "./chunk-CU3WSB7P.mjs";
5
6
  import "./chunk-23KFTIT2.mjs";
6
- import {
7
- initGenerator
8
- } from "./chunk-HVYCNU5R.mjs";
9
7
  import "./chunk-CA7S5MOH.mjs";
10
8
  import {
11
9
  base_terraform_executor_untyped_default
12
10
  } from "./chunk-EL25IDXP.mjs";
13
- import "./chunk-FIYCZYZ5.mjs";
14
11
  import {
15
12
  withTerraformExecutor
16
13
  } from "./chunk-B73EOUKJ.mjs";
14
+ import {
15
+ initGenerator
16
+ } from "./chunk-WGOCJVNM.mjs";
17
17
  import "./chunk-NJ3UD3AW.mjs";
18
18
  import "./chunk-2BPV2XV2.mjs";
19
19
  export {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkVO4U3XSBjs = require('../../../chunk-VO4U3XSB.js');
4
+ var _chunk67G4XZWIjs = require('../../../chunk-67G4XZWI.js');
5
5
  require('../../../chunk-7EE3ZWHR.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkVO4U3XSBjs.init_default; exports.initGenerator = _chunkVO4U3XSBjs.initGenerator;
10
+ exports.default = _chunk67G4XZWIjs.init_default; exports.initGenerator = _chunk67G4XZWIjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-HVYCNU5R.mjs";
4
+ } from "../../../chunk-WGOCJVNM.mjs";
5
5
  import "../../../chunk-NJ3UD3AW.mjs";
6
6
  import "../../../chunk-2BPV2XV2.mjs";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/terraform-tools",
3
- "version": "0.54.40",
3
+ "version": "0.54.41",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",