@storm-software/terraform-tools 0.54.65 → 0.54.67

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,22 @@
2
2
 
3
3
  # Changelog for Storm Ops - Terraform Tools
4
4
 
5
+ ## [0.54.67](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.67) (2025-04-28)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([54eadd1b2](https://github.com/storm-software/storm-ops/commit/54eadd1b2))
11
+
12
+ ## [0.54.66](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.66) (2025-04-28)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate pnpm-lock.yaml file
17
+ ([5f9f4b14c](https://github.com/storm-software/storm-ops/commit/5f9f4b14c))
18
+ - **monorepo:** Regenerate README markdown files
19
+ ([70315e770](https://github.com/storm-software/storm-ops/commit/70315e770))
20
+
5
21
  ## [0.54.64](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.64) (2025-04-25)
6
22
 
7
23
  ### 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.64-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.66-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,6 +40,7 @@ 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
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Terraform Tools](#storm-terraform-tools)
@@ -347,7 +347,16 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
347
347
 
348
348
  var _projectgraph = require('nx/src/project-graph/project-graph');
349
349
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
350
- const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
350
+ let projectGraph;
351
+ try {
352
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
353
+ } catch (e2) {
354
+ await _projectgraph.createProjectGraphAsync.call(void 0, );
355
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
356
+ }
357
+ if (!projectGraph) {
358
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
359
+ }
351
360
  const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
352
361
  const localPackages = [];
353
362
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _5 => _5.node, 'access', _6 => _6.data, 'optionalAccess', _7 => _7.root]) !== projectRoot && _optionalChain([dep, 'access', _8 => _8.node, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.root]) !== workspaceRoot3)) {
@@ -260,7 +260,7 @@ import { logger } from "@nx/devkit";
260
260
  var LARGE_BUFFER = 1024 * 1e6;
261
261
 
262
262
  // ../esbuild/src/build.ts
263
- import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile } from "@nx/devkit";
263
+ import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile } from "@nx/devkit";
264
264
 
265
265
  // ../build-tools/src/config.ts
266
266
  var DEFAULT_COMPILED_BANNER = `/*****************************************
@@ -346,9 +346,18 @@ import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildabl
346
346
  import { Glob } from "glob";
347
347
  import { existsSync, readFileSync as readFileSync2 } from "node:fs";
348
348
  import { readFile as readFile2 } from "node:fs/promises";
349
- import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
349
+ import { createProjectGraphAsync, readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
350
350
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot3, projectRoot, projectName, packageJson) => {
351
- const projectGraph = readCachedProjectGraph();
351
+ let projectGraph;
352
+ try {
353
+ projectGraph = readCachedProjectGraph();
354
+ } catch {
355
+ await createProjectGraphAsync();
356
+ projectGraph = readCachedProjectGraph();
357
+ }
358
+ if (!projectGraph) {
359
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
360
+ }
352
361
  const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
353
362
  const localPackages = [];
354
363
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot3)) {
@@ -641,7 +650,7 @@ async function resolveContext(userOptions) {
641
650
  });
642
651
  writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
643
652
  const stopwatch = getStopwatch("Build options resolution");
644
- const projectGraph = await createProjectGraphAsync({
653
+ const projectGraph = await createProjectGraphAsync2({
645
654
  exitOnError: true
646
655
  });
647
656
  const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
2
2
 
3
3
 
4
- var _chunkRB36TVDBjs = require('./chunk-RB36TVDB.js');
4
+ var _chunkIYHG32N4js = require('./chunk-IYHG32N4.js');
5
5
  require('./chunk-FC5AL6FF.js');
6
6
  require('./chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
- exports.initGenerator = _chunkRB36TVDBjs.initGenerator;
9
+ exports.initGenerator = _chunkIYHG32N4js.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-23KFTIT2.mjs";
2
2
  import {
3
3
  initGenerator
4
- } from "./chunk-UAT7XLGY.mjs";
4
+ } from "./chunk-UUJGGHQC.mjs";
5
5
  import "./chunk-RW373JXN.mjs";
6
6
  import "./chunk-N7GSKHH2.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 _chunkRB36TVDBjs = require('./chunk-RB36TVDB.js');
8
+ var _chunkIYHG32N4js = require('./chunk-IYHG32N4.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 = _chunkRB36TVDBjs.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
23
+ exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkIYHG32N4js.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import "./chunk-S53JCUPE.mjs";
5
5
  import "./chunk-23KFTIT2.mjs";
6
6
  import {
7
7
  initGenerator
8
- } from "./chunk-UAT7XLGY.mjs";
8
+ } from "./chunk-UUJGGHQC.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 _chunkRB36TVDBjs = require('../../../chunk-RB36TVDB.js');
4
+ var _chunkIYHG32N4js = require('../../../chunk-IYHG32N4.js');
5
5
  require('../../../chunk-FC5AL6FF.js');
6
6
  require('../../../chunk-3GQAWCBQ.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkRB36TVDBjs.init_default; exports.initGenerator = _chunkRB36TVDBjs.initGenerator;
10
+ exports.default = _chunkIYHG32N4js.init_default; exports.initGenerator = _chunkIYHG32N4js.initGenerator;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  initGenerator,
3
3
  init_default
4
- } from "../../../chunk-UAT7XLGY.mjs";
4
+ } from "../../../chunk-UUJGGHQC.mjs";
5
5
  import "../../../chunk-RW373JXN.mjs";
6
6
  import "../../../chunk-N7GSKHH2.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.65",
3
+ "version": "0.54.67",
4
4
  "description": "Tools for managing Terraform infrastructure within a Nx workspace.",
5
5
  "repository": {
6
6
  "type": "github",