@storm-software/workspace-tools 1.295.79 → 1.295.81
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 +35 -0
- package/config/base.json +20 -1
- package/config/recommended.json +20 -1
- package/dist/{chunk-2FQIDYBN.js → chunk-2CXXVFU4.js} +12 -12
- package/dist/{chunk-5M7Q5AGZ.js → chunk-2L7ICILU.js} +30 -30
- package/dist/{chunk-3ZYXVFDI.mjs → chunk-35ERFW7I.mjs} +2 -2
- package/dist/{chunk-HU3JD26C.mjs → chunk-35G4LHK2.mjs} +1 -1
- package/dist/{chunk-TEYNJ3L6.mjs → chunk-4AR5RJMF.mjs} +9 -3
- package/dist/{chunk-JINU7C4X.js → chunk-6HJ4EEBB.js} +2 -2
- package/dist/{chunk-IDQYPP4E.js → chunk-6IXJEWJR.js} +2 -2
- package/dist/{chunk-CSZ34LXS.mjs → chunk-7MM5MBEP.mjs} +1 -1
- package/dist/{chunk-GOCSQYEA.mjs → chunk-ALL63TSY.mjs} +2 -2
- package/dist/{chunk-24WGOY7M.js → chunk-AY3HOPOX.js} +2 -2
- package/dist/{chunk-HLULZNA6.mjs → chunk-BAYA5SVP.mjs} +1 -1
- package/dist/{chunk-KW6T252F.mjs → chunk-BT7OBRJT.mjs} +3 -3
- package/dist/{chunk-KSL6QUB7.js → chunk-CBVZ57E6.js} +21 -21
- package/dist/{chunk-CHHDG2MX.js → chunk-CQIILJEF.js} +10 -10
- package/dist/{chunk-X777ZFHU.js → chunk-DEP6TIXL.js} +5 -5
- package/dist/{chunk-KM43UGU6.mjs → chunk-DJZX3XBE.mjs} +2 -2
- package/dist/{chunk-75H7T5KM.mjs → chunk-EMX7LTEI.mjs} +2 -2
- package/dist/{chunk-CW4MH5E2.mjs → chunk-EQMVQ3I7.mjs} +2 -2
- package/dist/{chunk-L4SZWD3D.js → chunk-ETSIRKO5.js} +2 -2
- package/dist/{chunk-AJSJ2JR6.mjs → chunk-EYO6EPEG.mjs} +1 -1
- package/dist/{chunk-IPVDQCJ4.js → chunk-FFEJNAFP.js} +2 -2
- package/dist/{chunk-6ECSUXBH.mjs → chunk-FPNWNZUL.mjs} +2 -2
- package/dist/{chunk-42LESXB3.mjs → chunk-FQX7ZBQS.mjs} +1 -1
- package/dist/{chunk-AFZKYL2P.mjs → chunk-GCDDSEDG.mjs} +13 -21
- package/dist/{chunk-VSWADZIP.mjs → chunk-GED6QYLK.mjs} +1 -1
- package/dist/{chunk-F5HQPVFD.mjs → chunk-GTBTSMUH.mjs} +1 -1
- package/dist/{chunk-5QE6QZLL.js → chunk-GZA2CV3C.js} +9 -3
- package/dist/{chunk-5WFZQ5JS.mjs → chunk-HECOVC7R.mjs} +2 -2
- package/dist/{chunk-YZVCSH3T.mjs → chunk-IETUQQJT.mjs} +2 -2
- package/dist/{chunk-K2QPHBGO.js → chunk-IIFXLZEH.js} +6 -6
- package/dist/{chunk-35KAXAXF.js → chunk-JDDKEYTF.js} +34 -34
- package/dist/{chunk-OPW7VZL2.mjs → chunk-JPOHRWVM.mjs} +1 -1
- package/dist/{chunk-J2TZAZ76.js → chunk-LULOWPU2.js} +17 -17
- package/dist/{chunk-VGLDTD5U.mjs → chunk-MNA3AU4B.mjs} +1 -1
- package/dist/{chunk-Q5FLBXGL.js → chunk-NUGNYGBF.js} +4 -4
- package/dist/{chunk-WNPTYHA4.js → chunk-O7Z2YGFU.js} +5 -5
- package/dist/{chunk-BEZE4GFI.mjs → chunk-OBATTMGC.mjs} +2 -2
- package/dist/{chunk-RK2R4IGP.js → chunk-P56QF3XG.js} +2 -2
- package/dist/{chunk-BE6YVKCO.js → chunk-PB5565L7.js} +2 -2
- package/dist/{chunk-TFTJEDAM.mjs → chunk-PICVMVJQ.mjs} +4 -4
- package/dist/{chunk-HXRTQR3U.js → chunk-PRW5IUAC.js} +2 -2
- package/dist/{chunk-HE55HJHZ.mjs → chunk-QSNWB7A5.mjs} +1 -1
- package/dist/{chunk-TLWPXL7M.mjs → chunk-RCSUK5YZ.mjs} +2 -2
- package/dist/{chunk-MNFKXDV6.mjs → chunk-S2KOD2HL.mjs} +2 -2
- package/dist/{chunk-UIRPA76V.js → chunk-SGI4JCLV.js} +15 -23
- package/dist/{chunk-QKLKDDTU.js → chunk-THA4SGMV.js} +2 -2
- package/dist/{chunk-FSSGFERS.js → chunk-U5JPGO47.js} +2 -2
- package/dist/{chunk-XT7T25QQ.js → chunk-VC4FGY7P.js} +2 -2
- package/dist/{chunk-CHUFDTF4.js → chunk-WJ5AG2IU.js} +11 -11
- package/dist/{chunk-42RN7JZQ.mjs → chunk-WQUWUZZ4.mjs} +1 -1
- package/dist/{chunk-KMBE3TLK.js → chunk-WTWQAZUM.js} +4 -4
- package/dist/{chunk-OAST6ITX.mjs → chunk-X2UWPTFU.mjs} +1 -1
- package/dist/{chunk-FAMMSDNC.js → chunk-XNHWWPSK.js} +2 -2
- package/dist/{chunk-H75JKG5Z.mjs → chunk-YRGMZRC3.mjs} +4 -4
- package/dist/{chunk-7Y4HTTCH.js → chunk-ZYI527ZS.js} +2 -2
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +20 -20
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +9 -9
- package/dist/index.js +28 -28
- package/dist/index.mjs +28 -28
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +4 -4
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +4 -4
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +5 -5
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +4 -4
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +6 -6
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +5 -5
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +6 -6
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +5 -5
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +6 -6
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +5 -5
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +5 -5
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +5 -5
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +5 -5
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +5 -5
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +6 -6
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +5 -5
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +11 -11
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -15,7 +15,7 @@ var _chunkCHHDG2MXjs = require('./chunk-CHHDG2MX.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.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 = _chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.writeInfo.call(void 0,
|
|
41
|
+
`${_chunkGZA2CV3Cjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
|
|
42
42
|
config
|
|
43
43
|
);
|
|
44
44
|
if (!executorOptions.skipReadingConfig) {
|
|
45
|
-
|
|
45
|
+
_chunkGZA2CV3Cjs.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 _chunkCQIILJEFjs.getConfig.call(void 0, workspaceRoot);
|
|
55
55
|
}
|
|
56
56
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
57
|
-
|
|
57
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
64
64
|
`Executor schema options \u2699\uFE0F
|
|
65
|
-
${
|
|
65
|
+
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0, options)}
|
|
66
66
|
`,
|
|
67
67
|
config
|
|
68
68
|
);
|
|
@@ -75,18 +75,18 @@ ${_chunk5QE6QZLLjs.formatLogMessage.call(void 0, options)}
|
|
|
75
75
|
),
|
|
76
76
|
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
77
77
|
);
|
|
78
|
-
|
|
78
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
79
79
|
`Executor schema tokenized options \u2699\uFE0F
|
|
80
|
-
${
|
|
80
|
+
${_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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 @@ ${_chunk5QE6QZLLjs.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
|
+
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0,
|
|
105
105
|
result
|
|
106
106
|
)}`,
|
|
107
107
|
{
|
|
@@ -110,21 +110,21 @@ ${_chunk5QE6QZLLjs.formatLogMessage.call(void 0,
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
113
|
-
|
|
113
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
114
114
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
115
|
-
|
|
115
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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}`,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -760,7 +760,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
760
|
let config = result.config;
|
|
761
761
|
const configFile = result.configFile;
|
|
762
762
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
763
|
-
|
|
763
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
764
764
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
765
765
|
{
|
|
766
766
|
logLevel: "all"
|
|
@@ -776,7 +776,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
776
776
|
for (const result2 of results) {
|
|
777
777
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
778
778
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
779
|
-
|
|
779
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
780
780
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
781
781
|
{
|
|
782
782
|
logLevel: "all"
|
|
@@ -888,7 +888,7 @@ var getConfigEnv = () => {
|
|
|
888
888
|
},
|
|
889
889
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
890
890
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
891
|
-
) ?
|
|
891
|
+
) ? _chunkGZA2CV3Cjs.getLogLevelLabel.call(void 0,
|
|
892
892
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
893
893
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
894
894
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1255,9 +1255,9 @@ var setConfigEnv = (config) => {
|
|
|
1255
1255
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1256
1256
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1257
1257
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1258
|
-
|
|
1258
|
+
_chunkGZA2CV3Cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkGZA2CV3Cjs.LogLevel.DEBUG ? true : false
|
|
1259
1259
|
);
|
|
1260
|
-
process.env.RUST_BACKTRACE =
|
|
1260
|
+
process.env.RUST_BACKTRACE = _chunkGZA2CV3Cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkGZA2CV3Cjs.LogLevel.DEBUG ? "full" : "none";
|
|
1261
1261
|
}
|
|
1262
1262
|
if (config.skipConfigLogging !== void 0) {
|
|
1263
1263
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1405,7 +1405,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1405
1405
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1406
1406
|
if (!configFile) {
|
|
1407
1407
|
if (!skipLogs) {
|
|
1408
|
-
|
|
1408
|
+
_chunkGZA2CV3Cjs.writeWarning.call(void 0,
|
|
1409
1409
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1410
1410
|
{ logLevel: "all" }
|
|
1411
1411
|
);
|
|
@@ -1436,7 +1436,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1436
1436
|
throw new Error(
|
|
1437
1437
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1438
1438
|
|
|
1439
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1439
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0,
|
|
1440
1440
|
configInput
|
|
1441
1441
|
)}`,
|
|
1442
1442
|
{
|
|
@@ -1481,9 +1481,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1481
1481
|
);
|
|
1482
1482
|
setConfigEnv(config);
|
|
1483
1483
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1484
|
-
|
|
1484
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
1485
1485
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1486
|
-
${
|
|
1486
|
+
${_chunkGZA2CV3Cjs.formatLogMessage.call(void 0, config)}`,
|
|
1487
1487
|
config
|
|
1488
1488
|
);
|
|
1489
1489
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCBVZ57E6js = require('./chunk-CBVZ57E6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.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
|
+
_chunkGZA2CV3Cjs.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
|
+
_chunkGZA2CV3Cjs.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 = _chunkCBVZ57E6js.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-35ERFW7I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4AR5RJMF.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-X2UWPTFU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-35G4LHK2.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -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 _chunkLULOWPU2js = require('./chunk-LULOWPU2.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 = _chunkLULOWPU2js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLULOWPU2js = require('./chunk-LULOWPU2.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 = _chunkLULOWPU2js.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-QC5ON3X4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ALL63TSY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__dirname
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GTBTSMUH.mjs";
|
|
11
11
|
|
|
12
12
|
// src/generators/preset/generator.ts
|
|
13
13
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageJsonGitHead
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EYO6EPEG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-35G4LHK2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot
|
|
9
9
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -371,9 +371,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
371
371
|
`An error occurred while checking for existing dist-tags
|
|
372
372
|
${JSON.stringify(err)}
|
|
373
373
|
|
|
374
|
-
Note: If this is the first time this package has been published to NPM, this can be ignored
|
|
375
|
-
|
|
376
|
-
`
|
|
374
|
+
Note: If this is the first time this package has been published to NPM, this can be ignored.`
|
|
377
375
|
);
|
|
378
376
|
console.info("");
|
|
379
377
|
}
|
|
@@ -382,8 +380,7 @@ Note: If this is the first time this package has been published to NPM, this can
|
|
|
382
380
|
const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
|
|
383
381
|
console.info(
|
|
384
382
|
`Adding the dist-tag ${tag} - preparing to run the following:
|
|
385
|
-
${command}
|
|
386
|
-
`
|
|
383
|
+
${command}`
|
|
387
384
|
);
|
|
388
385
|
const result = execSync(command, {
|
|
389
386
|
cwd: packageRoot,
|
|
@@ -397,8 +394,7 @@ ${command}
|
|
|
397
394
|
console.info(
|
|
398
395
|
`Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}"
|
|
399
396
|
|
|
400
|
-
Execution response: ${result.toString()}
|
|
401
|
-
`
|
|
397
|
+
Execution response: ${result.toString()}`
|
|
402
398
|
);
|
|
403
399
|
} else {
|
|
404
400
|
console.info(
|
|
@@ -418,9 +414,7 @@ Execution response: ${result.toString()}
|
|
|
418
414
|
`An error occurred while adding dist-tags:
|
|
419
415
|
${error}
|
|
420
416
|
|
|
421
|
-
Note: If this is the first time this package has been published to NPM, this can be ignored
|
|
422
|
-
|
|
423
|
-
`
|
|
417
|
+
Note: If this is the first time this package has been published to NPM, this can be ignored.`
|
|
424
418
|
);
|
|
425
419
|
console.info("");
|
|
426
420
|
const stdoutData = JSON.parse(err.stdout?.toString() || "{}");
|
|
@@ -466,8 +460,7 @@ ${JSON.stringify(err2)}`
|
|
|
466
460
|
console.error(
|
|
467
461
|
`Something unexpected went wrong when checking for existing dist-tags.
|
|
468
462
|
|
|
469
|
-
Error: ${JSON.stringify(err)}
|
|
470
|
-
`
|
|
463
|
+
Error: ${JSON.stringify(err, null, 2)}`
|
|
471
464
|
);
|
|
472
465
|
return { success: false };
|
|
473
466
|
}
|
|
@@ -492,14 +485,14 @@ Error: ${JSON.stringify(err)}
|
|
|
492
485
|
console.info(
|
|
493
486
|
`Would publish to ${registry} with tag "${tag}", but [dry-run] was set ${result ? `
|
|
494
487
|
|
|
495
|
-
Execution response: ${result.toString()}` : ""}
|
|
496
|
-
`
|
|
488
|
+
Execution response: ${result.toString()}` : ""}`
|
|
497
489
|
);
|
|
498
490
|
} else {
|
|
499
|
-
console.info(
|
|
491
|
+
console.info(
|
|
492
|
+
`Published to ${registry} with tag "${tag}" ${result ? `
|
|
500
493
|
|
|
501
|
-
Execution response: ${result.toString()}` : ""}
|
|
502
|
-
|
|
494
|
+
Execution response: ${result.toString()}` : ""}`
|
|
495
|
+
);
|
|
503
496
|
}
|
|
504
497
|
return { success: true };
|
|
505
498
|
} catch (err) {
|
|
@@ -533,8 +526,7 @@ ${JSON.stringify(stdoutData, null, 2)}`
|
|
|
533
526
|
console.error(
|
|
534
527
|
`Something unexpected went wrong when processing the npm publish output
|
|
535
528
|
|
|
536
|
-
Error: ${JSON.stringify(error)}
|
|
537
|
-
`
|
|
529
|
+
Error: ${JSON.stringify(error, null, 2)}`
|
|
538
530
|
);
|
|
539
531
|
console.error("\n ********************** \n");
|
|
540
532
|
return { success: false };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__c57ea7b126adfa5c204aaea33b08d818/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -353,16 +353,22 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
353
353
|
const skip = _nullishCoalesce(options.skip, () => ( []));
|
|
354
354
|
const sort = _nullishCoalesce(options.sort, () => ( true));
|
|
355
355
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
-
${message.
|
|
356
|
+
${message.sort(
|
|
357
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
358
|
+
).map(
|
|
357
359
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
358
360
|
item,
|
|
359
361
|
{ prefix: `${prefix}--`, skip, sort },
|
|
360
362
|
depth + 1
|
|
361
363
|
)}`
|
|
362
364
|
).join("\n")}` : typeof message === "object" ? `
|
|
363
|
-
${Object.keys(message).filter(
|
|
365
|
+
${Object.keys(message).filter(
|
|
366
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
367
|
+
).sort(
|
|
368
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
369
|
+
).map(
|
|
364
370
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
365
|
-
(key2) => !skip.includes(key2)
|
|
371
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
366
372
|
).length === 0 ? "{}" : formatLogMessage(
|
|
367
373
|
message[key],
|
|
368
374
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ALL63TSY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
joinPaths
|
|
13
13
|
} from "./chunk-TBW5MCN6.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__dirname
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GTBTSMUH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-35ERFW7I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4AR5RJMF.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
54
54
|
output: "src/"
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
58
58
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
59
59
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
60
|
config
|
|
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
66
66
|
assets: pendingAssets
|
|
67
67
|
});
|
|
68
68
|
await assetHandler.processAllAssetsOnce();
|
|
69
|
-
|
|
69
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunkGZA2CV3Cjs.writeDebug.call(void 0,
|
|
72
72
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
73
73
|
outputPath,
|
|
74
74
|
"src"
|
|
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
if (localPackages.length > 0) {
|
|
155
|
-
|
|
155
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0,
|
|
156
156
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
157
157
|
);
|
|
158
158
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
200
200
|
return ret;
|
|
201
201
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
202
202
|
} else {
|
|
203
|
-
|
|
203
|
+
_chunkGZA2CV3Cjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|