@storm-software/workspace-tools 1.295.73 → 1.295.75
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 +26 -0
- package/dist/{chunk-A7XSX2OE.js → chunk-24WGOY7M.js} +2 -2
- package/dist/{chunk-RW4Q2PQR.js → chunk-2FQIDYBN.js} +12 -12
- package/dist/{chunk-IIDZJGC3.js → chunk-35KAXAXF.js} +34 -34
- package/dist/{chunk-SEZ726NO.mjs → chunk-3ZYXVFDI.mjs} +2 -2
- package/dist/{chunk-UE6LE5R2.mjs → chunk-42LESXB3.mjs} +1 -1
- package/dist/{chunk-IK2SIG4W.mjs → chunk-42RN7JZQ.mjs} +1 -1
- package/dist/{chunk-RGPA6TMT.js → chunk-5M7Q5AGZ.js} +30 -30
- package/dist/{chunk-AGR3NCGA.js → chunk-5QE6QZLL.js} +17 -8
- package/dist/{chunk-ZTBAMYWX.mjs → chunk-5WFZQ5JS.mjs} +1 -1
- package/dist/{chunk-PLILUNWG.mjs → chunk-6ECSUXBH.mjs} +1 -1
- package/dist/{chunk-CJVTWYOM.mjs → chunk-75H7T5KM.mjs} +2 -2
- package/dist/{chunk-QLV3LANL.js → chunk-7Y4HTTCH.js} +2 -2
- package/dist/{chunk-4Z3UCUDJ.mjs → chunk-AFZKYL2P.mjs} +2 -2
- package/dist/{chunk-FX64QLIN.mjs → chunk-AJSJ2JR6.mjs} +1 -1
- package/dist/{chunk-4ZQUYG5T.js → chunk-BE6YVKCO.js} +2 -2
- package/dist/{chunk-OXB34DFO.mjs → chunk-BEZE4GFI.mjs} +1 -1
- package/dist/{chunk-ZJ75AYXE.js → chunk-CHHDG2MX.js} +10 -10
- package/dist/{chunk-UTP3KI2H.js → chunk-CHUFDTF4.js} +11 -11
- package/dist/{chunk-UKTILFKM.mjs → chunk-CSZ34LXS.mjs} +1 -1
- package/dist/{chunk-R4NPC2W7.mjs → chunk-CW4MH5E2.mjs} +2 -2
- package/dist/{chunk-PHIKLLXQ.js → chunk-FAMMSDNC.js} +2 -2
- package/dist/{chunk-BRMFLUTQ.js → chunk-FSSGFERS.js} +2 -2
- package/dist/{chunk-46GNS53C.mjs → chunk-GOCSQYEA.mjs} +2 -2
- package/dist/{chunk-DTBAID2E.mjs → chunk-H75JKG5Z.mjs} +4 -4
- package/dist/{chunk-VTEU7W42.mjs → chunk-HE55HJHZ.mjs} +1 -1
- package/dist/{chunk-FVCRMDQ4.mjs → chunk-HLULZNA6.mjs} +1 -1
- package/dist/{chunk-K7B3YICS.mjs → chunk-HU3JD26C.mjs} +1 -1
- package/dist/{chunk-2NAUEEZT.js → chunk-HXRTQR3U.js} +2 -2
- package/dist/{chunk-2HPK7P5W.js → chunk-IDQYPP4E.js} +2 -2
- package/dist/{chunk-IVAYCDYI.js → chunk-IPVDQCJ4.js} +2 -2
- package/dist/{chunk-RSYBXBX2.js → chunk-J2TZAZ76.js} +17 -17
- package/dist/{chunk-RK2H6GNO.js → chunk-JINU7C4X.js} +2 -2
- package/dist/{chunk-TX5O64JJ.js → chunk-K2QPHBGO.js} +6 -6
- package/dist/{chunk-U35L6YML.mjs → chunk-KM43UGU6.mjs} +2 -2
- package/dist/{chunk-237PJK2V.js → chunk-KMBE3TLK.js} +4 -4
- package/dist/{chunk-GSGT2T27.js → chunk-KSL6QUB7.js} +21 -21
- package/dist/{chunk-UNUH7N7Y.mjs → chunk-KW6T252F.mjs} +3 -3
- package/dist/{chunk-M4QORJBG.js → chunk-L4SZWD3D.js} +2 -2
- package/dist/{chunk-LOIAWLLD.mjs → chunk-MNFKXDV6.mjs} +2 -2
- package/dist/{chunk-JCPIXJ3N.mjs → chunk-OAST6ITX.mjs} +1 -1
- package/dist/{chunk-CZPRVK6P.mjs → chunk-OPW7VZL2.mjs} +1 -1
- package/dist/{chunk-KBIJQTKM.js → chunk-Q5FLBXGL.js} +4 -4
- package/dist/{chunk-7RI43PE4.js → chunk-QKLKDDTU.js} +2 -2
- package/dist/{chunk-IIMRAJEJ.js → chunk-RK2R4IGP.js} +2 -2
- package/dist/{chunk-T55IDP24.mjs → chunk-TEYNJ3L6.mjs} +17 -8
- package/dist/{chunk-5JNL56OH.mjs → chunk-TFTJEDAM.mjs} +4 -4
- package/dist/{chunk-3V43ZXBN.mjs → chunk-TLWPXL7M.mjs} +1 -1
- package/dist/{chunk-Z7G3CM4Z.js → chunk-UIRPA76V.js} +4 -4
- package/dist/{chunk-3QM6CFXC.mjs → chunk-VGLDTD5U.mjs} +1 -1
- package/dist/{chunk-RN4I4XGR.mjs → chunk-VSWADZIP.mjs} +1 -1
- package/dist/{chunk-52CEFR2O.js → chunk-WNPTYHA4.js} +5 -5
- package/dist/{chunk-FHHWAN4N.js → chunk-X777ZFHU.js} +5 -5
- package/dist/{chunk-WUKU43IZ.js → chunk-XT7T25QQ.js} +2 -2
- package/dist/{chunk-CNL74KSJ.mjs → chunk-YZVCSH3T.mjs} +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 +12 -12
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ var _chunkZJ75AYXEjs = require('./chunk-ZJ75AYXE.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -23,7 +23,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
var _defu = require('defu');
|
|
25
25
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunk5QE6QZLLjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config = {};
|
|
29
29
|
try {
|
|
@@ -37,12 +37,12 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
37
37
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
38
38
|
const projectName = context.projectName;
|
|
39
39
|
config.workspaceRoot = workspaceRoot;
|
|
40
|
-
|
|
41
|
-
`${
|
|
40
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0,
|
|
41
|
+
`${_chunk5QE6QZLLjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
|
|
42
42
|
config
|
|
43
43
|
);
|
|
44
44
|
if (!executorOptions.skipReadingConfig) {
|
|
45
|
-
|
|
45
|
+
_chunk5QE6QZLLjs.writeTrace.call(void 0,
|
|
46
46
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
47
47
|
- workspaceRoot: ${workspaceRoot}
|
|
48
48
|
- projectRoot: ${projectRoot}
|
|
@@ -51,18 +51,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
51
51
|
`,
|
|
52
52
|
config
|
|
53
53
|
);
|
|
54
|
-
config = await
|
|
54
|
+
config = await _chunkCHHDG2MXjs.getConfig.call(void 0, workspaceRoot);
|
|
55
55
|
}
|
|
56
56
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
57
|
-
|
|
57
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
58
58
|
options = await Promise.resolve(
|
|
59
59
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
60
60
|
);
|
|
61
|
-
|
|
61
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
_chunk5QE6QZLLjs.writeTrace.call(void 0,
|
|
64
64
|
`Executor schema options \u2699\uFE0F
|
|
65
|
-
${
|
|
65
|
+
${_chunk5QE6QZLLjs.formatLogMessage.call(void 0, options)}
|
|
66
66
|
`,
|
|
67
67
|
config
|
|
68
68
|
);
|
|
@@ -75,18 +75,18 @@ ${_chunkAGR3NCGAjs.formatLogMessage.call(void 0, options)}
|
|
|
75
75
|
),
|
|
76
76
|
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
77
77
|
);
|
|
78
|
-
|
|
78
|
+
_chunk5QE6QZLLjs.writeTrace.call(void 0,
|
|
79
79
|
`Executor schema tokenized options \u2699\uFE0F
|
|
80
|
-
${
|
|
80
|
+
${_chunk5QE6QZLLjs.formatLogMessage.call(void 0, tokenized)}
|
|
81
81
|
`,
|
|
82
82
|
config
|
|
83
83
|
);
|
|
84
84
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
85
|
-
|
|
85
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
86
86
|
await Promise.resolve(
|
|
87
87
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
88
88
|
);
|
|
89
|
-
|
|
89
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
90
90
|
}
|
|
91
91
|
const ret = executorFn(tokenized, context, config);
|
|
92
92
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -101,7 +101,7 @@ ${_chunkAGR3NCGAjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
101
101
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
102
102
|
throw new Error(
|
|
103
103
|
`Failure determined while running the ${name} executor
|
|
104
|
-
${
|
|
104
|
+
${_chunk5QE6QZLLjs.formatLogMessage.call(void 0,
|
|
105
105
|
result
|
|
106
106
|
)}`,
|
|
107
107
|
{
|
|
@@ -110,21 +110,21 @@ ${_chunkAGR3NCGAjs.formatLogMessage.call(void 0,
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
113
|
-
|
|
113
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
114
114
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
115
|
-
|
|
115
|
+
_chunk5QE6QZLLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
_chunk5QE6QZLLjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
118
118
|
`, config);
|
|
119
119
|
return {
|
|
120
120
|
success: true
|
|
121
121
|
};
|
|
122
122
|
} catch (error) {
|
|
123
|
-
|
|
123
|
+
_chunk5QE6QZLLjs.writeFatal.call(void 0,
|
|
124
124
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
125
125
|
config
|
|
126
126
|
);
|
|
127
|
-
|
|
127
|
+
_chunk5QE6QZLLjs.writeError.call(void 0,
|
|
128
128
|
`An exception was thrown in the executor's process
|
|
129
129
|
- Details: ${error.message}
|
|
130
130
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GOCSQYEA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HU3JD26C.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
11
11
|
writeTrace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TEYNJ3L6.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
15
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -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 _chunkJ2TZAZ76js = require('./chunk-J2TZAZ76.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 = _chunkJ2TZAZ76js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-GKLFEOKK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
withRunExecutor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3ZYXVFDI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
writeDebug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TEYNJ3L6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
correctPaths,
|
|
12
12
|
isAbsolute,
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -12,7 +12,7 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
12
12
|
var _defu = require('defu');
|
|
13
13
|
var _jiti = require('jiti');
|
|
14
14
|
async function unbuildExecutorFn(options, context, config) {
|
|
15
|
-
|
|
15
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
16
16
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
17
17
|
throw new Error(
|
|
18
18
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
@@ -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 = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJ2TZAZ76js = require('./chunk-J2TZAZ76.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkJ2TZAZ76js.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -344,22 +344,31 @@ var getStopwatch = (name) => {
|
|
|
344
344
|
);
|
|
345
345
|
};
|
|
346
346
|
};
|
|
347
|
-
var MAX_DEPTH =
|
|
347
|
+
var MAX_DEPTH = 10;
|
|
348
348
|
var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
349
349
|
if (depth > MAX_DEPTH) {
|
|
350
350
|
return "<max depth>";
|
|
351
351
|
}
|
|
352
|
-
const prefix = options.prefix ?? "
|
|
352
|
+
const prefix = options.prefix ?? "";
|
|
353
353
|
const skip = options.skip ?? [];
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
${
|
|
357
|
-
(
|
|
354
|
+
const sort = options.sort ?? true;
|
|
355
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
+
${message.map(
|
|
357
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
358
|
+
item,
|
|
359
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
360
|
+
depth + 1
|
|
361
|
+
)}`
|
|
362
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
363
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
|
|
364
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
365
|
+
(key2) => !skip.includes(key2)
|
|
366
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
358
367
|
message[key],
|
|
359
|
-
{ prefix: `${prefix}
|
|
368
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
360
369
|
depth + 1
|
|
361
370
|
) : message[key]}`
|
|
362
|
-
).join("\n")}` : message;
|
|
371
|
+
).join("\n")}` : String(message);
|
|
363
372
|
};
|
|
364
373
|
var _isFunction = (value) => {
|
|
365
374
|
try {
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HLULZNA6.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3ZYXVFDI.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HU3JD26C.mjs";
|
|
15
15
|
import {
|
|
16
16
|
brandIcon,
|
|
17
17
|
getStopwatch,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
writeInfo,
|
|
21
21
|
writeSuccess,
|
|
22
22
|
writeWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TEYNJ3L6.mjs";
|
|
24
24
|
import {
|
|
25
25
|
findWorkspaceRoot
|
|
26
26
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkIDQYPP4Ejs = require('./chunk-IDQYPP4E.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -35,7 +35,7 @@ async function getNpmRegistry() {
|
|
|
35
35
|
if (process.env.STORM_REGISTRY_NPM) {
|
|
36
36
|
return process.env.STORM_REGISTRY_NPM;
|
|
37
37
|
}
|
|
38
|
-
const workspaceConfig = await
|
|
38
|
+
const workspaceConfig = await _chunkCHHDG2MXjs.getConfig.call(void 0, );
|
|
39
39
|
if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
|
|
40
40
|
return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
|
|
41
41
|
}
|
|
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
315
315
|
return { success: true };
|
|
316
316
|
}
|
|
317
317
|
await replaceDepsAliases(packageRoot, context.root);
|
|
318
|
-
await
|
|
318
|
+
await _chunkIDQYPP4Ejs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
319
319
|
const npmPublishCommandSegments = [`npm publish --json`];
|
|
320
320
|
const npmViewCommandSegments = [
|
|
321
321
|
`npm view ${packageName} versions dist-tags --json`
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
var _devkit = require('@nx/devkit');
|
|
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
17
17
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
21
21
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
22
22
|
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
23
23
|
_nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
|
|
24
24
|
"src"
|
|
25
25
|
)))
|
|
26
26
|
}).then((result) => {
|
|
27
|
-
|
|
27
|
+
_chunk5QE6QZLLjs.writeInfo.call(void 0,
|
|
28
28
|
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
29
29
|
config
|
|
30
30
|
);
|
|
@@ -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 = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKSL6QUB7js = require('./chunk-KSL6QUB7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5QE6QZLLjs = require('./chunk-5QE6QZLL.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
|
+
_chunk5QE6QZLLjs.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
|
+
_chunk5QE6QZLLjs.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 = _chunkKSL6QUB7js.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -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 _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.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 _chunkCHHDG2MXjs.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-3ZYXVFDI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TEYNJ3L6.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
package/dist/executors.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-P6HSE7LH.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWNPTYHA4js = require('./chunk-WNPTYHA4.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5M7Q5AGZjs = require('./chunk-5M7Q5AGZ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkX777ZFHUjs = require('./chunk-X777ZFHU.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkQ5FLBXGLjs = require('./chunk-Q5FLBXGL.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
16
|
+
var _chunk35KAXAXFjs = require('./chunk-35KAXAXF.js');
|
|
17
|
+
require('./chunk-K2QPHBGO.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkKMBE3TLKjs = require('./chunk-KMBE3TLK.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkUIRPA76Vjs = require('./chunk-UIRPA76V.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk7Y4HTTCHjs = require('./chunk-7Y4HTTCH.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk24WGOY7Mjs = require('./chunk-24WGOY7M.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkQKLKDDTUjs = require('./chunk-QKLKDDTU.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkFSSGFERSjs = require('./chunk-FSSGFERS.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkFAMMSDNCjs = require('./chunk-FAMMSDNC.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkHXRTQR3Ujs = require('./chunk-HXRTQR3U.js');
|
|
42
42
|
require('./chunk-32KQVUCF.js');
|
|
43
|
-
require('./chunk-
|
|
44
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-IDQYPP4E.js');
|
|
44
|
+
require('./chunk-BE6YVKCO.js');
|
|
45
45
|
require('./chunk-TAP26ZJQ.js');
|
|
46
|
-
require('./chunk-
|
|
46
|
+
require('./chunk-KSL6QUB7.js');
|
|
47
47
|
require('./chunk-HXQRGLII.js');
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
48
|
+
require('./chunk-CHHDG2MX.js');
|
|
49
|
+
require('./chunk-5QE6QZLL.js');
|
|
50
50
|
require('./chunk-LMYTVXGX.js');
|
|
51
51
|
require('./chunk-CQDBLKPF.js');
|
|
52
52
|
|
|
@@ -63,4 +63,4 @@ require('./chunk-CQDBLKPF.js');
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
exports.LARGE_BUFFER =
|
|
66
|
+
exports.LARGE_BUFFER = _chunkUIRPA76Vjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkFAMMSDNCjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkHXRTQR3Ujs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7Y4HTTCHjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk24WGOY7Mjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQKLKDDTUjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk35KAXAXFjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkFSSGFERSjs.getRegistryVersion; exports.napiExecutor = _chunkKMBE3TLKjs.napiExecutor; exports.sizeLimitExecutorFn = _chunkWNPTYHA4js.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk5M7Q5AGZjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkX777ZFHUjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkQ5FLBXGLjs.unbuildExecutorFn;
|