@storm-software/workspace-tools 1.296.41 → 1.296.43
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/README.md +1 -1
- package/dist/{chunk-AYAY4VYN.mjs → chunk-2UXPU3BM.mjs} +4 -4
- package/dist/{chunk-Z4BX7YI2.js → chunk-32U6V6W2.js} +17 -17
- package/dist/{chunk-NKYIUZLG.js → chunk-33C5YQ6J.js} +4 -4
- package/dist/{chunk-5SX7BBOU.mjs → chunk-3FKFEQBJ.mjs} +4 -4
- package/dist/{chunk-LNXSWBDU.mjs → chunk-3LFBUXYQ.mjs} +2 -2
- package/dist/{chunk-ULCE72HV.js → chunk-3QCVXOSB.js} +21 -21
- package/dist/{chunk-LOPJYZWJ.mjs → chunk-45CW7OJB.mjs} +3 -3
- package/dist/{chunk-GUO7GHMY.js → chunk-46OIJVV3.js} +2 -2
- package/dist/{chunk-6INCVYHU.js → chunk-6CVTX3ND.js} +34 -34
- package/dist/{chunk-QJ74HYMK.mjs → chunk-BVY6TUTT.mjs} +2 -2
- package/dist/{chunk-5TCWSV4V.js → chunk-BXOFZRAY.js} +5 -5
- package/dist/{chunk-EO6EDFUN.js → chunk-CLKU7UMG.js} +3 -3
- package/dist/{chunk-LTAD7HMO.mjs → chunk-DQYZOPO7.mjs} +3 -3
- package/dist/{chunk-WQAONMFG.mjs → chunk-E4H5GQS4.mjs} +1 -1
- package/dist/{chunk-ZKU5OEWU.mjs → chunk-EKIBEWQY.mjs} +1 -1
- package/dist/{chunk-JONZUK7I.js → chunk-ETZOESEM.js} +5 -5
- package/dist/{chunk-UAWZWBSE.mjs → chunk-FSP5BXTH.mjs} +2 -2
- package/dist/{chunk-KA2NWPQ7.js → chunk-GU3JSJVG.js} +5 -5
- package/dist/{chunk-XQ24LKEY.mjs → chunk-IDSDBOWW.mjs} +1 -1
- package/dist/{chunk-K4FLM47P.mjs → chunk-J54QMYZO.mjs} +2 -2
- package/dist/{chunk-CQHYGSFK.mjs → chunk-JAIQZWTK.mjs} +1 -1
- package/dist/{chunk-R5RFMU22.mjs → chunk-JGXYRLRO.mjs} +14 -14
- package/dist/{chunk-SKXLZGVZ.js → chunk-JR7RLYGK.js} +2 -2
- package/dist/{chunk-7BWTWR5O.mjs → chunk-K6UOPTIZ.mjs} +1 -1
- package/dist/{chunk-IGAKAJGD.js → chunk-KV522LHW.js} +11 -11
- package/dist/{chunk-T6WD65QQ.js → chunk-LANYX3R2.js} +2 -2
- package/dist/{chunk-HIMKY3RD.mjs → chunk-LFCD3NXG.mjs} +1 -1
- package/dist/{chunk-A5RNIDQZ.js → chunk-LQ4UTUAF.js} +23 -23
- package/dist/{chunk-VII3QX3T.js → chunk-N2365RCI.js} +2 -2
- package/dist/{chunk-ACMERBDJ.js → chunk-NB5WSHYS.js} +2 -2
- package/dist/{chunk-C46AMBI7.mjs → chunk-NHCDW7CD.mjs} +2 -2
- package/dist/{chunk-AQYOQS6Q.js → chunk-NXB4Z7NS.js} +2 -2
- package/dist/{chunk-QHL546B2.mjs → chunk-OZ5BVPYJ.mjs} +2 -2
- package/dist/{chunk-JMGLJW76.js → chunk-PVYWMIYR.js} +2 -2
- package/dist/{chunk-E6GFHHBR.js → chunk-QEP2JF6D.js} +2 -2
- package/dist/{chunk-2BXWGAZM.mjs → chunk-QG6V6H7W.mjs} +1 -1
- package/dist/{chunk-QNUC5VXK.mjs → chunk-QO3HWSLA.mjs} +1 -1
- package/dist/{chunk-MWLHM557.js → chunk-RCJKWUC3.js} +4 -4
- package/dist/{chunk-VLPX6ZMJ.mjs → chunk-RP26OORI.mjs} +1 -1
- package/dist/{chunk-6MLA6B6D.js → chunk-RU4TNHFG.js} +2 -2
- package/dist/{chunk-MN2QATZQ.mjs → chunk-SCI7KH66.mjs} +2 -2
- package/dist/{chunk-R2Y7NACD.js → chunk-TFQGKHL5.js} +2 -2
- package/dist/{chunk-Y7FSHCCX.mjs → chunk-TVR247U6.mjs} +1 -1
- package/dist/{chunk-FGYE6XUF.js → chunk-U5VDFK5U.js} +12 -12
- package/dist/{chunk-AOWBKNHM.mjs → chunk-UA33NH5O.mjs} +1 -1
- package/dist/{chunk-GKI2IWP6.mjs → chunk-UJZUGPLI.mjs} +1 -1
- package/dist/{chunk-EWAOPOGD.js → chunk-URZ6ZNPK.js} +6 -6
- package/dist/{chunk-53RLGVXM.mjs → chunk-XZE55MLM.mjs} +1 -1
- package/dist/{chunk-PEO7Z6CZ.js → chunk-Z6JQV7U5.js} +30 -30
- package/dist/{chunk-O7YTVT6O.mjs → chunk-ZEQS7E4C.mjs} +1 -1
- package/dist/{chunk-6RAUDACY.js → chunk-ZMHKOSQO.js} +2 -2
- package/dist/{chunk-4BCJEWRQ.js → chunk-ZO3L5FAU.js} +2 -2
- package/dist/{chunk-4Q7OSUXH.mjs → chunk-ZOOATPKM.mjs} +2 -2
- package/dist/{chunk-K4W6QXUX.js → chunk-ZORHWWTN.js} +2 -2
- package/dist/{executor-DA8yyqTK.d.mts → executor-BIJn8SVe.d.mts} +1 -1
- package/dist/{executor-DJOXX8-N.d.mts → executor-BvyV-AUf.d.mts} +1 -1
- package/dist/{executor-lCseKo3l.d.ts → executor-C5219i5t.d.ts} +1 -1
- package/dist/{executor-CPh7sG83.d.mts → executor-CG97uTCS.d.mts} +1 -1
- package/dist/{executor-BxzAij2P.d.ts → executor-CIWrRfZk.d.ts} +1 -1
- package/dist/{executor-BAeunL4c.d.mts → executor-CMTGEhxz.d.mts} +1 -1
- package/dist/{executor-DcKEmf82.d.ts → executor-ClfwHhlC.d.ts} +1 -1
- package/dist/{executor-C4Ddk0eB.d.mts → executor-DadFjUp3.d.mts} +1 -1
- package/dist/{executor-DvfMQSTP.d.mts → executor-DwZoSq9d.d.mts} +1 -1
- package/dist/{executor-YAjz4bej.d.ts → executor-Dy3y0dK8.d.ts} +1 -1
- package/dist/{executor-HMyCQrhV.d.ts → executor-J46dd9vs.d.ts} +1 -1
- package/dist/{executor-CPBR709C.d.ts → executor-k7EKIXAK.d.ts} +1 -1
- package/dist/executors.d.mts +7 -7
- package/dist/executors.d.ts +7 -7
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/{generator-DwHI-Bxg.d.ts → generator-B5dG5dVY.d.ts} +2 -2
- package/dist/{generator-CkT060vy.d.mts → generator-BKQGstaG.d.mts} +2 -2
- package/dist/{generator-DIEJD40Q.d.mts → generator-C3dM_v6y.d.mts} +2 -2
- package/dist/{generator-GND3rM-I.d.ts → generator-COkrr-Oe.d.ts} +2 -2
- package/dist/{generator-C9QMvagl.d.ts → generator-CXLEWJAF.d.ts} +2 -2
- package/dist/{generator-9L9b-msK.d.mts → generator-DKHHWoGN.d.mts} +1 -1
- package/dist/{generator-DdPUFIRV.d.mts → generator-Dmk05ap8.d.mts} +2 -2
- package/dist/{generator-BvhmWt7B.d.mts → generator-OpEc9gcp.d.mts} +2 -2
- package/dist/{generator-BT5Kf5x0.d.ts → generator-RLXG3OeQ.d.ts} +2 -2
- package/dist/{generator-Czm2JkrK.d.ts → generator-pH8SQ4XZ.d.ts} +1 -1
- package/dist/generators.d.mts +7 -7
- package/dist/generators.d.ts +7 -7
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +28 -28
- package/dist/index.mjs +27 -27
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.d.ts +2 -2
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.d.mts +2 -2
- package/dist/src/base/base-generator.d.ts +2 -2
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- 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.d.mts +1 -1
- package/dist/src/executors/clean-package/executor.d.ts +1 -1
- 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.d.mts +2 -2
- package/dist/src/executors/esbuild/executor.d.ts +2 -2
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/napi/executor.d.mts +2 -2
- package/dist/src/executors/napi/executor.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/executors/size-limit/executor.d.ts +2 -2
- 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.d.mts +2 -2
- package/dist/src/executors/tsdown/executor.d.ts +2 -2
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.d.mts +2 -2
- package/dist/src/executors/typia/executor.d.ts +2 -2
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.d.mts +2 -2
- package/dist/src/executors/unbuild/executor.d.ts +2 -2
- 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.d.mts +3 -3
- package/dist/src/generators/browser-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/config-schema/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/neutral-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/node-library/generator.d.ts +3 -3
- 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.d.mts +3 -3
- package/dist/src/generators/preset/generator.d.ts +3 -3
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/plugins/typescript/index.d.mts +2 -2
- package/dist/src/plugins/typescript/index.d.ts +2 -2
- package/dist/src/plugins/typescript/tsdown.d.mts +2 -2
- package/dist/src/plugins/typescript/tsdown.d.ts +2 -2
- package/dist/src/plugins/typescript/tsup.d.mts +2 -2
- package/dist/src/plugins/typescript/tsup.d.ts +2 -2
- package/dist/src/release/index.d.mts +1 -1
- package/dist/src/release/index.d.ts +1 -1
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.d.mts +1 -1
- package/dist/src/release/js-version-actions.d.ts +1 -1
- 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.d.mts +1 -1
- package/dist/src/release/rust-version-actions.d.ts +1 -1
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/utils/github.d.mts +1 -1
- package/dist/src/utils/github.d.ts +1 -1
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- 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/dist/{types-DIIZf_cX.d.ts → types-CHANfFBa.d.ts} +1 -1
- package/dist/{types-Dug-2iKz.d.ts → types-DI57BUsw.d.mts} +6 -6
- package/dist/{types-Dug-2iKz.d.mts → types-DI57BUsw.d.ts} +6 -6
- package/dist/{types-BlCH22NF.d.mts → types-E53OUdCr.d.mts} +1 -1
- package/package.json +10 -10
|
@@ -34,7 +34,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
34
34
|
foreground: "#1d1e22",
|
|
35
35
|
brand: "#1fb2a6",
|
|
36
36
|
alternate: "#db2777",
|
|
37
|
-
|
|
37
|
+
discovery: "#5C4EE5",
|
|
38
38
|
success: "#087f5b",
|
|
39
39
|
info: "#0550ae",
|
|
40
40
|
debug: "#8afafc",
|
|
@@ -48,11 +48,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
48
48
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
49
49
|
},
|
|
50
50
|
dark: {
|
|
51
|
-
background: "#
|
|
51
|
+
background: "#1e2124",
|
|
52
52
|
foreground: "#cbd5e1",
|
|
53
53
|
brand: "#2dd4bf",
|
|
54
54
|
alternate: "#db2777",
|
|
55
|
-
|
|
55
|
+
discovery: "#818cf8",
|
|
56
56
|
success: "#10b981",
|
|
57
57
|
info: "#58a6ff",
|
|
58
58
|
debug: "#8afafc",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J54QMYZO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JGXYRLRO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
11
11
|
writeTrace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-45CW7OJB.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
15
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -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 _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.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
|
+
_chunkCLKU7UMGjs.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
|
+
_chunkCLKU7UMGjs.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 = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-GKLFEOKK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
withRunExecutor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BVY6TUTT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
writeDebug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-45CW7OJB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
correctPaths,
|
|
12
12
|
isAbsolute,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.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
|
+
_chunkCLKU7UMGjs.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
|
+
_chunkCLKU7UMGjs.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 = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JGXYRLRO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-45CW7OJB.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getLogLevelLabel,
|
|
6
6
|
writeTrace,
|
|
7
7
|
writeWarning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-45CW7OJB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot
|
|
11
11
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -46,7 +46,7 @@ var colorSchema = z.string().check(
|
|
|
46
46
|
schemaRegistry.add(colorSchema, {
|
|
47
47
|
description: "A base schema for describing the format of colors"
|
|
48
48
|
});
|
|
49
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
49
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
50
50
|
schemaRegistry.add(darkColorSchema, {
|
|
51
51
|
description: "The dark background color of the workspace"
|
|
52
52
|
});
|
|
@@ -70,8 +70,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
70
70
|
schemaRegistry.add(linkColorSchema, {
|
|
71
71
|
description: "The color used to display hyperlink text"
|
|
72
72
|
});
|
|
73
|
-
var
|
|
74
|
-
schemaRegistry.add(
|
|
73
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
74
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
75
75
|
description: "The second brand specific color of the workspace"
|
|
76
76
|
});
|
|
77
77
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -121,7 +121,7 @@ var darkColorsSchema = z.object({
|
|
|
121
121
|
alternate: alternateColorSchema,
|
|
122
122
|
accent: accentColorSchema,
|
|
123
123
|
link: linkColorSchema,
|
|
124
|
-
|
|
124
|
+
discovery: discoveryColorSchema,
|
|
125
125
|
success: successColorSchema,
|
|
126
126
|
info: infoColorSchema,
|
|
127
127
|
debug: debugColorSchema,
|
|
@@ -140,7 +140,7 @@ var lightColorsSchema = z.object({
|
|
|
140
140
|
alternate: alternateColorSchema,
|
|
141
141
|
accent: accentColorSchema,
|
|
142
142
|
link: linkColorSchema,
|
|
143
|
-
|
|
143
|
+
discovery: discoveryColorSchema,
|
|
144
144
|
success: successColorSchema,
|
|
145
145
|
info: infoColorSchema,
|
|
146
146
|
debug: debugColorSchema,
|
|
@@ -163,7 +163,7 @@ var singleColorsSchema = z.object({
|
|
|
163
163
|
alternate: alternateColorSchema,
|
|
164
164
|
accent: accentColorSchema,
|
|
165
165
|
link: linkColorSchema,
|
|
166
|
-
|
|
166
|
+
discovery: discoveryColorSchema,
|
|
167
167
|
success: successColorSchema,
|
|
168
168
|
info: infoColorSchema,
|
|
169
169
|
debug: debugColorSchema,
|
|
@@ -613,7 +613,7 @@ var COLOR_KEYS = [
|
|
|
613
613
|
"accent",
|
|
614
614
|
"link",
|
|
615
615
|
"success",
|
|
616
|
-
"
|
|
616
|
+
"discovery",
|
|
617
617
|
"info",
|
|
618
618
|
"warning",
|
|
619
619
|
"danger",
|
|
@@ -956,7 +956,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
956
956
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
957
957
|
accent: process.env[`${prefix}ACCENT`],
|
|
958
958
|
link: process.env[`${prefix}LINK`],
|
|
959
|
-
|
|
959
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
960
960
|
success: process.env[`${prefix}SUCCESS`],
|
|
961
961
|
info: process.env[`${prefix}INFO`],
|
|
962
962
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -996,7 +996,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
996
996
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
997
997
|
accent: process.env[`${prefix}ACCENT`],
|
|
998
998
|
link: process.env[`${prefix}LINK`],
|
|
999
|
-
|
|
999
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1000
1000
|
success: process.env[`${prefix}SUCCESS`],
|
|
1001
1001
|
info: process.env[`${prefix}INFO`],
|
|
1002
1002
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1293,8 +1293,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1293
1293
|
if (config.link) {
|
|
1294
1294
|
process.env[`${prefix}LINK`] = config.link;
|
|
1295
1295
|
}
|
|
1296
|
-
if (config.
|
|
1297
|
-
process.env[`${prefix}
|
|
1296
|
+
if (config.discovery) {
|
|
1297
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1298
1298
|
}
|
|
1299
1299
|
if (config.success) {
|
|
1300
1300
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1354,8 +1354,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1354
1354
|
if (config.link) {
|
|
1355
1355
|
process.env[`${prefix}LINK`] = config.link;
|
|
1356
1356
|
}
|
|
1357
|
-
if (config.
|
|
1358
|
-
process.env[`${prefix}
|
|
1357
|
+
if (config.discovery) {
|
|
1358
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1359
1359
|
}
|
|
1360
1360
|
if (config.success) {
|
|
1361
1361
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -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 _chunkLQ4UTUAFjs = require('./chunk-LQ4UTUAF.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 _chunkLQ4UTUAFjs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk32U6V6W2js = require('./chunk-32U6V6W2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLQ4UTUAFjs = require('./chunk-LQ4UTUAF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -18,22 +18,22 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
20
20
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
-
|
|
21
|
+
_chunkCLKU7UMGjs.writeInfo.call(void 0,
|
|
22
22
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
23
23
|
config
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
_chunkCLKU7UMGjs.writeTrace.call(void 0,
|
|
26
26
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
27
27
|
config
|
|
28
28
|
);
|
|
29
|
-
const jsonSchema = z.toJSONSchema(
|
|
29
|
+
const jsonSchema = z.toJSONSchema(_chunkLQ4UTUAFjs.workspaceConfigSchema, {
|
|
30
30
|
target: "draft-7",
|
|
31
|
-
metadata:
|
|
31
|
+
metadata: _chunkLQ4UTUAFjs.schemaRegistry
|
|
32
32
|
});
|
|
33
33
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
34
34
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
35
35
|
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
36
|
-
|
|
36
|
+
_chunkCLKU7UMGjs.writeTrace.call(void 0, jsonSchema, config);
|
|
37
37
|
if (!options.outputFile) {
|
|
38
38
|
throw new Error(
|
|
39
39
|
"The `outputFile` option is required. Please specify the output file path."
|
|
@@ -43,13 +43,13 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
43
43
|
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, ))),
|
|
44
44
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkCLKU7UMGjs.writeTrace.call(void 0,
|
|
47
47
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
50
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
51
51
|
await _devkit.formatFiles.call(void 0, tree);
|
|
52
|
-
|
|
52
|
+
_chunkCLKU7UMGjs.writeSuccess.call(void 0,
|
|
53
53
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
54
54
|
config
|
|
55
55
|
);
|
|
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
57
57
|
success: true
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
var generator_default =
|
|
60
|
+
var generator_default = _chunk32U6V6W2js.withRunGenerator.call(void 0,
|
|
61
61
|
"Configuration Schema Creator",
|
|
62
62
|
configSchemaGeneratorFn,
|
|
63
63
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3QCVXOSBjs = require('./chunk-3QCVXOSB.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunk3QCVXOSBjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -46,7 +46,7 @@ var colorSchema = z.string().check(
|
|
|
46
46
|
schemaRegistry.add(colorSchema, {
|
|
47
47
|
description: "A base schema for describing the format of colors"
|
|
48
48
|
});
|
|
49
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
49
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
50
50
|
schemaRegistry.add(darkColorSchema, {
|
|
51
51
|
description: "The dark background color of the workspace"
|
|
52
52
|
});
|
|
@@ -70,8 +70,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
70
70
|
schemaRegistry.add(linkColorSchema, {
|
|
71
71
|
description: "The color used to display hyperlink text"
|
|
72
72
|
});
|
|
73
|
-
var
|
|
74
|
-
schemaRegistry.add(
|
|
73
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
74
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
75
75
|
description: "The second brand specific color of the workspace"
|
|
76
76
|
});
|
|
77
77
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -121,7 +121,7 @@ var darkColorsSchema = z.object({
|
|
|
121
121
|
alternate: alternateColorSchema,
|
|
122
122
|
accent: accentColorSchema,
|
|
123
123
|
link: linkColorSchema,
|
|
124
|
-
|
|
124
|
+
discovery: discoveryColorSchema,
|
|
125
125
|
success: successColorSchema,
|
|
126
126
|
info: infoColorSchema,
|
|
127
127
|
debug: debugColorSchema,
|
|
@@ -140,7 +140,7 @@ var lightColorsSchema = z.object({
|
|
|
140
140
|
alternate: alternateColorSchema,
|
|
141
141
|
accent: accentColorSchema,
|
|
142
142
|
link: linkColorSchema,
|
|
143
|
-
|
|
143
|
+
discovery: discoveryColorSchema,
|
|
144
144
|
success: successColorSchema,
|
|
145
145
|
info: infoColorSchema,
|
|
146
146
|
debug: debugColorSchema,
|
|
@@ -163,7 +163,7 @@ var singleColorsSchema = z.object({
|
|
|
163
163
|
alternate: alternateColorSchema,
|
|
164
164
|
accent: accentColorSchema,
|
|
165
165
|
link: linkColorSchema,
|
|
166
|
-
|
|
166
|
+
discovery: discoveryColorSchema,
|
|
167
167
|
success: successColorSchema,
|
|
168
168
|
info: infoColorSchema,
|
|
169
169
|
debug: debugColorSchema,
|
|
@@ -613,7 +613,7 @@ var COLOR_KEYS = [
|
|
|
613
613
|
"accent",
|
|
614
614
|
"link",
|
|
615
615
|
"success",
|
|
616
|
-
"
|
|
616
|
+
"discovery",
|
|
617
617
|
"info",
|
|
618
618
|
"warning",
|
|
619
619
|
"danger",
|
|
@@ -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
|
+
_chunkCLKU7UMGjs.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
|
+
_chunkCLKU7UMGjs.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
|
+
) ? _chunkCLKU7UMGjs.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
|
|
@@ -956,7 +956,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
956
956
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
957
957
|
accent: process.env[`${prefix}ACCENT`],
|
|
958
958
|
link: process.env[`${prefix}LINK`],
|
|
959
|
-
|
|
959
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
960
960
|
success: process.env[`${prefix}SUCCESS`],
|
|
961
961
|
info: process.env[`${prefix}INFO`],
|
|
962
962
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -996,7 +996,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
996
996
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
997
997
|
accent: process.env[`${prefix}ACCENT`],
|
|
998
998
|
link: process.env[`${prefix}LINK`],
|
|
999
|
-
|
|
999
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1000
1000
|
success: process.env[`${prefix}SUCCESS`],
|
|
1001
1001
|
info: process.env[`${prefix}INFO`],
|
|
1002
1002
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -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
|
+
_chunkCLKU7UMGjs.getLogLevel.call(void 0, config.logLevel) >= _chunkCLKU7UMGjs.LogLevel.DEBUG ? true : false
|
|
1259
1259
|
);
|
|
1260
|
-
process.env.RUST_BACKTRACE =
|
|
1260
|
+
process.env.RUST_BACKTRACE = _chunkCLKU7UMGjs.getLogLevel.call(void 0, config.logLevel) >= _chunkCLKU7UMGjs.LogLevel.DEBUG ? "full" : "none";
|
|
1261
1261
|
}
|
|
1262
1262
|
if (config.skipConfigLogging !== void 0) {
|
|
1263
1263
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1293,8 +1293,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1293
1293
|
if (config.link) {
|
|
1294
1294
|
process.env[`${prefix}LINK`] = config.link;
|
|
1295
1295
|
}
|
|
1296
|
-
if (config.
|
|
1297
|
-
process.env[`${prefix}
|
|
1296
|
+
if (config.discovery) {
|
|
1297
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1298
1298
|
}
|
|
1299
1299
|
if (config.success) {
|
|
1300
1300
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1354,8 +1354,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1354
1354
|
if (config.link) {
|
|
1355
1355
|
process.env[`${prefix}LINK`] = config.link;
|
|
1356
1356
|
}
|
|
1357
|
-
if (config.
|
|
1358
|
-
process.env[`${prefix}
|
|
1357
|
+
if (config.discovery) {
|
|
1358
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1359
1359
|
}
|
|
1360
1360
|
if (config.success) {
|
|
1361
1361
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -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
|
+
_chunkCLKU7UMGjs.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: ${_chunkCLKU7UMGjs.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
|
+
_chunkCLKU7UMGjs.writeTrace.call(void 0,
|
|
1485
1485
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1486
|
-
${
|
|
1486
|
+
${_chunkCLKU7UMGjs.formatLogMessage.call(void 0, config)}`,
|
|
1487
1487
|
config
|
|
1488
1488
|
);
|
|
1489
1489
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/toml.ts
|
|
6
6
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
7
7
|
function parseCargoTomlWithTree(tree, projectRoot, projectName) {
|
|
8
8
|
const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
|
|
9
9
|
if (!cargoTomlString) {
|
|
10
|
-
|
|
10
|
+
_chunkCLKU7UMGjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
|
|
11
11
|
throw new Error();
|
|
12
12
|
}
|
|
13
13
|
return parseCargoToml(cargoTomlString);
|
|
@@ -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 _chunk32U6V6W2js = require('./chunk-32U6V6W2.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 = _chunk32U6V6W2js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BVY6TUTT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-45CW7OJB.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|