@storm-software/projen 0.9.57 → 0.9.59

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 - Projen
4
4
 
5
+ ## [0.9.59](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.59) (2025-04-28)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate pnpm-lock.yaml file
10
+ ([5f9f4b14c](https://github.com/storm-software/storm-ops/commit/5f9f4b14c))
11
+ - **monorepo:** Regenerate README markdown files
12
+ ([70315e770](https://github.com/storm-software/storm-ops/commit/70315e770))
13
+
14
+ ## [0.9.58](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.58) (2025-04-28)
15
+
16
+ ### Miscellaneous
17
+
18
+ - **monorepo:** Update dependency versions in packages
19
+ ([f1f72dd67](https://github.com/storm-software/storm-ops/commit/f1f72dd67))
20
+
5
21
  ## [0.9.56](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.56) (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.9.56-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.9.58-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 -->
@@ -1665,7 +1665,7 @@ init_esm_shims();
1665
1665
 
1666
1666
  // ../esbuild/src/build.ts
1667
1667
  init_esm_shims();
1668
- import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile } from "@nx/devkit";
1668
+ import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile } from "@nx/devkit";
1669
1669
 
1670
1670
  // ../build-tools/src/index.ts
1671
1671
  init_esm_shims();
@@ -1772,9 +1772,18 @@ import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildabl
1772
1772
  import { Glob } from "glob";
1773
1773
  import { existsSync as existsSync3, readFileSync as readFileSync2 } from "node:fs";
1774
1774
  import { readFile as readFile3 } from "node:fs/promises";
1775
- import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
1775
+ import { createProjectGraphAsync, readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
1776
1776
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot3, projectRoot, projectName, packageJson) => {
1777
- const projectGraph = readCachedProjectGraph();
1777
+ let projectGraph;
1778
+ try {
1779
+ projectGraph = readCachedProjectGraph();
1780
+ } catch {
1781
+ await createProjectGraphAsync();
1782
+ projectGraph = readCachedProjectGraph();
1783
+ }
1784
+ if (!projectGraph) {
1785
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
1786
+ }
1778
1787
  const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
1779
1788
  const localPackages = [];
1780
1789
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot3)) {
@@ -2083,7 +2092,7 @@ async function resolveContext(userOptions) {
2083
2092
  });
2084
2093
  writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
2085
2094
  const stopwatch = getStopwatch("Build options resolution");
2086
- const projectGraph = await createProjectGraphAsync({
2095
+ const projectGraph = await createProjectGraphAsync2({
2087
2096
  exitOnError: true
2088
2097
  });
2089
2098
  const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
@@ -1773,7 +1773,16 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
1773
1773
 
1774
1774
  var _projectgraph = require('nx/src/project-graph/project-graph');
1775
1775
  var addPackageDependencies = /* @__PURE__ */ _chunkBBEYLIXNjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
1776
- const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
1776
+ let projectGraph;
1777
+ try {
1778
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
1779
+ } catch (e2) {
1780
+ await _projectgraph.createProjectGraphAsync.call(void 0, );
1781
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
1782
+ }
1783
+ if (!projectGraph) {
1784
+ throw new Error("The Build process failed because the project graph is not available. Please run the build command again.");
1785
+ }
1777
1786
  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);
1778
1787
  const localPackages = [];
1779
1788
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _83 => _83.node, 'access', _84 => _84.data, 'optionalAccess', _85 => _85.root]) !== projectRoot && _optionalChain([dep, 'access', _86 => _86.node, 'access', _87 => _87.data, 'optionalAccess', _88 => _88.root]) !== workspaceRoot3)) {
@@ -1,3 +1,4 @@
1
1
  export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.mjs';
2
+ import '@storm-software/workspace-tools';
2
3
  import '@nx/devkit';
3
- import 'zod';
4
+ import '@storm-software/config';
@@ -1,3 +1,4 @@
1
1
  export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.js';
2
+ import '@storm-software/workspace-tools';
2
3
  import '@nx/devkit';
3
- import 'zod';
4
+ import '@storm-software/config';
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-4DGWICVW.js');
2
2
 
3
3
 
4
- var _chunk74PQUMLMjs = require('./chunk-74PQUMLM.js');
4
+ var _chunkNMWCKTG6js = require('./chunk-NMWCKTG6.js');
5
5
  require('./chunk-44UHVCK5.js');
6
6
  require('./chunk-BBEYLIXN.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunk74PQUMLMjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkNMWCKTG6js.initGeneratorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-QEAXX4TN.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-JXMH6QXP.mjs";
4
+ } from "./chunk-GPWOJMS2.mjs";
5
5
  import "./chunk-C24G3GOI.mjs";
6
6
  import "./chunk-WOH3JDTU.mjs";
7
7
  export {
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.mjs';
2
+ import '@storm-software/workspace-tools';
2
3
  import '@nx/devkit';
3
- import 'zod';
4
+ import '@storm-software/config';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { I as InitGeneratorSchema, initGeneratorFn } from './src/generators/init/generator.js';
2
+ import '@storm-software/workspace-tools';
2
3
  import '@nx/devkit';
3
- import 'zod';
4
+ import '@storm-software/config';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkVKHIP4EUjs = require('./chunk-VKHIP4EU.js');
5
5
 
6
6
 
7
- var _chunk74PQUMLMjs = require('./chunk-74PQUMLM.js');
7
+ var _chunkNMWCKTG6js = require('./chunk-NMWCKTG6.js');
8
8
  require('./chunk-44UHVCK5.js');
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkBBEYLIXNjs = require('./chunk-BBEYLIXN.js');
16
16
  // index.ts
17
17
  var index_exports = {};
18
18
  _chunkBBEYLIXNjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunk74PQUMLMjs.initGeneratorFn
19
+ initGeneratorFn: () => _chunkNMWCKTG6js.initGeneratorFn
20
20
  });
21
21
  _chunkBBEYLIXNjs.init_cjs_shims.call(void 0, );
22
22
  _chunkBBEYLIXNjs.__reExport.call(void 0, index_exports, _chunkBBEYLIXNjs.__toESM.call(void 0, _chunkVKHIP4EUjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunk74PQUMLMjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkNMWCKTG6js.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2L3DEJ35.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-JXMH6QXP.mjs";
7
+ } from "./chunk-GPWOJMS2.mjs";
8
8
  import "./chunk-C24G3GOI.mjs";
9
9
  import {
10
10
  __export,