@storm-software/terraform-tools 0.54.81 → 0.54.83

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,30 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.54.83](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.83) (2025-04-30)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **esbuild:** Resolve issue finding parent tsconfig path
10
+ ([d0276f4cd](https://github.com/storm-software/storm-ops/commit/d0276f4cd))
11
+
12
+ ### Miscellaneous
13
+
14
+ - **monorepo:** Regenerate README markdown files
15
+ ([746468efe](https://github.com/storm-software/storm-ops/commit/746468efe))
16
+
17
+ ## [0.54.82](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.82) (2025-04-30)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **monorepo:** Resolve issue with tsconfig path in tsup
22
+ ([98ca0489a](https://github.com/storm-software/storm-ops/commit/98ca0489a))
23
+
24
+ ### Miscellaneous
25
+
26
+ - **monorepo:** Regenerate README markdown files
27
+ ([34e5b9e9f](https://github.com/storm-software/storm-ops/commit/34e5b9e9f))
28
+
5
29
  ## [0.54.81](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.81) (2025-04-30)
6
30
 
7
31
  ### Bug Fixes
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.80-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.82-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 -->
@@ -558,7 +558,7 @@ var DEFAULT_BUILD_OPTIONS = {
558
558
 
559
559
  // ../esbuild/src/plugins/resolve-paths.ts
560
560
  import path2 from "node:path";
561
- function resolvePathsConfig(options, cwd) {
561
+ function resolvePathsConfig(options, cwd, projectRoot) {
562
562
  if (options?.compilerOptions?.paths) {
563
563
  const paths = Object.entries(options.compilerOptions.paths);
564
564
  const resolvedPaths = paths.map(([key, paths2]) => {
@@ -570,7 +570,7 @@ function resolvePathsConfig(options, cwd) {
570
570
  return Object.fromEntries(resolvedPaths);
571
571
  }
572
572
  if (options.extends) {
573
- const extendsPath = path2.resolve(cwd, options.extends);
573
+ const extendsPath = path2.resolve(projectRoot ? joinPaths(cwd, projectRoot, options.extends) : joinPaths(cwd, options.extends));
574
574
  const extendsDir = path2.dirname(extendsPath);
575
575
  const extendsConfig = __require(extendsPath);
576
576
  return resolvePathsConfig(extendsConfig, extendsDir);
@@ -582,7 +582,7 @@ var resolvePathsPlugin = /* @__PURE__ */ __name((context) => ({
582
582
  name: "storm:resolve-paths",
583
583
  setup(build3) {
584
584
  const parentTsConfig = build3.initialOptions.tsconfig ? __require(joinPaths(context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig.replace(context.workspaceConfig.workspaceRoot, ""))) : __require(joinPaths(context.workspaceConfig.workspaceRoot, "tsconfig.json"));
585
- const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
585
+ const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot, context.options.projectRoot);
586
586
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
587
587
  build3.onResolve({
588
588
  filter: packagesRegex
@@ -557,7 +557,7 @@ var DEFAULT_BUILD_OPTIONS = {
557
557
 
558
558
  // ../esbuild/src/plugins/resolve-paths.ts
559
559
 
560
- function resolvePathsConfig(options, cwd) {
560
+ function resolvePathsConfig(options, cwd, projectRoot) {
561
561
  if (_optionalChain([options, 'optionalAccess', _31 => _31.compilerOptions, 'optionalAccess', _32 => _32.paths])) {
562
562
  const paths = Object.entries(options.compilerOptions.paths);
563
563
  const resolvedPaths = paths.map(([key, paths2]) => {
@@ -569,7 +569,7 @@ function resolvePathsConfig(options, cwd) {
569
569
  return Object.fromEntries(resolvedPaths);
570
570
  }
571
571
  if (options.extends) {
572
- const extendsPath = path4.default.resolve(cwd, options.extends);
572
+ const extendsPath = path4.default.resolve(projectRoot ? _chunkFC5AL6FFjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkFC5AL6FFjs.joinPaths.call(void 0, cwd, options.extends));
573
573
  const extendsDir = path4.default.dirname(extendsPath);
574
574
  const extendsConfig = _chunk3GQAWCBQjs.__require.call(void 0, extendsPath);
575
575
  return resolvePathsConfig(extendsConfig, extendsDir);
@@ -581,7 +581,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c
581
581
  name: "storm:resolve-paths",
582
582
  setup(build3) {
583
583
  const parentTsConfig = build3.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig.replace(context.workspaceConfig.workspaceRoot, ""))) : _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
584
- const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
584
+ const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot, context.options.projectRoot);
585
585
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
586
586
  build3.onResolve({
587
587
  filter: packagesRegex
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkOTV7WWVRjs = require('./chunk-OTV7WWVR.js');
4
+ var _chunkSR7JIQJVjs = require('./chunk-SR7JIQJV.js');
5
5
  require('./chunk-FC5AL6FF.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkOTV7WWVRjs.initGenerator;
9
+ exports.initGenerator = _chunkSR7JIQJVjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-ZYAWT4DC.mjs";
4
+ } from "./chunk-IAPFYWM7.mjs";
5
5
  import "./chunk-3X7JIYQW.mjs";
6
6
  import "./chunk-L2DHGVS5.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 _chunkOTV7WWVRjs = require('./chunk-OTV7WWVR.js');
8
+ var _chunkSR7JIQJVjs = require('./chunk-SR7JIQJV.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 = _chunkOTV7WWVRjs.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkSR7JIQJVjs.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import "./chunk-QCLE23AI.mjs";
5
5
  import "./chunk-23KFTIT2.mjs";
6
6
  import {
7
7
  initGenerator
8
- } from "./chunk-ZYAWT4DC.mjs";
8
+ } from "./chunk-IAPFYWM7.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 _chunkOTV7WWVRjs = require('../../../chunk-OTV7WWVR.js');
4
+ var _chunkSR7JIQJVjs = require('../../../chunk-SR7JIQJV.js');
5
5
  require('../../../chunk-FC5AL6FF.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkOTV7WWVRjs.init_default; exports.initGenerator = _chunkOTV7WWVRjs.initGenerator;
10
+ exports.default = _chunkSR7JIQJVjs.init_default; exports.initGenerator = _chunkSR7JIQJVjs.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-ZYAWT4DC.mjs";
4
+ } from "../../../chunk-IAPFYWM7.mjs";
5
5
  import "../../../chunk-3X7JIYQW.mjs";
6
6
  import "../../../chunk-L2DHGVS5.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.81",
3
+ "version": "0.54.83",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",