@storm-software/projen 0.21.168 → 0.21.170
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 +22 -0
- package/README.md +1 -1
- package/dist/{chunk-QULFGYFM.mjs → chunk-HACRWREY.mjs} +17 -13
- package/dist/{chunk-GEDAZQZ4.js → chunk-YK6U2XBG.js} +17 -13
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.21.169](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.169) (04/14/2026)
|
|
6
|
+
|
|
7
|
+
### Documentation
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace's `README.md` files ([7d41882b7](https://github.com/storm-software/storm-ops/commit/7d41882b7))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **workspace-tools** to **v1.295.54**
|
|
14
|
+
|
|
15
|
+
## [0.21.168](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.168) (04/14/2026)
|
|
16
|
+
|
|
17
|
+
### Miscellaneous
|
|
18
|
+
|
|
19
|
+
- **monorepo:** Update workspace packages' dependencies ([3a2b8a77e](https://github.com/storm-software/storm-ops/commit/3a2b8a77e))
|
|
20
|
+
|
|
21
|
+
### Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated **workspace-tools** to **v1.295.53**
|
|
24
|
+
- Updated **config-tools** to **v1.189.77**
|
|
25
|
+
- Updated **config** to **v1.137.31**
|
|
26
|
+
|
|
5
27
|
## [0.21.167](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.167) (04/13/2026)
|
|
6
28
|
|
|
7
29
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -2245,7 +2245,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2245
2245
|
args.push(`+${options.toolchain}`);
|
|
2246
2246
|
}
|
|
2247
2247
|
args.push(baseCommand);
|
|
2248
|
-
for (const [key, value] of Object.entries(options)
|
|
2248
|
+
for (const [key, value] of Object.entries(options).filter(
|
|
2249
|
+
([key2]) => key2 && key2 !== "_"
|
|
2250
|
+
)) {
|
|
2249
2251
|
if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
|
|
2250
2252
|
continue;
|
|
2251
2253
|
}
|
|
@@ -2255,7 +2257,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2255
2257
|
}
|
|
2256
2258
|
} else if (Array.isArray(value)) {
|
|
2257
2259
|
for (const item of value) {
|
|
2258
|
-
args.push(`--${key}`, item);
|
|
2260
|
+
args.push(`--${key}`, String(item));
|
|
2259
2261
|
}
|
|
2260
2262
|
} else {
|
|
2261
2263
|
args.push(`--${key}`, String(value));
|
|
@@ -2304,7 +2306,7 @@ function cargoCommandSync(args = "", options) {
|
|
|
2304
2306
|
};
|
|
2305
2307
|
} catch (e) {
|
|
2306
2308
|
return {
|
|
2307
|
-
output: e,
|
|
2309
|
+
output: e.message,
|
|
2308
2310
|
success: false
|
|
2309
2311
|
};
|
|
2310
2312
|
}
|
|
@@ -3267,7 +3269,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3267
3269
|
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
3268
3270
|
);
|
|
3269
3271
|
}
|
|
3270
|
-
const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""]
|
|
3272
|
+
const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""]?.data.root;
|
|
3271
3273
|
const packageJson = joinPaths(projectRoot ?? ".", "package.json");
|
|
3272
3274
|
if (!fileExists(packageJson)) {
|
|
3273
3275
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
@@ -3281,27 +3283,29 @@ async function napiExecutor(options, context, config) {
|
|
|
3281
3283
|
if (options.cwd) {
|
|
3282
3284
|
normalizedOptions.cwd = correctPaths(options.cwd);
|
|
3283
3285
|
} else {
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
config.workspaceRoot,
|
|
3287
|
-
projectRoot || "."
|
|
3286
|
+
const absoluteProjectRoot = correctPaths(
|
|
3287
|
+
joinPaths(config.workspaceRoot, projectRoot || ".")
|
|
3288
3288
|
);
|
|
3289
|
+
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3289
3290
|
if (normalizedOptions.outputDir) {
|
|
3290
3291
|
normalizedOptions.outputDir = relative(
|
|
3291
|
-
|
|
3292
|
+
normalizedOptions.cwd,
|
|
3292
3293
|
correctPaths(
|
|
3293
3294
|
isAbsolute(normalizedOptions.outputDir) ? normalizedOptions.outputDir : joinPaths(config.workspaceRoot, normalizedOptions.outputDir)
|
|
3294
3295
|
)
|
|
3295
3296
|
);
|
|
3296
3297
|
}
|
|
3297
3298
|
if (normalizedOptions.packageJsonPath) {
|
|
3298
|
-
normalizedOptions.packageJsonPath =
|
|
3299
|
-
|
|
3299
|
+
normalizedOptions.packageJsonPath = relative(
|
|
3300
|
+
normalizedOptions.cwd,
|
|
3301
|
+
correctPaths(
|
|
3302
|
+
isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3303
|
+
)
|
|
3300
3304
|
);
|
|
3301
3305
|
}
|
|
3302
3306
|
if (normalizedOptions.configPath) {
|
|
3303
3307
|
normalizedOptions.configPath = relative(
|
|
3304
|
-
|
|
3308
|
+
normalizedOptions.cwd,
|
|
3305
3309
|
correctPaths(
|
|
3306
3310
|
isAbsolute(normalizedOptions.configPath) ? normalizedOptions.configPath : joinPaths(config.workspaceRoot, normalizedOptions.configPath)
|
|
3307
3311
|
)
|
|
@@ -3309,7 +3313,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3309
3313
|
}
|
|
3310
3314
|
if (normalizedOptions.manifestPath) {
|
|
3311
3315
|
normalizedOptions.manifestPath = relative(
|
|
3312
|
-
|
|
3316
|
+
normalizedOptions.cwd,
|
|
3313
3317
|
correctPaths(
|
|
3314
3318
|
isAbsolute(normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : joinPaths(config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3315
3319
|
)
|
|
@@ -2244,7 +2244,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2244
2244
|
args.push(`+${options.toolchain}`);
|
|
2245
2245
|
}
|
|
2246
2246
|
args.push(baseCommand);
|
|
2247
|
-
for (const [key, value] of Object.entries(options)
|
|
2247
|
+
for (const [key, value] of Object.entries(options).filter(
|
|
2248
|
+
([key2]) => key2 && key2 !== "_"
|
|
2249
|
+
)) {
|
|
2248
2250
|
if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
|
|
2249
2251
|
continue;
|
|
2250
2252
|
}
|
|
@@ -2254,7 +2256,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
2254
2256
|
}
|
|
2255
2257
|
} else if (Array.isArray(value)) {
|
|
2256
2258
|
for (const item of value) {
|
|
2257
|
-
args.push(`--${key}`, item);
|
|
2259
|
+
args.push(`--${key}`, String(item));
|
|
2258
2260
|
}
|
|
2259
2261
|
} else {
|
|
2260
2262
|
args.push(`--${key}`, String(value));
|
|
@@ -2303,7 +2305,7 @@ function cargoCommandSync(args = "", options) {
|
|
|
2303
2305
|
};
|
|
2304
2306
|
} catch (e) {
|
|
2305
2307
|
return {
|
|
2306
|
-
output: e,
|
|
2308
|
+
output: e.message,
|
|
2307
2309
|
success: false
|
|
2308
2310
|
};
|
|
2309
2311
|
}
|
|
@@ -3266,7 +3268,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3266
3268
|
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
3267
3269
|
);
|
|
3268
3270
|
}
|
|
3269
|
-
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], '
|
|
3271
|
+
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3270
3272
|
const packageJson = _chunkNG224TJJjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3271
3273
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3272
3274
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
@@ -3280,27 +3282,29 @@ async function napiExecutor(options, context, config) {
|
|
|
3280
3282
|
if (options.cwd) {
|
|
3281
3283
|
normalizedOptions.cwd = _chunkNG224TJJjs.correctPaths.call(void 0, options.cwd);
|
|
3282
3284
|
} else {
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
config.workspaceRoot,
|
|
3286
|
-
projectRoot || "."
|
|
3285
|
+
const absoluteProjectRoot = _chunkNG224TJJjs.correctPaths.call(void 0,
|
|
3286
|
+
_chunkNG224TJJjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
3287
3287
|
);
|
|
3288
|
+
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3288
3289
|
if (normalizedOptions.outputDir) {
|
|
3289
3290
|
normalizedOptions.outputDir = _chunkNG224TJJjs.relative.call(void 0,
|
|
3290
|
-
|
|
3291
|
+
normalizedOptions.cwd,
|
|
3291
3292
|
_chunkNG224TJJjs.correctPaths.call(void 0,
|
|
3292
3293
|
_chunkNG224TJJjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkNG224TJJjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3293
3294
|
)
|
|
3294
3295
|
);
|
|
3295
3296
|
}
|
|
3296
3297
|
if (normalizedOptions.packageJsonPath) {
|
|
3297
|
-
normalizedOptions.packageJsonPath = _chunkNG224TJJjs.
|
|
3298
|
-
|
|
3298
|
+
normalizedOptions.packageJsonPath = _chunkNG224TJJjs.relative.call(void 0,
|
|
3299
|
+
normalizedOptions.cwd,
|
|
3300
|
+
_chunkNG224TJJjs.correctPaths.call(void 0,
|
|
3301
|
+
_chunkNG224TJJjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkNG224TJJjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3302
|
+
)
|
|
3299
3303
|
);
|
|
3300
3304
|
}
|
|
3301
3305
|
if (normalizedOptions.configPath) {
|
|
3302
3306
|
normalizedOptions.configPath = _chunkNG224TJJjs.relative.call(void 0,
|
|
3303
|
-
|
|
3307
|
+
normalizedOptions.cwd,
|
|
3304
3308
|
_chunkNG224TJJjs.correctPaths.call(void 0,
|
|
3305
3309
|
_chunkNG224TJJjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkNG224TJJjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3306
3310
|
)
|
|
@@ -3308,7 +3312,7 @@ async function napiExecutor(options, context, config) {
|
|
|
3308
3312
|
}
|
|
3309
3313
|
if (normalizedOptions.manifestPath) {
|
|
3310
3314
|
normalizedOptions.manifestPath = _chunkNG224TJJjs.relative.call(void 0,
|
|
3311
|
-
|
|
3315
|
+
normalizedOptions.cwd,
|
|
3312
3316
|
_chunkNG224TJJjs.correctPaths.call(void 0,
|
|
3313
3317
|
_chunkNG224TJJjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkNG224TJJjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3314
3318
|
)
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W45SBDPH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYK6U2XBGjs = require('./chunk-YK6U2XBG.js');
|
|
5
5
|
require('./chunk-NG224TJJ.js');
|
|
6
6
|
require('./chunk-7NCOB2OS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkYK6U2XBGjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W45SBDPH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ7CQLAW3js = require('./chunk-J7CQLAW3.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYK6U2XBGjs = require('./chunk-YK6U2XBG.js');
|
|
8
8
|
require('./chunk-NG224TJJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -16,10 +16,10 @@ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
18
|
_chunk7NCOB2OSjs.__export.call(void 0, index_exports, {
|
|
19
|
-
initGeneratorFn: () =>
|
|
19
|
+
initGeneratorFn: () => _chunkYK6U2XBGjs.initGeneratorFn
|
|
20
20
|
});
|
|
21
21
|
_chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
_chunk7NCOB2OSjs.__reExport.call(void 0, index_exports, _chunk7NCOB2OSjs.__toESM.call(void 0, _chunkJ7CQLAW3js.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkYK6U2XBGjs.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-DIMP63EN.mjs";
|
|
2
|
-
import {
|
|
3
|
-
initGeneratorFn
|
|
4
|
-
} from "./chunk-QULFGYFM.mjs";
|
|
5
2
|
import {
|
|
6
3
|
require_components
|
|
7
4
|
} from "./chunk-2UGJBMPN.mjs";
|
|
5
|
+
import {
|
|
6
|
+
initGeneratorFn
|
|
7
|
+
} from "./chunk-HACRWREY.mjs";
|
|
8
8
|
import "./chunk-A24P3L2K.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__export,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYK6U2XBGjs = require('../../../chunk-YK6U2XBG.js');
|
|
5
5
|
require('../../../chunk-NG224TJJ.js');
|
|
6
6
|
require('../../../chunk-7NCOB2OS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkYK6U2XBGjs.generator_default; exports.initGeneratorFn = _chunkYK6U2XBGjs.initGeneratorFn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/projen",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.170",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing Projen configuration automation within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
],
|
|
116
116
|
"peerDependencies": {
|
|
117
117
|
"@nx/devkit": "22.6.0",
|
|
118
|
-
"@storm-software/config": "1.137.
|
|
119
|
-
"@storm-software/config-tools": "1.189.
|
|
120
|
-
"@storm-software/workspace-tools": "1.295.
|
|
118
|
+
"@storm-software/config": "1.137.31",
|
|
119
|
+
"@storm-software/config-tools": "1.189.77",
|
|
120
|
+
"@storm-software/workspace-tools": "1.295.54",
|
|
121
121
|
"projen": "^0.91.6",
|
|
122
122
|
"tsup": "8.4.0",
|
|
123
123
|
"untyped": "1.5.2"
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
143
|
"executors": "./executors.json",
|
|
144
144
|
"generators": "./generators.json",
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "e41ccf3321407c1ccb6c1a16c4aff7f6172d8b0c"
|
|
146
146
|
}
|