@storm-software/workspace-tools 1.294.24 → 1.294.26
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/dist/{chunk-26D572RS.mjs → chunk-23AG7J6K.mjs} +1 -1
- package/dist/{chunk-342I6JDM.mjs → chunk-2HFE4IAT.mjs} +1 -1
- package/dist/{chunk-3IIHJK7S.js → chunk-3ATRPILH.js} +2 -2
- package/dist/{chunk-5MARLKKX.js → chunk-4XMMNPEO.js} +2 -2
- package/dist/{chunk-4SVCQR5G.js → chunk-5ZHH2FNQ.js} +10 -10
- package/dist/{chunk-OGENKSAI.js → chunk-626FPLUP.js} +6 -6
- package/dist/{chunk-KBLX2N36.mjs → chunk-AH5TFWCI.mjs} +1 -1
- package/dist/{chunk-ZOCTF35K.mjs → chunk-AXBRZDW7.mjs} +1 -1
- package/dist/{chunk-XZJTSAKD.mjs → chunk-BFUD5R7Y.mjs} +1 -1
- package/dist/{chunk-KZD6FJL3.js → chunk-C4ETRYH2.js} +20 -20
- package/dist/{chunk-CLV6NHYT.mjs → chunk-CVWXJRXD.mjs} +1 -1
- package/dist/{chunk-RECKAXS6.mjs → chunk-DONUBURB.mjs} +1 -1
- package/dist/{chunk-YBVTQ6LJ.mjs → chunk-DQQPNY3P.mjs} +2 -2
- package/dist/{chunk-Q4OGWPSD.mjs → chunk-EIHVLRYO.mjs} +1 -1
- package/dist/{chunk-A7AWQAK7.js → chunk-ETSXRU6M.js} +12 -12
- package/dist/{chunk-LJG64ZY4.js → chunk-FAOWNWQO.js} +2 -2
- package/dist/{chunk-PB5NLIEK.mjs → chunk-FAYJOHW6.mjs} +1 -1
- package/dist/{chunk-5X7SPJ2I.mjs → chunk-FIAY4XVI.mjs} +1 -1
- package/dist/{chunk-3R6F7GVS.mjs → chunk-FLEL6HL3.mjs} +2 -2
- package/dist/{chunk-TUZIDJTA.mjs → chunk-GL7AEMWH.mjs} +2 -2
- package/dist/{chunk-4F7NIP4O.js → chunk-GQUC7Z5A.js} +2 -2
- package/dist/{chunk-S2BELDH5.js → chunk-H2IQPKCX.js} +30 -30
- package/dist/{chunk-I4V27MNN.js → chunk-HRSYZ5SJ.js} +2 -2
- package/dist/{chunk-PAMMYD2K.mjs → chunk-HTZWMLHS.mjs} +3 -3
- package/dist/{chunk-65GSBF4O.js → chunk-HUOI4PBW.js} +2 -2
- package/dist/{chunk-WY3DZCMU.js → chunk-I3IVGDHX.js} +11 -11
- package/dist/{chunk-HRVQAK4F.mjs → chunk-I4TZ6K5F.mjs} +1 -1
- package/dist/{chunk-JNNEEDMB.js → chunk-I7VI4LB4.js} +2 -2
- package/dist/{chunk-7XTFZSRS.mjs → chunk-JMG57VVQ.mjs} +1 -1
- package/dist/{chunk-U7QYNQW5.mjs → chunk-JP5HZTAF.mjs} +2 -2
- package/dist/{chunk-U3TGUYLV.js → chunk-JV6AKQ47.js} +34 -34
- package/dist/{chunk-V4UVZNCJ.js → chunk-LN2ISRNV.js} +4 -4
- package/dist/{chunk-V3JOW7LD.js → chunk-LQLB23MA.js} +5 -5
- package/dist/{chunk-RBRPCZLM.js → chunk-LS6TILJC.js} +2 -2
- package/dist/{chunk-PKHI2BJL.js → chunk-MJPVYBME.js} +41 -11
- package/dist/{chunk-LVGF3AHB.mjs → chunk-MJU4W4C7.mjs} +4 -4
- package/dist/{chunk-YRECJT2D.mjs → chunk-NWXPYUQ3.mjs} +41 -11
- package/dist/{chunk-3J7MVCW5.mjs → chunk-OAWHJHVS.mjs} +2 -2
- package/dist/{chunk-UXAE62ES.mjs → chunk-P37IUTEP.mjs} +1 -1
- package/dist/{chunk-HAQO7JLP.js → chunk-PED6YPOF.js} +4 -4
- package/dist/{chunk-OHZE75LW.mjs → chunk-QJEODVLU.mjs} +1 -1
- package/dist/{chunk-VISYXX3U.js → chunk-R6OKTOPG.js} +5 -5
- package/dist/{chunk-Z5PRQ3QP.js → chunk-RDLWCD3X.js} +2 -2
- package/dist/{chunk-3B6C5JXN.js → chunk-SQ7YVBPN.js} +2 -2
- package/dist/{chunk-ND2KZ5IE.mjs → chunk-TSATJMLT.mjs} +4 -4
- package/dist/{chunk-HUXBK5JQ.mjs → chunk-V5BPSX25.mjs} +2 -2
- package/dist/{chunk-RAEGRUH6.mjs → chunk-V5L2NMX3.mjs} +2 -2
- package/dist/{chunk-AA4DZOSQ.js → chunk-V6KF2MA3.js} +16 -16
- package/dist/{chunk-QMUSO46H.js → chunk-WJAIY3X6.js} +2 -2
- package/dist/{chunk-TBM7C7ZG.mjs → chunk-XOC54MDY.mjs} +1 -1
- package/dist/{chunk-7VV5RCG6.js → chunk-XRVFIF7Q.js} +2 -2
- package/dist/{chunk-WK7SV5XJ.mjs → chunk-YI34TEVO.mjs} +1 -1
- package/dist/{chunk-YJUR5MBG.js → chunk-YRHOGXG2.js} +2 -2
- package/dist/{chunk-3VJXZ2S4.js → chunk-YRHSIXS4.js} +2 -2
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.js +28 -28
- package/dist/index.mjs +27 -27
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +5 -5
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +3 -3
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.294.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.25) (01/14/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **config-tools** to **v1.188.79**
|
|
10
|
+
- Updated **pnpm-tools** to **v0.6.81**
|
|
11
|
+
- Updated **npm-tools** to **v0.6.36**
|
|
12
|
+
- Updated **esbuild** to **v0.53.79**
|
|
13
|
+
- Updated **unbuild** to **v0.57.79**
|
|
14
|
+
- Updated **tsdown** to **v0.45.79**
|
|
15
|
+
|
|
16
|
+
## [1.294.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.24) (01/14/2026)
|
|
17
|
+
|
|
18
|
+
### Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated **config-tools** to **v1.188.78**
|
|
21
|
+
- Updated **pnpm-tools** to **v0.6.80**
|
|
22
|
+
- Updated **npm-tools** to **v0.6.35**
|
|
23
|
+
- Updated **esbuild** to **v0.53.78**
|
|
24
|
+
- Updated **unbuild** to **v0.57.78**
|
|
25
|
+
- Updated **tsdown** to **v0.45.78**
|
|
26
|
+
|
|
5
27
|
## [1.294.23](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.23) (01/14/2026)
|
|
6
28
|
|
|
7
29
|
### Updated Dependencies
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkV6KF2MA3js = require('./chunk-V6KF2MA3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkV6KF2MA3js.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkC4ETRYH2js = require('./chunk-C4ETRYH2.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkC4ETRYH2js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -751,7 +751,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
751
751
|
let config = result.config;
|
|
752
752
|
const configFile = result.configFile;
|
|
753
753
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
754
|
-
|
|
754
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
755
755
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
756
756
|
{
|
|
757
757
|
logLevel: "all"
|
|
@@ -767,7 +767,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
767
767
|
for (const result2 of results) {
|
|
768
768
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
769
769
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
770
|
-
|
|
770
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
771
771
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
772
772
|
{
|
|
773
773
|
logLevel: "all"
|
|
@@ -879,7 +879,7 @@ var getConfigEnv = () => {
|
|
|
879
879
|
},
|
|
880
880
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
881
881
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
882
|
-
) ?
|
|
882
|
+
) ? _chunkMJPVYBMEjs.getLogLevelLabel.call(void 0,
|
|
883
883
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
884
884
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
885
885
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1244,9 +1244,9 @@ var setConfigEnv = (config) => {
|
|
|
1244
1244
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1245
1245
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1246
1246
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1247
|
-
|
|
1247
|
+
_chunkMJPVYBMEjs.getLogLevel.call(void 0, config.logLevel) >= _chunkMJPVYBMEjs.LogLevel.DEBUG ? true : false
|
|
1248
1248
|
);
|
|
1249
|
-
process.env.RUST_BACKTRACE =
|
|
1249
|
+
process.env.RUST_BACKTRACE = _chunkMJPVYBMEjs.getLogLevel.call(void 0, config.logLevel) >= _chunkMJPVYBMEjs.LogLevel.DEBUG ? "full" : "none";
|
|
1250
1250
|
}
|
|
1251
1251
|
if (config.skipConfigLogging !== void 0) {
|
|
1252
1252
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1388,7 +1388,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1388
1388
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1389
1389
|
if (!configFile) {
|
|
1390
1390
|
if (!skipLogs) {
|
|
1391
|
-
|
|
1391
|
+
_chunkMJPVYBMEjs.writeWarning.call(void 0,
|
|
1392
1392
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1393
1393
|
{ logLevel: "all" }
|
|
1394
1394
|
);
|
|
@@ -1415,7 +1415,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1415
1415
|
throw new Error(
|
|
1416
1416
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1417
1417
|
|
|
1418
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1418
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkMJPVYBMEjs.formatLogMessage.call(void 0,
|
|
1419
1419
|
configInput
|
|
1420
1420
|
)}`,
|
|
1421
1421
|
{
|
|
@@ -1460,9 +1460,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1460
1460
|
);
|
|
1461
1461
|
setConfigEnv(config);
|
|
1462
1462
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1463
|
-
|
|
1463
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
1464
1464
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1465
|
-
${
|
|
1465
|
+
${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, config)}`,
|
|
1466
1466
|
config
|
|
1467
1467
|
);
|
|
1468
1468
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
54
54
|
output: "src/"
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
58
58
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
59
59
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
60
|
config
|
|
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
66
66
|
assets: pendingAssets
|
|
67
67
|
});
|
|
68
68
|
await assetHandler.processAllAssetsOnce();
|
|
69
|
-
|
|
69
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0,
|
|
72
72
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
73
73
|
outputPath,
|
|
74
74
|
"src"
|
|
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
if (localPackages.length > 0) {
|
|
155
|
-
|
|
155
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
156
156
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
157
157
|
);
|
|
158
158
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
200
200
|
return ret;
|
|
201
201
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
202
202
|
} else {
|
|
203
|
-
|
|
203
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5ZHH2FNQjs = require('./chunk-5ZHH2FNQ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunk4SVCQR5Gjs = require('./chunk-4SVCQR5G.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkMJPVYBMEjs = require('./chunk-MJPVYBME.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -22,7 +22,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunkMJPVYBMEjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunkMJPVYBMEjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunk5ZHH2FNQjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunkPKHI2BJLjs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunkMJPVYBMEjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunkMJPVYBMEjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -97,7 +97,7 @@ ${_chunkPKHI2BJLjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
97
97
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
98
98
|
throw new Error(
|
|
99
99
|
`Failure determined while running the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunkMJPVYBMEjs.formatLogMessage.call(void 0,
|
|
101
101
|
result
|
|
102
102
|
)}`,
|
|
103
103
|
{
|
|
@@ -106,21 +106,21 @@ ${_chunkPKHI2BJLjs.formatLogMessage.call(void 0,
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunkMJPVYBMEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunkMJPVYBMEjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunkMJPVYBMEjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunkMJPVYBMEjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkXRVFIF7Qjs = require('./chunk-XRVFIF7Q.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk5ZHH2FNQjs = require('./chunk-5ZHH2FNQ.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunk5ZHH2FNQjs.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunkXRVFIF7Qjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunkXRVFIF7Qjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunkXRVFIF7Qjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunkXRVFIF7Qjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunkXRVFIF7Qjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkXRVFIF7Qjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunkXRVFIF7Qjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunkXRVFIF7Qjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunkXRVFIF7Qjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -7,7 +7,7 @@ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkV6KF2MA3js = require('./chunk-V6KF2MA3.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunkV6KF2MA3js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5BPSX25.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NWXPYUQ3.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FIAY4XVI.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AH5TFWCI.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkV6KF2MA3js = require('./chunk-V6KF2MA3.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunkV6KF2MA3js.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|