@storm-software/terraform-tools 0.54.71 → 0.54.72

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.72](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.72) (2025-04-29)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([f2e5028dd](https://github.com/storm-software/storm-ops/commit/f2e5028dd))
11
+
5
12
  ## [0.54.71](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.71) (2025-04-29)
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.70-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.71-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 -->
@@ -514,6 +514,7 @@ var DEFAULT_BUILD_OPTIONS = {
514
514
  keepNames: true,
515
515
  metafile: false,
516
516
  treeshake: true,
517
+ splitting: true,
517
518
  shims: false,
518
519
  watch: false,
519
520
  bundle: true,
@@ -662,24 +663,23 @@ async function resolveContext(userOptions) {
662
663
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
663
664
  }
664
665
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
666
+ options.name ??= projectName;
665
667
  const packageJsonPath = _chunkFC5AL6FFjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
666
668
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
667
669
  throw new Error("Cannot find package.json configuration");
668
670
  }
669
671
  const env = getEnv("esbuild", options);
672
+ const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
670
673
  const resolvedOptions = {
671
- name: projectName,
672
674
  ...options,
673
675
  tsconfig: _chunkFC5AL6FFjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
674
676
  metafile: userOptions.mode === "development",
675
677
  clean: false,
676
- splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
677
678
  env,
678
679
  define: {
679
680
  STORM_FORMAT: JSON.stringify(options.format),
680
- ...options.define,
681
- ...Object.keys(env || {}).reduce((res, key) => {
682
- const value = JSON.stringify(env[key]);
681
+ ...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
682
+ const value = JSON.stringify(define[key]);
683
683
  const safeKey = key.replaceAll("(", "").replaceAll(")", "");
684
684
  return {
685
685
  ...res,
@@ -515,6 +515,7 @@ var DEFAULT_BUILD_OPTIONS = {
515
515
  keepNames: true,
516
516
  metafile: false,
517
517
  treeshake: true,
518
+ splitting: true,
518
519
  shims: false,
519
520
  watch: false,
520
521
  bundle: true,
@@ -663,24 +664,23 @@ async function resolveContext(userOptions) {
663
664
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
664
665
  }
665
666
  const options = defu(userOptions, DEFAULT_BUILD_OPTIONS);
667
+ options.name ??= projectName;
666
668
  const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
667
669
  if (!existsSync3(packageJsonPath)) {
668
670
  throw new Error("Cannot find package.json configuration");
669
671
  }
670
672
  const env = getEnv("esbuild", options);
673
+ const define = defu(options.define ?? {}, env ?? {});
671
674
  const resolvedOptions = {
672
- name: projectName,
673
675
  ...options,
674
676
  tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
675
677
  metafile: userOptions.mode === "development",
676
678
  clean: false,
677
- splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
678
679
  env,
679
680
  define: {
680
681
  STORM_FORMAT: JSON.stringify(options.format),
681
- ...options.define,
682
- ...Object.keys(env || {}).reduce((res, key) => {
683
- const value = JSON.stringify(env[key]);
682
+ ...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
683
+ const value = JSON.stringify(define[key]);
684
684
  const safeKey = key.replaceAll("(", "").replaceAll(")", "");
685
685
  return {
686
686
  ...res,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkIR3INUF5js = require('./chunk-IR3INUF5.js');
4
+ var _chunkF4NYTFL6js = require('./chunk-F4NYTFL6.js');
5
5
  require('./chunk-FC5AL6FF.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkIR3INUF5js.initGenerator;
9
+ exports.initGenerator = _chunkF4NYTFL6js.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-XQSTQE3H.mjs";
4
+ } from "./chunk-K27L3WST.mjs";
5
5
  import "./chunk-ACQ7AUDY.mjs";
6
6
  import "./chunk-NM2XRTN6.mjs";
7
7
  export {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ require('./chunk-ESAA5DIO.js');
5
5
  require('./chunk-N2YKXZ5R.js');
6
6
 
7
7
 
8
- var _chunkIR3INUF5js = require('./chunk-IR3INUF5.js');
8
+ var _chunkF4NYTFL6js = require('./chunk-F4NYTFL6.js');
9
9
  require('./chunk-GUQOEBFW.js');
10
10
 
11
11
 
@@ -20,4 +20,4 @@ require('./chunk-3GQAWCBQ.js');
20
20
 
21
21
 
22
22
 
23
- exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkIR3INUF5js.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkF4NYTFL6js.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import "./chunk-X7DJ4DVD.mjs";
5
5
  import "./chunk-23KFTIT2.mjs";
6
6
  import {
7
7
  initGenerator
8
- } from "./chunk-XQSTQE3H.mjs";
8
+ } from "./chunk-K27L3WST.mjs";
9
9
  import "./chunk-CA7S5MOH.mjs";
10
10
  import {
11
11
  base_terraform_executor_untyped_default
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkIR3INUF5js = require('../../../chunk-IR3INUF5.js');
4
+ var _chunkF4NYTFL6js = require('../../../chunk-F4NYTFL6.js');
5
5
  require('../../../chunk-FC5AL6FF.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkIR3INUF5js.init_default; exports.initGenerator = _chunkIR3INUF5js.initGenerator;
10
+ exports.default = _chunkF4NYTFL6js.init_default; exports.initGenerator = _chunkF4NYTFL6js.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-XQSTQE3H.mjs";
4
+ } from "../../../chunk-K27L3WST.mjs";
5
5
  import "../../../chunk-ACQ7AUDY.mjs";
6
6
  import "../../../chunk-NM2XRTN6.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.71",
3
+ "version": "0.54.72",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",