@storm-software/workspace-tools 1.295.79 → 1.295.80
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 +15 -0
- package/config/base.json +20 -1
- package/config/recommended.json +20 -1
- package/dist/{chunk-XT7T25QQ.js → chunk-2DU5WLFW.js} +2 -2
- package/dist/{chunk-BEZE4GFI.mjs → chunk-2IIPHTTD.mjs} +1 -1
- package/dist/{chunk-75H7T5KM.mjs → chunk-34HAURDJ.mjs} +2 -2
- package/dist/{chunk-VGLDTD5U.mjs → chunk-3HLM3WH4.mjs} +1 -1
- package/dist/{chunk-L4SZWD3D.js → chunk-3OHXS6GF.js} +2 -2
- package/dist/{chunk-KM43UGU6.mjs → chunk-3SPI2WQG.mjs} +2 -2
- package/dist/{chunk-X777ZFHU.js → chunk-3VO4IR6L.js} +5 -5
- package/dist/{chunk-CHHDG2MX.js → chunk-4CDTCMWG.js} +10 -10
- package/dist/{chunk-YZVCSH3T.mjs → chunk-4UF246OR.mjs} +2 -2
- package/dist/{chunk-HE55HJHZ.mjs → chunk-53OPQNZ5.mjs} +1 -1
- package/dist/{chunk-5WFZQ5JS.mjs → chunk-6COBTQS2.mjs} +1 -1
- package/dist/{chunk-H75JKG5Z.mjs → chunk-6DAVAUBH.mjs} +4 -4
- package/dist/{chunk-TLWPXL7M.mjs → chunk-6VHUT2ZQ.mjs} +1 -1
- package/dist/{chunk-2FQIDYBN.js → chunk-7CNSBQ4W.js} +12 -12
- package/dist/{chunk-J2TZAZ76.js → chunk-7UALMGKJ.js} +17 -17
- package/dist/{chunk-KSL6QUB7.js → chunk-ASHUCOUY.js} +21 -21
- package/dist/{chunk-OAST6ITX.mjs → chunk-B44XYUQZ.mjs} +1 -1
- package/dist/{chunk-Q5FLBXGL.js → chunk-BAF4ETQS.js} +4 -4
- package/dist/{chunk-K2QPHBGO.js → chunk-BELK3USL.js} +6 -6
- package/dist/{chunk-KW6T252F.mjs → chunk-BMFYH5B6.mjs} +3 -3
- package/dist/{chunk-7Y4HTTCH.js → chunk-BPH3XDOT.js} +2 -2
- package/dist/{chunk-42LESXB3.mjs → chunk-BPKBADYL.mjs} +1 -1
- package/dist/{chunk-MNFKXDV6.mjs → chunk-CFVJXWU6.mjs} +2 -2
- package/dist/{chunk-AFZKYL2P.mjs → chunk-ENGUMHAC.mjs} +2 -2
- package/dist/{chunk-FAMMSDNC.js → chunk-FPXWV76I.js} +2 -2
- package/dist/{chunk-6ECSUXBH.mjs → chunk-GHEVOUU5.mjs} +1 -1
- package/dist/{chunk-AJSJ2JR6.mjs → chunk-GKWQPCBM.mjs} +1 -1
- package/dist/{chunk-HLULZNA6.mjs → chunk-GQTT2YEC.mjs} +1 -1
- package/dist/{chunk-CW4MH5E2.mjs → chunk-H3RZ4Q4R.mjs} +2 -2
- package/dist/{chunk-5M7Q5AGZ.js → chunk-HMNBJL7E.js} +30 -30
- package/dist/{chunk-35KAXAXF.js → chunk-INELQLPN.js} +34 -34
- package/dist/{chunk-HXRTQR3U.js → chunk-ISNATBTG.js} +2 -2
- package/dist/{chunk-FSSGFERS.js → chunk-JW2WBPGH.js} +2 -2
- package/dist/{chunk-CHUFDTF4.js → chunk-KFJJDYCQ.js} +11 -11
- package/dist/{chunk-BE6YVKCO.js → chunk-KLG3FYHP.js} +2 -2
- package/dist/{chunk-TEYNJ3L6.mjs → chunk-KYHKGHIE.mjs} +6 -2
- package/dist/{chunk-RK2R4IGP.js → chunk-L6TB654Q.js} +2 -2
- package/dist/{chunk-3ZYXVFDI.mjs → chunk-LMIJYAHA.mjs} +2 -2
- package/dist/{chunk-WNPTYHA4.js → chunk-LY5NCULF.js} +5 -5
- package/dist/{chunk-VSWADZIP.mjs → chunk-MYUYK7QF.mjs} +1 -1
- package/dist/{chunk-UIRPA76V.js → chunk-NHVYO5AW.js} +4 -4
- package/dist/{chunk-IDQYPP4E.js → chunk-NJKJ2CMC.js} +2 -2
- package/dist/{chunk-CSZ34LXS.mjs → chunk-OE3OEQFG.mjs} +1 -1
- package/dist/{chunk-IPVDQCJ4.js → chunk-OEMAV2M6.js} +2 -2
- package/dist/{chunk-42RN7JZQ.mjs → chunk-OPOIT2ZX.mjs} +1 -1
- package/dist/{chunk-HU3JD26C.mjs → chunk-OVQR7R35.mjs} +1 -1
- package/dist/{chunk-OPW7VZL2.mjs → chunk-PSKG5FDV.mjs} +1 -1
- package/dist/{chunk-5QE6QZLL.js → chunk-RMX3UJAR.js} +6 -2
- package/dist/{chunk-24WGOY7M.js → chunk-XVYSFNZO.js} +2 -2
- package/dist/{chunk-GOCSQYEA.mjs → chunk-YUR3X2R3.mjs} +2 -2
- package/dist/{chunk-QKLKDDTU.js → chunk-YVWONRVB.js} +2 -2
- package/dist/{chunk-TFTJEDAM.mjs → chunk-ZBGKIIMY.mjs} +4 -4
- package/dist/{chunk-KMBE3TLK.js → chunk-ZHF2EPUB.js} +4 -4
- package/dist/{chunk-JINU7C4X.js → chunk-ZSKE7MPR.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 +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.295.79](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.79) (05/16/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **package-constants** to **v0.1.32**
|
|
10
|
+
- Updated **testing-tools** to **v1.119.172**
|
|
11
|
+
- Updated **config-tools** to **v1.190.19**
|
|
12
|
+
- Updated **pnpm-tools** to **v0.7.29**
|
|
13
|
+
- Updated **npm-tools** to **v0.6.136**
|
|
14
|
+
- Updated **prettier** to **v0.59.71**
|
|
15
|
+
- Updated **esbuild** to **v0.53.180**
|
|
16
|
+
- Updated **unbuild** to **v0.57.180**
|
|
17
|
+
- Updated **config** to **v1.137.51**
|
|
18
|
+
- Updated **tsdown** to **v0.45.180**
|
|
19
|
+
|
|
5
20
|
## [1.295.78](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.78) (05/15/2026)
|
|
6
21
|
|
|
7
22
|
### Updated Dependencies
|
package/config/base.json
CHANGED
|
@@ -295,7 +295,26 @@
|
|
|
295
295
|
"groups": {
|
|
296
296
|
"packages": {
|
|
297
297
|
"projects": ["packages/*"],
|
|
298
|
-
"projectsRelationship": "independent"
|
|
298
|
+
"projectsRelationship": "independent",
|
|
299
|
+
"changelog": {
|
|
300
|
+
"createRelease": "github",
|
|
301
|
+
"entryWhenNoChanges": false
|
|
302
|
+
},
|
|
303
|
+
"version": {
|
|
304
|
+
"groupPreVersionCommand": "pnpm build",
|
|
305
|
+
"currentVersionResolver": "git-tag",
|
|
306
|
+
"specifierSource": "conventional-commits",
|
|
307
|
+
"manifestRootsToUpdate": [
|
|
308
|
+
"{projectRoot}",
|
|
309
|
+
{
|
|
310
|
+
"path": "dist/{projectRoot}",
|
|
311
|
+
"preserveLocalDependencyProtocols": false
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"releaseTag": {
|
|
316
|
+
"pattern": "{projectName}@{version}"
|
|
317
|
+
}
|
|
299
318
|
}
|
|
300
319
|
}
|
|
301
320
|
},
|
package/config/recommended.json
CHANGED
|
@@ -295,7 +295,26 @@
|
|
|
295
295
|
"groups": {
|
|
296
296
|
"packages": {
|
|
297
297
|
"projects": ["packages/*"],
|
|
298
|
-
"projectsRelationship": "independent"
|
|
298
|
+
"projectsRelationship": "independent",
|
|
299
|
+
"changelog": {
|
|
300
|
+
"createRelease": "github",
|
|
301
|
+
"entryWhenNoChanges": false
|
|
302
|
+
},
|
|
303
|
+
"version": {
|
|
304
|
+
"groupPreVersionCommand": "pnpm build",
|
|
305
|
+
"currentVersionResolver": "git-tag",
|
|
306
|
+
"specifierSource": "conventional-commits",
|
|
307
|
+
"manifestRootsToUpdate": [
|
|
308
|
+
"{projectRoot}",
|
|
309
|
+
{
|
|
310
|
+
"path": "dist/{projectRoot}",
|
|
311
|
+
"preserveLocalDependencyProtocols": false
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"releaseTag": {
|
|
316
|
+
"pattern": "{projectName}@{version}"
|
|
317
|
+
}
|
|
299
318
|
}
|
|
300
319
|
}
|
|
301
320
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4CDTCMWGjs = require('./chunk-4CDTCMWG.js');
|
|
4
4
|
|
|
5
5
|
// src/release/js-version-actions.ts
|
|
6
6
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
@@ -24,7 +24,7 @@ var StormJsVersionActions = (_class = class extends _versionactionsjs2.default {
|
|
|
24
24
|
* @params tree - The file system tree to read from.
|
|
25
25
|
*/
|
|
26
26
|
async init(tree) {
|
|
27
|
-
this.workspaceConfig = await
|
|
27
|
+
this.workspaceConfig = await _chunk4CDTCMWGjs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LMIJYAHA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KYHKGHIE.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|
|
@@ -7,7 +7,7 @@ var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7UALMGKJjs = require('./chunk-7UALMGKJ.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 = _chunk7UALMGKJjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkASHUCOUYjs = require('./chunk-ASHUCOUY.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRMX3UJARjs = require('./chunk-RMX3UJAR.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
var _fsextra = require('fs-extra');
|
|
10
10
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
11
11
|
async function typiaExecutorFn(options, _, config) {
|
|
12
12
|
if (options.clean !== false) {
|
|
13
|
-
|
|
13
|
+
_chunkRMX3UJARjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
14
14
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
15
15
|
}
|
|
16
16
|
await Promise.all(
|
|
17
17
|
options.entry.map((entry) => {
|
|
18
|
-
|
|
18
|
+
_chunkRMX3UJARjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
19
19
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
20
20
|
input: entry,
|
|
21
21
|
output: options.outputPath,
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunkASHUCOUYjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkRMX3UJARjs = require('./chunk-RMX3UJAR.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -760,7 +760,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
760
|
let config = result.config;
|
|
761
761
|
const configFile = result.configFile;
|
|
762
762
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
763
|
-
|
|
763
|
+
_chunkRMX3UJARjs.writeTrace.call(void 0,
|
|
764
764
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
765
765
|
{
|
|
766
766
|
logLevel: "all"
|
|
@@ -776,7 +776,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
776
776
|
for (const result2 of results) {
|
|
777
777
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
778
778
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
779
|
-
|
|
779
|
+
_chunkRMX3UJARjs.writeTrace.call(void 0,
|
|
780
780
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
781
781
|
{
|
|
782
782
|
logLevel: "all"
|
|
@@ -888,7 +888,7 @@ var getConfigEnv = () => {
|
|
|
888
888
|
},
|
|
889
889
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
890
890
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
891
|
-
) ?
|
|
891
|
+
) ? _chunkRMX3UJARjs.getLogLevelLabel.call(void 0,
|
|
892
892
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
893
893
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
894
894
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1255,9 +1255,9 @@ var setConfigEnv = (config) => {
|
|
|
1255
1255
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1256
1256
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1257
1257
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1258
|
-
|
|
1258
|
+
_chunkRMX3UJARjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRMX3UJARjs.LogLevel.DEBUG ? true : false
|
|
1259
1259
|
);
|
|
1260
|
-
process.env.RUST_BACKTRACE =
|
|
1260
|
+
process.env.RUST_BACKTRACE = _chunkRMX3UJARjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRMX3UJARjs.LogLevel.DEBUG ? "full" : "none";
|
|
1261
1261
|
}
|
|
1262
1262
|
if (config.skipConfigLogging !== void 0) {
|
|
1263
1263
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1405,7 +1405,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1405
1405
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1406
1406
|
if (!configFile) {
|
|
1407
1407
|
if (!skipLogs) {
|
|
1408
|
-
|
|
1408
|
+
_chunkRMX3UJARjs.writeWarning.call(void 0,
|
|
1409
1409
|
"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",
|
|
1410
1410
|
{ logLevel: "all" }
|
|
1411
1411
|
);
|
|
@@ -1436,7 +1436,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1436
1436
|
throw new Error(
|
|
1437
1437
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1438
1438
|
|
|
1439
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1439
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkRMX3UJARjs.formatLogMessage.call(void 0,
|
|
1440
1440
|
configInput
|
|
1441
1441
|
)}`,
|
|
1442
1442
|
{
|
|
@@ -1481,9 +1481,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1481
1481
|
);
|
|
1482
1482
|
setConfigEnv(config);
|
|
1483
1483
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1484
|
-
|
|
1484
|
+
_chunkRMX3UJARjs.writeTrace.call(void 0,
|
|
1485
1485
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1486
|
-
${
|
|
1486
|
+
${_chunkRMX3UJARjs.formatLogMessage.call(void 0, config)}`,
|
|
1487
1487
|
config
|
|
1488
1488
|
);
|
|
1489
1489
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LMIJYAHA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KYHKGHIE.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GQTT2YEC.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LMIJYAHA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OVQR7R35.mjs";
|
|
15
15
|
import {
|
|
16
16
|
brandIcon,
|
|
17
17
|
formatLogMessage,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
writeInfo,
|
|
23
23
|
writeSuccess,
|
|
24
24
|
writeWarning
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KYHKGHIE.mjs";
|
|
26
26
|
import {
|
|
27
27
|
joinPaths
|
|
28
28
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKLG3FYHPjs = require('./chunk-KLG3FYHP.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk4CDTCMWGjs = require('./chunk-4CDTCMWG.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 _chunk4CDTCMWGjs.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 = _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.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 = _chunkKLG3FYHPjs.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
|
+
_chunkKLG3FYHPjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4CDTCMWGjs = require('./chunk-4CDTCMWG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkRMX3UJARjs = require('./chunk-RMX3UJAR.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -23,33 +23,33 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
23
23
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
24
24
|
skipReadingConfig: false
|
|
25
25
|
}) => async (tree, _options) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkRMX3UJARjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config;
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
`${
|
|
30
|
+
_chunkRMX3UJARjs.writeInfo.call(void 0,
|
|
31
|
+
`${_chunkRMX3UJARjs.brandIcon.call(void 0, config)} Running the ${name} generator...
|
|
32
32
|
|
|
33
33
|
`,
|
|
34
34
|
config
|
|
35
35
|
);
|
|
36
36
|
const workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, );
|
|
37
37
|
if (!generatorOptions.skipReadingConfig) {
|
|
38
|
-
|
|
38
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0,
|
|
39
39
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
40
40
|
- workspaceRoot: ${workspaceRoot}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
config = await
|
|
43
|
+
config = await _chunk4CDTCMWGjs.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
}
|
|
45
45
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
46
|
-
|
|
46
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
47
47
|
options = await Promise.resolve(
|
|
48
48
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
49
49
|
);
|
|
50
|
-
|
|
50
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
_chunkRMX3UJARjs.writeTrace.call(void 0,
|
|
53
53
|
`Generator schema options \u2699\uFE0F
|
|
54
54
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
55
55
|
config
|
|
@@ -60,11 +60,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
60
60
|
_chunkHXQRGLIIjs.applyWorkspaceBaseTokens
|
|
61
61
|
);
|
|
62
62
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
63
|
-
|
|
63
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
64
64
|
await Promise.resolve(
|
|
65
65
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
66
66
|
);
|
|
67
|
-
|
|
67
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
68
68
|
}
|
|
69
69
|
const result = await Promise.resolve(
|
|
70
70
|
generatorFn(tree, tokenized, config)
|
|
@@ -79,21 +79,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
82
|
-
|
|
82
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
83
83
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
84
|
-
|
|
84
|
+
_chunkRMX3UJARjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
85
85
|
}
|
|
86
86
|
return () => {
|
|
87
|
-
|
|
87
|
+
_chunkRMX3UJARjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
88
88
|
`, config);
|
|
89
89
|
};
|
|
90
90
|
} catch (error) {
|
|
91
91
|
return () => {
|
|
92
|
-
|
|
92
|
+
_chunkRMX3UJARjs.writeFatal.call(void 0,
|
|
93
93
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
94
94
|
config
|
|
95
95
|
);
|
|
96
|
-
|
|
96
|
+
_chunkRMX3UJARjs.writeError.call(void 0,
|
|
97
97
|
`An exception was thrown in the generator's process
|
|
98
98
|
- Details: ${error.message}
|
|
99
99
|
- Stacktrace: ${error.stack}`,
|