@storm-software/projen 0.9.57 → 0.9.58
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 +7 -0
- package/README.md +2 -1
- package/dist/{chunk-JXMH6QXP.mjs → chunk-GPWOJMS2.mjs} +13 -4
- package/dist/{chunk-74PQUMLM.js → chunk-NMWCKTG6.js} +10 -1
- package/dist/generators.d.mts +2 -1
- package/dist/generators.d.ts +2 -1
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/src/generators/init/generator.d.mts +3 -1291
- package/dist/src/generators/init/generator.d.ts +3 -1291
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/package.json +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.9.58](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.58) (2025-04-28)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update dependency versions in packages
|
|
10
|
+
([f1f72dd67](https://github.com/storm-software/storm-ops/commit/f1f72dd67))
|
|
11
|
+
|
|
5
12
|
## [0.9.56](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.56) (2025-04-25)
|
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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 Projen Tools](#storm-projen-tools)
|
|
@@ -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
|
-
|
|
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
|
|
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
|
-
|
|
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)) {
|
package/dist/generators.d.mts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-4DGWICVW.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
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 =
|
|
9
|
+
exports.initGeneratorFn = _chunkNMWCKTG6js.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkVKHIP4EUjs = require('./chunk-VKHIP4EU.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
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: () =>
|
|
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 =
|
|
25
|
+
exports.initGeneratorFn = _chunkNMWCKTG6js.initGeneratorFn;
|