@storm-software/terraform-tools 0.54.42 → 0.54.43

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.43](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.43) (2025-03-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([4a6eeab3f](https://github.com/storm-software/storm-ops/commit/4a6eeab3f))
11
+
5
12
  ## [0.54.42](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.42) (2025-03-18)
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.41-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.42-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 -->
@@ -1284,7 +1284,12 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
1284
1284
  };
1285
1285
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
1286
1286
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1287
- result.inject = defu(result.inject, options.inject);
1287
+ result.inject = options.inject.reduce((ret, inj) => {
1288
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
1289
+ ret.push(inj);
1290
+ }
1291
+ return ret;
1292
+ }, result.inject);
1288
1293
  }
1289
1294
  delete result.entry;
1290
1295
  delete result.outputPath;
@@ -1377,6 +1382,10 @@ async function executeEsBuild(context2) {
1377
1382
  ...context2.options
1378
1383
  };
1379
1384
  options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
1385
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
1386
+ options.inject === {}) {
1387
+ delete options.inject;
1388
+ }
1380
1389
  delete options.env;
1381
1390
  delete options.name;
1382
1391
  delete options.assets;
@@ -1283,7 +1283,12 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1283
1283
  };
1284
1284
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1285
1285
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1286
- result.inject = _defu2.default.call(void 0, result.inject, options.inject);
1286
+ result.inject = options.inject.reduce((ret, inj) => {
1287
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
1288
+ ret.push(inj);
1289
+ }
1290
+ return ret;
1291
+ }, result.inject);
1287
1292
  }
1288
1293
  delete result.entry;
1289
1294
  delete result.outputPath;
@@ -1376,6 +1381,10 @@ async function executeEsBuild(context2) {
1376
1381
  ...context2.options
1377
1382
  };
1378
1383
  options.outdir = _chunk7EE3ZWHRjs.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
1384
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
1385
+ options.inject === {}) {
1386
+ delete options.inject;
1387
+ }
1379
1388
  delete options.env;
1380
1389
  delete options.name;
1381
1390
  delete options.assets;
package/dist/executors.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";require('./chunk-E7SPQEPH.js');
2
- require('./chunk-6JNJXZFJ.js');
3
2
  require('./chunk-NYWVLPFT.js');
4
3
  require('./chunk-IJO2IHPY.js');
5
4
  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";
3
2
  import "./chunk-TB4YXZBF.mjs";
4
3
  import "./chunk-T6WPHTRX.mjs";
5
4
  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 _chunkKWRMGGZSjs = require('./chunk-KWRMGGZS.js');
4
+ var _chunkVMGNL2KFjs = require('./chunk-VMGNL2KF.js');
5
5
  require('./chunk-7EE3ZWHR.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkKWRMGGZSjs.initGenerator;
9
+ exports.initGenerator = _chunkVMGNL2KFjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-T3CUIOQI.mjs";
4
+ } from "./chunk-T72ETESF.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');
3
2
  require('./chunk-NYWVLPFT.js');
4
3
  require('./chunk-IJO2IHPY.js');
5
4
  require('./chunk-MLGQ6TX6.js');
6
5
  require('./chunk-N2YKXZ5R.js');
6
+
7
+
8
+ var _chunkVMGNL2KFjs = require('./chunk-VMGNL2KF.js');
7
9
  require('./chunk-GUQOEBFW.js');
8
10
 
9
11
 
10
12
  var _chunkILC773N2js = require('./chunk-ILC773N2.js');
13
+ require('./chunk-6JNJXZFJ.js');
11
14
 
12
15
 
13
16
  var _chunk7QES4OFYjs = require('./chunk-7QES4OFY.js');
14
-
15
-
16
- var _chunkKWRMGGZSjs = require('./chunk-KWRMGGZS.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 = _chunkKWRMGGZSjs.initGenerator; exports.withTerraformExecutor = _chunk7QES4OFYjs.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkVMGNL2KFjs.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";
3
2
  import "./chunk-TB4YXZBF.mjs";
4
3
  import "./chunk-T6WPHTRX.mjs";
5
4
  import "./chunk-CU3WSB7P.mjs";
6
5
  import "./chunk-23KFTIT2.mjs";
6
+ import {
7
+ initGenerator
8
+ } from "./chunk-T72ETESF.mjs";
7
9
  import "./chunk-CA7S5MOH.mjs";
8
10
  import {
9
11
  base_terraform_executor_untyped_default
10
12
  } from "./chunk-EL25IDXP.mjs";
13
+ import "./chunk-FIYCZYZ5.mjs";
11
14
  import {
12
15
  withTerraformExecutor
13
16
  } from "./chunk-B73EOUKJ.mjs";
14
- import {
15
- initGenerator
16
- } from "./chunk-T3CUIOQI.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 _chunkKWRMGGZSjs = require('../../../chunk-KWRMGGZS.js');
4
+ var _chunkVMGNL2KFjs = require('../../../chunk-VMGNL2KF.js');
5
5
  require('../../../chunk-7EE3ZWHR.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkKWRMGGZSjs.init_default; exports.initGenerator = _chunkKWRMGGZSjs.initGenerator;
10
+ exports.default = _chunkVMGNL2KFjs.init_default; exports.initGenerator = _chunkVMGNL2KFjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-T3CUIOQI.mjs";
4
+ } from "../../../chunk-T72ETESF.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.42",
3
+ "version": "0.54.43",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",