@storm-software/workspace-tools 1.233.0 → 1.233.1
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 +13 -0
- package/README.md +1 -1
- package/dist/{chunk-OCXXIUSC.mjs → chunk-2DNLATEG.mjs} +1 -30
- package/dist/{chunk-MA2QNKZ7.js → chunk-2E2DXYRF.js} +2 -2
- package/dist/{chunk-LEHZZU32.js → chunk-2NYBFBUU.js} +2 -2
- package/dist/{chunk-T5XCHBCB.mjs → chunk-3GQ6H7GF.mjs} +3 -3
- package/dist/{chunk-GVBCN2FA.mjs → chunk-4G35AYIJ.mjs} +1 -1
- package/dist/{chunk-UPMKBKEN.js → chunk-5Z7CCIIJ.js} +2 -2
- package/dist/{chunk-ZMA37UYA.js → chunk-7PETCK66.js} +41 -41
- package/dist/{chunk-DM2FMT3G.mjs → chunk-7TEC757Y.mjs} +0 -1
- package/dist/{chunk-QA6M5DEJ.js → chunk-A3SB76KG.js} +2 -2
- package/dist/{chunk-NHSJQ3KY.mjs → chunk-AKLDSJTD.mjs} +1 -1
- package/dist/{chunk-HIBDVUQ5.js → chunk-BANJXE74.js} +2 -2
- package/dist/{chunk-5FCVQVIS.mjs → chunk-BARR5D5N.mjs} +1 -1
- package/dist/{chunk-5KPWW65X.mjs → chunk-CNX755OY.mjs} +1 -1
- package/dist/{chunk-EECNVIFZ.js → chunk-DOQEFB3U.js} +5 -5
- package/dist/{chunk-FHRBHQ5D.js → chunk-ENBOBX3C.js} +2 -2
- package/dist/{chunk-AX4OFOSN.js → chunk-FE52EM76.js} +8 -37
- package/dist/{chunk-VOPIMPWA.js → chunk-FQCHDI2P.js} +11 -11
- package/dist/{chunk-OJV4NKCZ.js → chunk-IIMNDUXX.js} +9 -9
- package/dist/{chunk-DNUDJEZX.mjs → chunk-IVRCEWW4.mjs} +2 -2
- package/dist/{chunk-SZJOJ773.mjs → chunk-KZGWRL4P.mjs} +1 -1
- package/dist/{chunk-4EO5ZWLS.js → chunk-MVCUW6FQ.js} +31 -31
- package/dist/{chunk-OFSUFHFM.mjs → chunk-N4J73OER.mjs} +2 -2
- package/dist/{chunk-ZYC7FHCD.js → chunk-OH2QVCID.js} +5 -5
- package/dist/{chunk-A4DWQQ6J.mjs → chunk-PKR4QUWJ.mjs} +1 -1
- package/dist/{chunk-OE5KYONM.mjs → chunk-PSMBZ5DR.mjs} +1 -1
- package/dist/{chunk-FZ3N3UJ5.mjs → chunk-QQHYWAVX.mjs} +3 -3
- package/dist/{chunk-SQHYP2JD.mjs → chunk-THMXFMSK.mjs} +1 -1
- package/dist/{chunk-UA7PFIEF.mjs → chunk-UROGF3KF.mjs} +1 -1
- package/dist/{chunk-5Q3LI7CF.js → chunk-UW6T77HF.js} +15 -15
- package/dist/{chunk-T2CG5RNT.js → chunk-VQMSXER7.js} +2 -2
- package/dist/{chunk-QCAF5WDF.mjs → chunk-VVHGKFCB.mjs} +2 -2
- package/dist/chunk-VWJEKC3P.mjs +83 -0
- package/dist/{chunk-WKYE64AL.mjs → chunk-WWSP3KEN.mjs} +1 -1
- package/dist/{chunk-FDI6QWNH.mjs → chunk-XOIDDNCA.mjs} +1 -1
- package/dist/chunk-XWYXKDH2.js +83 -0
- package/dist/{chunk-L2KYX6WC.js → chunk-Y2LDGJCA.js} +2 -2
- package/dist/{chunk-2AQPTJLC.js → chunk-YFIHF222.js} +2 -2
- package/dist/{chunk-CDOWHRVE.js → chunk-YO7MVS4A.js} +17 -17
- package/dist/{chunk-GRBZKMJI.js → chunk-ZJXBN32W.js} +1 -2
- package/dist/{chunk-QTW54PBD.mjs → chunk-ZPQJ7P6C.mjs} +1 -1
- 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 +21 -21
- package/dist/index.mjs +20 -20
- 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 +5 -5
- package/dist/src/executors/clean-package/executor.mjs +2 -2
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +3 -3
- package/dist/src/executors/tsdown/executor.js +5 -5
- package/dist/src/executors/tsdown/executor.mjs +4 -4
- 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 -5
- package/dist/src/executors/unbuild/executor.mjs +3 -4
- 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/package.json +5 -4
- package/dist/chunk-JHP7QOI4.js +0 -507
- package/dist/chunk-TSTK2BD6.mjs +0 -507
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PKR4QUWJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
StormConfigSchema,
|
|
6
6
|
writeInfo,
|
|
7
7
|
writeSuccess,
|
|
8
8
|
writeTrace
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7TEC757Y.mjs";
|
|
10
10
|
import {
|
|
11
11
|
findWorkspaceRoot
|
|
12
12
|
} from "./chunk-DMUTOQCB.mjs";
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "./chunk-4G35AYIJ.mjs";
|
|
4
|
+
import {
|
|
5
|
+
writeInfo
|
|
6
|
+
} from "./chunk-7TEC757Y.mjs";
|
|
7
|
+
import {
|
|
8
|
+
joinPaths
|
|
9
|
+
} from "./chunk-PVTEDLBL.mjs";
|
|
10
|
+
import {
|
|
11
|
+
__name
|
|
12
|
+
} from "./chunk-XUV4U54K.mjs";
|
|
13
|
+
|
|
14
|
+
// src/executors/unbuild/executor.ts
|
|
15
|
+
import { defu } from "defu";
|
|
16
|
+
import { createJiti } from "jiti";
|
|
17
|
+
async function unbuildExecutorFn(options, context, config) {
|
|
18
|
+
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
19
|
+
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
|
|
20
|
+
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
21
|
+
}
|
|
22
|
+
const jiti = createJiti(config.workspaceRoot, {
|
|
23
|
+
fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
24
|
+
interopDefault: true
|
|
25
|
+
});
|
|
26
|
+
const stormUnbuild = await jiti.import("@storm-software/unbuild");
|
|
27
|
+
await stormUnbuild.build(defu({
|
|
28
|
+
...options,
|
|
29
|
+
projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
|
|
30
|
+
projectName: context.projectName,
|
|
31
|
+
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
32
|
+
platform: options.platform,
|
|
33
|
+
name: context.projectName
|
|
34
|
+
}, {
|
|
35
|
+
stubOptions: {
|
|
36
|
+
jiti: {
|
|
37
|
+
cache: "node_modules/.cache/storm"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
rollup: {
|
|
41
|
+
emitCJS: true,
|
|
42
|
+
watch: false,
|
|
43
|
+
cjsBridge: false,
|
|
44
|
+
dts: {
|
|
45
|
+
respectExternal: true
|
|
46
|
+
},
|
|
47
|
+
replace: {},
|
|
48
|
+
alias: {},
|
|
49
|
+
resolve: {},
|
|
50
|
+
json: {},
|
|
51
|
+
commonjs: {},
|
|
52
|
+
esbuild: {
|
|
53
|
+
target: options.target,
|
|
54
|
+
format: "esm",
|
|
55
|
+
platform: options.platform,
|
|
56
|
+
minify: options.minify,
|
|
57
|
+
treeShaking: options.treeShaking
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
return {
|
|
62
|
+
success: true
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
__name(unbuildExecutorFn, "unbuildExecutorFn");
|
|
66
|
+
var executor_default = withRunExecutor("TypeScript Unbuild build", unbuildExecutorFn, {
|
|
67
|
+
skipReadingConfig: false,
|
|
68
|
+
hooks: {
|
|
69
|
+
applyDefaultOptions: /* @__PURE__ */ __name(async (options, config) => {
|
|
70
|
+
options.entry ??= [
|
|
71
|
+
"{sourceRoot}"
|
|
72
|
+
];
|
|
73
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
74
|
+
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
75
|
+
return options;
|
|
76
|
+
}, "applyDefaultOptions")
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
export {
|
|
81
|
+
unbuildExecutorFn,
|
|
82
|
+
executor_default
|
|
83
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
+
|
|
3
|
+
var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
13
|
+
|
|
14
|
+
// src/executors/unbuild/executor.ts
|
|
15
|
+
var _defu = require('defu');
|
|
16
|
+
var _jiti = require('jiti');
|
|
17
|
+
async function unbuildExecutorFn(options, context, config) {
|
|
18
|
+
_chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
19
|
+
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'access', _4 => _4.projects, 'access', _5 => _5[context.projectName], 'optionalAccess', _6 => _6.root])) {
|
|
20
|
+
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
21
|
+
}
|
|
22
|
+
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
23
|
+
fsCache: config.skipCache ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
24
|
+
interopDefault: true
|
|
25
|
+
});
|
|
26
|
+
const stormUnbuild = await jiti.import("@storm-software/unbuild");
|
|
27
|
+
await stormUnbuild.build(_defu.defu.call(void 0, {
|
|
28
|
+
...options,
|
|
29
|
+
projectRoot: _optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[context.projectName], 'access', _10 => _10.root]),
|
|
30
|
+
projectName: context.projectName,
|
|
31
|
+
sourceRoot: _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'optionalAccess', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.sourceRoot]),
|
|
32
|
+
platform: options.platform,
|
|
33
|
+
name: context.projectName
|
|
34
|
+
}, {
|
|
35
|
+
stubOptions: {
|
|
36
|
+
jiti: {
|
|
37
|
+
cache: "node_modules/.cache/storm"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
rollup: {
|
|
41
|
+
emitCJS: true,
|
|
42
|
+
watch: false,
|
|
43
|
+
cjsBridge: false,
|
|
44
|
+
dts: {
|
|
45
|
+
respectExternal: true
|
|
46
|
+
},
|
|
47
|
+
replace: {},
|
|
48
|
+
alias: {},
|
|
49
|
+
resolve: {},
|
|
50
|
+
json: {},
|
|
51
|
+
commonjs: {},
|
|
52
|
+
esbuild: {
|
|
53
|
+
target: options.target,
|
|
54
|
+
format: "esm",
|
|
55
|
+
platform: options.platform,
|
|
56
|
+
minify: options.minify,
|
|
57
|
+
treeShaking: options.treeShaking
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
return {
|
|
62
|
+
success: true
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
_chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
|
|
66
|
+
var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
|
|
67
|
+
skipReadingConfig: false,
|
|
68
|
+
hooks: {
|
|
69
|
+
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
|
|
70
|
+
options.entry ??= [
|
|
71
|
+
"{sourceRoot}"
|
|
72
|
+
];
|
|
73
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
74
|
+
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
75
|
+
return options;
|
|
76
|
+
}, "applyDefaultOptions")
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
exports.unbuildExecutorFn = unbuildExecutorFn; exports.executor_default = executor_default;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
|
|
|
15
15
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
17
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
|
|
18
|
-
var executor_default =
|
|
18
|
+
var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -70,7 +70,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
72
72
|
_chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
|
|
73
|
-
var generator_default =
|
|
73
|
+
var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
|
|
74
74
|
hooks: {
|
|
75
75
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
76
76
|
options.description ??= "A library used by Storm Software to support browser applications";
|
|
@@ -14,7 +14,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
|
|
@@ -24,11 +24,11 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
24
24
|
|
|
25
25
|
// src/base/base-executor.ts
|
|
26
26
|
var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
27
|
-
const stopwatch =
|
|
27
|
+
const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, name);
|
|
28
28
|
let options = _options;
|
|
29
29
|
let config = {};
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
_chunkZJXBN32Wjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
|
|
32
32
|
`, config);
|
|
33
33
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
34
34
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
@@ -39,20 +39,20 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
|
|
|
39
39
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
40
40
|
config.workspaceRoot = workspaceRoot;
|
|
41
41
|
if (!executorOptions.skipReadingConfig) {
|
|
42
|
-
|
|
42
|
+
_chunkZJXBN32Wjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
45
45
|
- sourceRoot: ${sourceRoot}
|
|
46
46
|
- projectName: ${projectName}
|
|
47
47
|
`, config);
|
|
48
|
-
config = await
|
|
48
|
+
config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot);
|
|
49
49
|
}
|
|
50
50
|
if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
|
|
51
|
-
|
|
51
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
52
52
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
53
|
-
|
|
53
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
_chunkZJXBN32Wjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
|
|
56
56
|
${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
57
57
|
const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
|
|
58
58
|
config,
|
|
@@ -64,9 +64,9 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
|
|
|
64
64
|
...executorOptions
|
|
65
65
|
}, _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens);
|
|
66
66
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.preProcess])) {
|
|
67
|
-
|
|
67
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
68
68
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
69
|
-
|
|
69
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
70
70
|
}
|
|
71
71
|
const ret = executorFn(tokenized, context, config);
|
|
72
72
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _19 => _19.next]))) {
|
|
@@ -76,26 +76,26 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
|
|
|
76
76
|
}
|
|
77
77
|
const result = await Promise.resolve(ret);
|
|
78
78
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _20 => _20.error, 'optionalAccess', _21 => _21.message]) && typeof _optionalChain([result, 'optionalAccess', _22 => _22.error, 'optionalAccess', _23 => _23.message]) === "string" && _optionalChain([result, 'optionalAccess', _24 => _24.error, 'optionalAccess', _25 => _25.name]) && typeof _optionalChain([result, 'optionalAccess', _26 => _26.error, 'optionalAccess', _27 => _27.name]) === "string")) {
|
|
79
|
-
|
|
80
|
-
${
|
|
79
|
+
_chunkZJXBN32Wjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
80
|
+
${_chunkZJXBN32Wjs.formatLogMessage.call(void 0, result)}`, config);
|
|
81
81
|
console.error(result);
|
|
82
82
|
throw new Error(`The ${name} executor failed to run`, {
|
|
83
83
|
cause: _optionalChain([result, 'optionalAccess', _28 => _28.error])
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
if (_optionalChain([executorOptions, 'optionalAccess', _29 => _29.hooks, 'optionalAccess', _30 => _30.postProcess])) {
|
|
87
|
-
|
|
87
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
88
88
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
89
|
-
|
|
89
|
+
_chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
_chunkZJXBN32Wjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
92
92
|
`, config);
|
|
93
93
|
return {
|
|
94
94
|
success: true
|
|
95
95
|
};
|
|
96
96
|
} catch (error) {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
_chunkZJXBN32Wjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
|
|
98
|
+
_chunkZJXBN32Wjs.writeError.call(void 0, `An exception was thrown in the executor's process
|
|
99
99
|
- Details: ${error.message}
|
|
100
100
|
- Stacktrace: ${error.stack}`, config);
|
|
101
101
|
return {
|
|
@@ -984,5 +984,4 @@ ${formatLogMessage(config)}`, config);
|
|
|
984
984
|
|
|
985
985
|
|
|
986
986
|
|
|
987
|
-
|
|
988
|
-
exports.LogLevelLabel = LogLevelLabel; exports.StormConfigSchema = StormConfigSchema; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.loadStormConfig = loadStormConfig;
|
|
987
|
+
exports.StormConfigSchema = StormConfigSchema; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.loadStormConfig = loadStormConfig;
|
package/dist/executors.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXWYXKDH2js = require('./chunk-XWYXKDH2.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkOH2QVCIDjs = require('./chunk-OH2QVCID.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkMVCUW6FQjs = require('./chunk-MVCUW6FQ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkDOQEFB3Ujs = require('./chunk-DOQEFB3U.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkBANJXE74js = require('./chunk-BANJXE74.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
25
|
+
var _chunk7PETCK66js = require('./chunk-7PETCK66.js');
|
|
26
|
+
require('./chunk-FE52EM76.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkENBOBX3Cjs = require('./chunk-ENBOBX3C.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkY2LDGJCAjs = require('./chunk-Y2LDGJCA.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkVQMSXER7js = require('./chunk-VQMSXER7.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk5Z7CCIIJjs = require('./chunk-5Z7CCIIJ.js');
|
|
39
39
|
require('./chunk-WPMFZECR.js');
|
|
40
40
|
require('./chunk-ULBTYC2B.js');
|
|
41
41
|
require('./chunk-ZMFVKBRM.js');
|
|
42
|
-
require('./chunk-
|
|
42
|
+
require('./chunk-YO7MVS4A.js');
|
|
43
43
|
require('./chunk-BWFTYFWM.js');
|
|
44
44
|
require('./chunk-5CPYNJT2.js');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-ZJXBN32W.js');
|
|
46
46
|
require('./chunk-5MKQX2FE.js');
|
|
47
47
|
require('./chunk-XCSSYTCU.js');
|
|
48
48
|
require('./chunk-3GQAWCBQ.js');
|
|
@@ -59,4 +59,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor =
|
|
62
|
+
exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkENBOBX3Cjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkY2LDGJCAjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkVQMSXER7js.cargoClippyExecutor; exports.cargoDocExecutor = _chunk5Z7CCIIJjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkBANJXE74js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk7PETCK66js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkOH2QVCIDjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkMVCUW6FQjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkDOQEFB3Ujs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkXWYXKDH2js.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import "./chunk-V7YZ3666.mjs";
|
|
2
2
|
import {
|
|
3
3
|
unbuildExecutorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VWJEKC3P.mjs";
|
|
5
5
|
import {
|
|
6
6
|
LARGE_BUFFER
|
|
7
7
|
} from "./chunk-5FEFILUQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
sizeLimitExecutorFn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IVRCEWW4.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tsdownExecutorFn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QQHYWAVX.mjs";
|
|
14
14
|
import {
|
|
15
15
|
typiaExecutorFn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N4J73OER.mjs";
|
|
17
17
|
import {
|
|
18
18
|
cargoFormatExecutor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BARR5D5N.mjs";
|
|
20
20
|
import {
|
|
21
21
|
getRegistryVersion
|
|
22
22
|
} from "./chunk-6ZQ3QYXH.mjs";
|
|
23
23
|
import {
|
|
24
24
|
esbuildExecutorFn
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3GQ6H7GF.mjs";
|
|
26
|
+
import "./chunk-2DNLATEG.mjs";
|
|
27
27
|
import {
|
|
28
28
|
cargoBuildExecutor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CNX755OY.mjs";
|
|
30
30
|
import {
|
|
31
31
|
cargoCheckExecutor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UROGF3KF.mjs";
|
|
33
33
|
import {
|
|
34
34
|
cargoClippyExecutor
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZPQJ7P6C.mjs";
|
|
36
36
|
import {
|
|
37
37
|
cargoDocExecutor
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AKLDSJTD.mjs";
|
|
39
39
|
import "./chunk-RXH7O5YP.mjs";
|
|
40
40
|
import "./chunk-QZHIWK5Z.mjs";
|
|
41
41
|
import "./chunk-VYH45FO6.mjs";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-4G35AYIJ.mjs";
|
|
43
43
|
import "./chunk-FFBZYD6R.mjs";
|
|
44
44
|
import "./chunk-NDDXQD7R.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-7TEC757Y.mjs";
|
|
46
46
|
import "./chunk-DMUTOQCB.mjs";
|
|
47
47
|
import "./chunk-PVTEDLBL.mjs";
|
|
48
48
|
import "./chunk-XUV4U54K.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2E2DXYRFjs = require('./chunk-2E2DXYRF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2NYBFBUUjs = require('./chunk-2NYBFBUU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkA3SB76KGjs = require('./chunk-A3SB76KG.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkFQCHDI2Pjs = require('./chunk-FQCHDI2P.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkYFIHF222js = require('./chunk-YFIHF222.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkIIMNDUXXjs = require('./chunk-IIMNDUXX.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
@@ -24,9 +24,9 @@ require('./chunk-FBLF4KJF.js');
|
|
|
24
24
|
require('./chunk-7YRW5HNX.js');
|
|
25
25
|
require('./chunk-HI4G4OOG.js');
|
|
26
26
|
require('./chunk-ZMFVKBRM.js');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-UW6T77HF.js');
|
|
28
28
|
require('./chunk-5CPYNJT2.js');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-ZJXBN32W.js');
|
|
30
30
|
require('./chunk-5MKQX2FE.js');
|
|
31
31
|
require('./chunk-XCSSYTCU.js');
|
|
32
32
|
require('./chunk-3GQAWCBQ.js');
|
|
@@ -38,4 +38,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.browserLibraryGeneratorFn =
|
|
41
|
+
exports.browserLibraryGeneratorFn = _chunkYFIHF222js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkIIMNDUXXjs.configSchemaGeneratorFn; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunk2E2DXYRFjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunk2NYBFBUUjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkA3SB76KGjs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkFQCHDI2Pjs.releaseVersionGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-RLIZVCIN.mjs";
|
|
2
2
|
import {
|
|
3
3
|
neutralLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PSMBZ5DR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
nodeLibraryGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-THMXFMSK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
presetGeneratorFn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KZGWRL4P.mjs";
|
|
11
11
|
import {
|
|
12
12
|
releaseVersionGeneratorFn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WWSP3KEN.mjs";
|
|
14
14
|
import {
|
|
15
15
|
browserLibraryGeneratorFn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XOIDDNCA.mjs";
|
|
17
17
|
import {
|
|
18
18
|
configSchemaGeneratorFn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VVHGKFCB.mjs";
|
|
20
20
|
import {
|
|
21
21
|
initGenerator
|
|
22
22
|
} from "./chunk-J5SXKBBU.mjs";
|
|
@@ -24,9 +24,9 @@ import "./chunk-XSRDTQ5C.mjs";
|
|
|
24
24
|
import "./chunk-66TYTM73.mjs";
|
|
25
25
|
import "./chunk-EK75QNMS.mjs";
|
|
26
26
|
import "./chunk-VYH45FO6.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-PKR4QUWJ.mjs";
|
|
28
28
|
import "./chunk-NDDXQD7R.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-7TEC757Y.mjs";
|
|
30
30
|
import "./chunk-DMUTOQCB.mjs";
|
|
31
31
|
import "./chunk-PVTEDLBL.mjs";
|
|
32
32
|
import "./chunk-XUV4U54K.mjs";
|