@storm-software/workspace-tools 1.277.17 → 1.277.19
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 +27 -0
- package/README.md +1 -1
- package/dist/{chunk-HLBNH7SA.mjs → chunk-5ZESKANL.mjs} +1 -1
- package/dist/{chunk-2AGFMUUJ.js → chunk-625KHBUR.js} +2 -2
- package/dist/{chunk-SWBITKD4.js → chunk-B5JNWTUG.js} +2 -2
- package/dist/{chunk-ZHVQ2WZL.mjs → chunk-BZLV3DUU.mjs} +1 -1
- package/dist/{chunk-XBI7U5XT.js → chunk-DAZ45RAJ.js} +2 -2
- package/dist/{chunk-IHOUSCN6.js → chunk-DEGG3GC3.js} +2 -2
- package/dist/{chunk-6PGLF7R4.mjs → chunk-F2BM22QJ.mjs} +1 -1
- package/dist/{chunk-FMNVIINX.mjs → chunk-FD42BMRE.mjs} +1 -1
- package/dist/{chunk-2C2EGKAT.js → chunk-FVTAYG7C.js} +2 -2
- package/dist/{chunk-BCW36SJU.js → chunk-GPAH2XUM.js} +2 -2
- package/dist/{chunk-UPA3MUDB.mjs → chunk-HIKE6ACN.mjs} +1 -1
- package/dist/{chunk-CLS52NMH.js → chunk-I5PFQ32U.js} +2 -2
- package/dist/{chunk-CGTCYUIA.js → chunk-INDS3IGH.js} +2 -2
- package/dist/{chunk-IC4FYR5F.mjs → chunk-KOLNKKQ5.mjs} +21 -5
- package/dist/{chunk-N4LYIYAN.js → chunk-KWQYMPVY.js} +2 -2
- package/dist/{chunk-F6QSJFLB.js → chunk-LJOPJGFV.js} +2 -2
- package/dist/{chunk-MDW7CA4E.mjs → chunk-LLXQNI4V.mjs} +1 -1
- package/dist/{chunk-CF2C7VYS.js → chunk-LOWIHCCA.js} +2 -2
- package/dist/{chunk-XITRSZMQ.js → chunk-MLMJVWDN.js} +2 -2
- package/dist/{chunk-OF4UEJXH.mjs → chunk-NI6UCWBQ.mjs} +1 -1
- package/dist/{chunk-YJ4K7MUE.mjs → chunk-NQG6PZSU.mjs} +1 -1
- package/dist/{chunk-OTAR3N7L.js → chunk-OH7KAS54.js} +21 -5
- package/dist/{chunk-RSONIOSF.mjs → chunk-RY74FLHL.mjs} +1 -1
- package/dist/{chunk-VOVKD5R6.js → chunk-T7CP3UFW.js} +2 -2
- package/dist/{chunk-6YBMXMDQ.mjs → chunk-TI2SPALA.mjs} +1 -1
- package/dist/{chunk-LQLTWIHR.mjs → chunk-VZRVKVAO.mjs} +1 -1
- package/dist/{chunk-F2EU6PBT.js → chunk-WIFN7LM3.js} +2 -2
- package/dist/{chunk-3GOCGWOM.mjs → chunk-WVGU3B2X.mjs} +1 -1
- package/dist/{chunk-UIVPDMY2.mjs → chunk-WXTBIQEB.mjs} +1 -1
- package/dist/{chunk-XWTCQSBX.js → chunk-WZBBSDC4.js} +2 -2
- package/dist/{chunk-MUMTCFYZ.mjs → chunk-X3ST5ZXI.mjs} +1 -1
- package/dist/{chunk-WAHSPZW5.mjs → chunk-XBDORAQU.mjs} +1 -1
- package/dist/{chunk-EF52H7XC.js → chunk-YNB77CQX.js} +2 -2
- package/dist/{chunk-74JVJR6U.mjs → chunk-YXO7QCSQ.mjs} +1 -1
- package/dist/{chunk-3EEJOZ2Y.mjs → chunk-Z2XCY6HJ.mjs} +2 -2
- package/dist/{chunk-4WSVXYPW.js → chunk-ZBDSKCSB.js} +4 -4
- package/dist/executors.js +12 -12
- package/dist/executors.mjs +11 -11
- package/dist/{generator-Ch2l-Z4M.d.mts → generator-T6mKvAuP.d.mts} +1 -1
- package/dist/{generator-DsTgpREC.d.ts → generator-lTDdrLpW.d.ts} +1 -1
- package/dist/generators.d.mts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -19
- package/dist/index.mjs +18 -18
- 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 +4 -4
- package/dist/src/base/index.mjs +3 -3
- 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.d.mts +1 -1
- package/dist/src/generators/config-schema/generator.d.ts +1 -1
- 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/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.18](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.18) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([98723860a](https://github.com/storm-software/storm-ops/commit/98723860a))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated prettier to 0.51.44
|
|
15
|
+
- Updated esbuild to 0.45.31
|
|
16
|
+
- Updated unbuild to 0.49.42
|
|
17
|
+
|
|
18
|
+
## [1.277.17](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.17) (2025-07-09)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **monorepo:** Update workspace package links
|
|
23
|
+
([e14a6ded1](https://github.com/storm-software/storm-ops/commit/e14a6ded1))
|
|
24
|
+
- **monorepo:** Regenerate README markdown files
|
|
25
|
+
([5c75c1280](https://github.com/storm-software/storm-ops/commit/5c75c1280))
|
|
26
|
+
|
|
27
|
+
### Updated Dependencies
|
|
28
|
+
|
|
29
|
+
- Updated esbuild to 0.45.30
|
|
30
|
+
- Updated unbuild to 0.49.41
|
|
31
|
+
|
|
5
32
|
## [1.277.16](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.16) (2025-07-08)
|
|
6
33
|
|
|
7
34
|
### 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 -->
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
var _chunkL3U7C6IXjs = require('./chunk-L3U7C6IX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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(
|
|
@@ -652,12 +652,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
655
|
+
const configInput = defu2(
|
|
656
|
+
configEnv,
|
|
657
|
+
configFile,
|
|
658
|
+
defaultConfig
|
|
659
659
|
);
|
|
660
|
-
|
|
660
|
+
try {
|
|
661
|
+
result = applyDefaultConfig(
|
|
662
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
663
|
+
);
|
|
664
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
665
|
+
} catch (error) {
|
|
666
|
+
throw new Error(
|
|
667
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
668
|
+
|
|
669
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
670
|
+
configInput
|
|
671
|
+
)}`,
|
|
672
|
+
{
|
|
673
|
+
cause: error
|
|
674
|
+
}
|
|
675
|
+
);
|
|
676
|
+
}
|
|
661
677
|
} else {
|
|
662
678
|
result = _static_cache.data;
|
|
663
679
|
}
|
|
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.withRunGenerator.call(void 0,
|
|
57
57
|
"Configuration Schema Creator",
|
|
58
58
|
configSchemaGeneratorFn,
|
|
59
59
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -652,12 +652,28 @@ 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
|
-
|
|
655
|
+
const configInput = _defu2.default.call(void 0,
|
|
656
|
+
configEnv,
|
|
657
|
+
configFile,
|
|
658
|
+
defaultConfig
|
|
659
659
|
);
|
|
660
|
-
|
|
660
|
+
try {
|
|
661
|
+
result = _chunk64SHSYARjs.applyDefaultConfig.call(void 0,
|
|
662
|
+
await _chunk64SHSYARjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
663
|
+
);
|
|
664
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
665
|
+
} catch (error) {
|
|
666
|
+
throw new Error(
|
|
667
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
668
|
+
|
|
669
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk64SHSYARjs.formatLogMessage.call(void 0,
|
|
670
|
+
configInput
|
|
671
|
+
)}`,
|
|
672
|
+
{
|
|
673
|
+
cause: error
|
|
674
|
+
}
|
|
675
|
+
);
|
|
676
|
+
}
|
|
661
677
|
} else {
|
|
662
678
|
result = _static_cache.data;
|
|
663
679
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.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 _chunkB5JNWTUGjs = require('./chunk-B5JNWTUG.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 = _chunkB5JNWTUGjs.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 _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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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);
|
|
@@ -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 _chunkYNB77CQXjs = require('./chunk-YNB77CQX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOH7KAS54js = require('./chunk-OH7KAS54.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 _chunkOH7KAS54js.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 = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
|
|
816
816
|
"Storm ESBuild build",
|
|
817
817
|
esbuildExecutorFn,
|
|
818
818
|
{
|