@storm-software/workspace-tools 1.277.16 → 1.277.18
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 +29 -0
- package/README.md +1 -1
- package/dist/{chunk-3EEJOZ2Y.mjs → chunk-2U4K6V4S.mjs} +2 -2
- package/dist/{chunk-2C2EGKAT.js → chunk-37O7Q4GB.js} +2 -2
- package/dist/{chunk-ZHVQ2WZL.mjs → chunk-57ESEBPQ.mjs} +1 -1
- package/dist/{chunk-N4LYIYAN.js → chunk-5PPUFUZY.js} +2 -2
- package/dist/{chunk-74JVJR6U.mjs → chunk-5RVV3UCN.mjs} +1 -1
- package/dist/{chunk-IC4FYR5F.mjs → chunk-6FNSH4S6.mjs} +18 -6
- package/dist/{chunk-OF4UEJXH.mjs → chunk-ABJV454E.mjs} +1 -1
- package/dist/{chunk-CGTCYUIA.js → chunk-ASBMIJKK.js} +2 -2
- package/dist/{chunk-VOVKD5R6.js → chunk-B2N7XO5R.js} +2 -2
- package/dist/{chunk-F2EU6PBT.js → chunk-B4NM4LMY.js} +2 -2
- package/dist/{chunk-F6QSJFLB.js → chunk-BAQ35HAO.js} +2 -2
- package/dist/{chunk-2AGFMUUJ.js → chunk-BC35AB24.js} +2 -2
- package/dist/{chunk-WAHSPZW5.mjs → chunk-BMAP2AF2.mjs} +1 -1
- package/dist/{chunk-MDW7CA4E.mjs → chunk-DHEESBVJ.mjs} +1 -1
- package/dist/{chunk-6YBMXMDQ.mjs → chunk-HANHFSP2.mjs} +1 -1
- package/dist/{chunk-YJ4K7MUE.mjs → chunk-HEYWM5Q2.mjs} +1 -1
- package/dist/{chunk-XWTCQSBX.js → chunk-ISP24ZHM.js} +2 -2
- package/dist/{chunk-3GOCGWOM.mjs → chunk-K42Q73P3.mjs} +1 -1
- package/dist/{chunk-UPA3MUDB.mjs → chunk-KG7ATZPN.mjs} +1 -1
- package/dist/{chunk-4WSVXYPW.js → chunk-LGHOB3Q6.js} +4 -4
- package/dist/{chunk-HLBNH7SA.mjs → chunk-MIAQLIH6.mjs} +1 -1
- package/dist/{chunk-LQLTWIHR.mjs → chunk-NIMS6SVG.mjs} +1 -1
- package/dist/{chunk-SWBITKD4.js → chunk-OUVRTZVC.js} +2 -2
- package/dist/{chunk-EF52H7XC.js → chunk-P3Q5VKHE.js} +2 -2
- package/dist/{chunk-6PGLF7R4.mjs → chunk-PFKAZNZP.mjs} +1 -1
- package/dist/{chunk-MUMTCFYZ.mjs → chunk-RTEDOBRD.mjs} +1 -1
- package/dist/{chunk-CF2C7VYS.js → chunk-SP4NFWPN.js} +2 -2
- package/dist/{chunk-BCW36SJU.js → chunk-UCHPJ6AF.js} +2 -2
- package/dist/{chunk-IHOUSCN6.js → chunk-UFHLMEML.js} +2 -2
- package/dist/{chunk-XITRSZMQ.js → chunk-ULYJITXE.js} +2 -2
- package/dist/{chunk-OTAR3N7L.js → chunk-WI2PL3RY.js} +18 -6
- package/dist/{chunk-UIVPDMY2.mjs → chunk-WSWM5Z6C.mjs} +1 -1
- package/dist/{chunk-FMNVIINX.mjs → chunk-XBQ5LKO5.mjs} +1 -1
- package/dist/{chunk-XBI7U5XT.js → chunk-YR6EFP73.js} +2 -2
- package/dist/{chunk-RSONIOSF.mjs → chunk-Z6Y3BAAO.mjs} +1 -1
- package/dist/{chunk-CLS52NMH.js → chunk-ZTSF4CAE.js} +2 -2
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +13 -13
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.js +31 -31
- package/dist/index.mjs +33 -33
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +2 -2
- package/dist/src/base/index.js +7 -7
- package/dist/src/base/index.mjs +6 -6
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.js +3 -3
- package/dist/src/executors/clean-package/executor.mjs +2 -2
- package/dist/src/executors/esbuild/executor.js +4 -4
- package/dist/src/executors/esbuild/executor.mjs +3 -3
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +3 -3
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +3 -3
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +3 -3
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +3 -3
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +2 -2
- package/dist/src/utils/index.js +6 -6
- package/dist/src/utils/index.mjs +10 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.17](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.17) (2025-07-09)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace package links
|
|
10
|
+
([e14a6ded1](https://github.com/storm-software/storm-ops/commit/e14a6ded1))
|
|
11
|
+
- **monorepo:** Regenerate README markdown files
|
|
12
|
+
([5c75c1280](https://github.com/storm-software/storm-ops/commit/5c75c1280))
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated esbuild to 0.45.30
|
|
17
|
+
- Updated unbuild to 0.49.41
|
|
18
|
+
|
|
19
|
+
## [1.277.16](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.16) (2025-07-08)
|
|
20
|
+
|
|
21
|
+
### Miscellaneous
|
|
22
|
+
|
|
23
|
+
- **monorepo:** Update workspace package links
|
|
24
|
+
([aabde5749](https://github.com/storm-software/storm-ops/commit/aabde5749))
|
|
25
|
+
- **monorepo:** Update README markdown files
|
|
26
|
+
([a201e9178](https://github.com/storm-software/storm-ops/commit/a201e9178))
|
|
27
|
+
|
|
28
|
+
### Updated Dependencies
|
|
29
|
+
|
|
30
|
+
- Updated prettier to 0.51.43
|
|
31
|
+
- Updated esbuild to 0.45.29
|
|
32
|
+
- Updated unbuild to 0.49.40
|
|
33
|
+
|
|
5
34
|
## [1.277.15](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.15) (2025-07-08)
|
|
6
35
|
|
|
7
36
|
### 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 -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
|
|
@@ -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 = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -7,7 +7,7 @@ var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
|
7
7
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -652,12 +652,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
655
|
+
const configInput = defu2(configEnv, configFile, defaultConfig);
|
|
656
|
+
try {
|
|
657
|
+
result = applyDefaultConfig(
|
|
658
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
659
|
+
);
|
|
660
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
661
|
+
} catch (error) {
|
|
662
|
+
throw new Error(
|
|
663
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
664
|
+
|
|
665
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
666
|
+
configInput
|
|
667
|
+
)}`,
|
|
668
|
+
{
|
|
669
|
+
cause: error
|
|
670
|
+
}
|
|
671
|
+
);
|
|
672
|
+
}
|
|
661
673
|
} else {
|
|
662
674
|
result = _static_cache.data;
|
|
663
675
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunkL3U7C6IXjs = require('./chunk-L3U7C6IX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -266,7 +266,7 @@ async function releaseVersionGeneratorFn(tree, options, config) {
|
|
|
266
266
|
- workspaceRoot: ${workspaceRoot}`,
|
|
267
267
|
config
|
|
268
268
|
);
|
|
269
|
-
config = await
|
|
269
|
+
config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
|
|
270
270
|
_chunk64SHSYARjs.writeTrace.call(void 0,
|
|
271
271
|
`Generator schema options \u2699\uFE0F
|
|
272
272
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
|
-
var
|
|
3
|
+
var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -53,7 +53,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
53
53
|
success: true
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
var generator_default =
|
|
56
|
+
var generator_default = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
|
|
57
57
|
"Configuration Schema Creator",
|
|
58
58
|
configSchemaGeneratorFn,
|
|
59
59
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -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 _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
|
-
var
|
|
3
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
|
|
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
33
33
|
success: true
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
var executor_default =
|
|
36
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
|
-
var
|
|
3
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -390,7 +390,7 @@ async function resolveContext(userOptions) {
|
|
|
390
390
|
if (!workspaceRoot) {
|
|
391
391
|
throw new Error("Cannot find Nx workspace root");
|
|
392
392
|
}
|
|
393
|
-
const workspaceConfig = await
|
|
393
|
+
const workspaceConfig = await _chunkWI2PL3RYjs.getWorkspaceConfig.call(void 0, true, {
|
|
394
394
|
workspaceRoot: workspaceRoot.dir
|
|
395
395
|
});
|
|
396
396
|
_chunk64SHSYARjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -812,7 +812,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
812
812
|
success: true
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
|
-
var executor_default =
|
|
815
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
816
816
|
"Storm ESBuild build",
|
|
817
817
|
esbuildExecutorFn,
|
|
818
818
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
config = await
|
|
39
|
+
config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
42
|
_chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWI2PL3RYjs = require('./chunk-WI2PL3RY.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -47,7 +47,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunkWI2PL3RYjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
53
|
_chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
-
var
|
|
3
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
|
|
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
80
80
|
success: true
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
var executor_default =
|
|
83
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -652,12 +652,24 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
const defaultConfig = await _chunk64SHSYARjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
655
|
+
const configInput = _defu2.default.call(void 0, configEnv, configFile, defaultConfig);
|
|
656
|
+
try {
|
|
657
|
+
result = _chunk64SHSYARjs.applyDefaultConfig.call(void 0,
|
|
658
|
+
await _chunk64SHSYARjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
659
|
+
);
|
|
660
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
661
|
+
} catch (error) {
|
|
662
|
+
throw new Error(
|
|
663
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
664
|
+
|
|
665
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk64SHSYARjs.formatLogMessage.call(void 0,
|
|
666
|
+
configInput
|
|
667
|
+
)}`,
|
|
668
|
+
{
|
|
669
|
+
cause: error
|
|
670
|
+
}
|
|
671
|
+
);
|
|
672
|
+
}
|
|
661
673
|
} else {
|
|
662
674
|
result = _static_cache.data;
|
|
663
675
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP3Q5VKHEjs = require('./chunk-P3Q5VKHE.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkP3Q5VKHEjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOUVRTZVCjs = require('./chunk-OUVRTZVC.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 = _chunkOUVRTZVCjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|