@storm-software/workspace-tools 1.295.16 → 1.295.17
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 +18 -0
- package/README.md +1 -1
- package/dist/{chunk-MYOUONF2.mjs → chunk-24EFED7H.mjs} +5 -5
- package/dist/{chunk-CN3UL6AL.mjs → chunk-27OQPRO2.mjs} +2 -2
- package/dist/{chunk-MS4BPPPO.js → chunk-2FEE7J4V.js} +17 -17
- package/dist/{chunk-4HKJAOZE.js → chunk-32U3BQQK.js} +2 -2
- package/dist/{chunk-K2HA4BJN.js → chunk-33TUEQBH.js} +2 -2
- package/dist/{chunk-V3AKBG6K.js → chunk-46V4NNLD.js} +4 -4
- package/dist/{chunk-7YK7GYPK.mjs → chunk-6OWAWZJZ.mjs} +1 -1
- package/dist/{chunk-I6M6W65L.mjs → chunk-6P5F6MCJ.mjs} +1 -1
- package/dist/{chunk-JYOKROZO.mjs → chunk-6ZNEHBDJ.mjs} +1 -1
- package/dist/{chunk-27MUZNN2.mjs → chunk-7YCS7NS3.mjs} +1 -1
- package/dist/{chunk-NDH64REY.mjs → chunk-AUWCQMJG.mjs} +1 -1
- package/dist/{chunk-E7OZO5Z4.mjs → chunk-B6T6YYFK.mjs} +1 -1
- package/dist/{chunk-6KULJXXR.mjs → chunk-BMK64B43.mjs} +2 -2
- package/dist/{chunk-37K47MPA.mjs → chunk-CNYWUCFC.mjs} +4 -4
- package/dist/{chunk-RXZNL5UA.js → chunk-D56IG7V7.js} +31 -31
- package/dist/{chunk-4U2NLOJ4.js → chunk-DG2JZFC4.js} +2 -2
- package/dist/{chunk-MZGQ4TDY.js → chunk-FH4HT6ZL.js} +11 -11
- package/dist/{chunk-IE6KPWWN.mjs → chunk-GDQHSPFI.mjs} +2 -2
- package/dist/{chunk-4KPUUE5X.mjs → chunk-GW7JW3CY.mjs} +2 -2
- package/dist/{chunk-S3RWO7R6.mjs → chunk-I2PUWYSE.mjs} +2 -2
- package/dist/{chunk-OUFCTM3O.js → chunk-I6J3U7H6.js} +2 -2
- package/dist/{chunk-EE66SW3C.js → chunk-IRW4CMPG.js} +4 -4
- package/dist/{chunk-MTLWFXXL.js → chunk-KTCIRQID.js} +2 -2
- package/dist/{chunk-M7NAHAMC.mjs → chunk-KU3DWKHT.mjs} +18 -1
- package/dist/{chunk-3ZTDN4LM.js → chunk-L7VRQV4Y.js} +2 -2
- package/dist/{chunk-HBEU4BAA.js → chunk-LL5MXO5W.js} +2 -2
- package/dist/{chunk-YG23JJML.js → chunk-LQ5EK44H.js} +2 -2
- package/dist/{chunk-5KJYQ2A4.mjs → chunk-M3YDUOTX.mjs} +1 -1
- package/dist/{chunk-LIV5KBYE.js → chunk-NYMFTMIN.js} +2 -2
- package/dist/{chunk-QEZ37HVM.js → chunk-OAD5MTR5.js} +28 -7
- package/dist/{chunk-GKKPBHC2.js → chunk-PFLKUSFO.js} +6 -6
- package/dist/{chunk-GYSWO4MZ.js → chunk-PJBQJFQI.js} +2 -2
- package/dist/{chunk-H3IKVCIQ.js → chunk-PRMTF2VE.js} +5 -5
- package/dist/{chunk-PGNIX7OK.mjs → chunk-PXEQSO2M.mjs} +3 -3
- package/dist/{chunk-S7ENFG63.mjs → chunk-Q62HNJPE.mjs} +1 -1
- package/dist/{chunk-EE24BJX6.js → chunk-QJQWQU4G.js} +34 -34
- package/dist/{chunk-RDCGNHHG.js → chunk-QTI2WSYX.js} +2 -2
- package/dist/{chunk-ISKPL45K.mjs → chunk-QTSUG4MO.mjs} +1 -1
- package/dist/{chunk-2DEV7MTD.js → chunk-RYYMR72F.js} +21 -21
- package/dist/{chunk-OPKOW7IE.mjs → chunk-SPZ6A2EH.mjs} +28 -7
- package/dist/{chunk-ZMKOMKU4.mjs → chunk-SQC4RIPM.mjs} +2 -2
- package/dist/{chunk-JTAXUWUB.mjs → chunk-SYNCWFGJ.mjs} +1 -1
- package/dist/{chunk-ULDXNDLD.mjs → chunk-TBXL5JQF.mjs} +1 -1
- package/dist/{chunk-E4M7JXF6.mjs → chunk-UMEEPN33.mjs} +1 -1
- package/dist/{chunk-6TQ2ZIQQ.js → chunk-V3IVXSDL.js} +12 -12
- package/dist/{chunk-6ZC47WFT.mjs → chunk-V5NVKBCF.mjs} +1 -1
- package/dist/{chunk-HRBUI3FP.js → chunk-VPB6ALHZ.js} +2 -2
- package/dist/{chunk-CDEOZ2LA.mjs → chunk-VRWOCYEC.mjs} +2 -2
- package/dist/{chunk-2VO5LA3U.js → chunk-XBKQFZBC.js} +27 -10
- package/dist/{chunk-4XFAGKVY.js → chunk-XIUG3QAE.js} +2 -2
- package/dist/{chunk-5IVX4ML2.mjs → chunk-XNJ3AEJS.mjs} +1 -1
- package/dist/{chunk-JWDJFIY2.js → chunk-Y2QUVZ77.js} +5 -5
- package/dist/{chunk-42TEYLHF.mjs → chunk-Y42BDOTK.mjs} +1 -1
- package/dist/{chunk-TJQO23VQ.js → chunk-YQUPDVJ5.js} +2 -2
- package/dist/{executor-DgwwK3wO.d.ts → executor-B0av8HZu.d.ts} +1 -1
- package/dist/{executor-BEgTatwB.d.ts → executor-B1xWwrK9.d.ts} +1 -1
- package/dist/{executor-B1teF76_.d.mts → executor-B3NNjEHX.d.mts} +1 -1
- package/dist/{executor-hVIiAH1B.d.ts → executor-BLdXObMY.d.ts} +1 -1
- package/dist/{executor-taDcsbXj.d.mts → executor-BUZaZf4L.d.mts} +1 -1
- package/dist/{executor-CeyAi6Mk.d.ts → executor-CDGPvh7M.d.ts} +1 -1
- package/dist/{executor-C8bjEDVM.d.mts → executor-CPixmweQ.d.mts} +1 -1
- package/dist/{executor-BfOctEDN.d.mts → executor-Cn8wHwLF.d.mts} +1 -1
- package/dist/{executor-_ImEyb5Z.d.mts → executor-DS3NuU-H.d.mts} +1 -1
- package/dist/{executor-CQnrL7gj.d.ts → executor-Da4zH7TH.d.ts} +1 -1
- package/dist/{executor-B0b85w0j.d.ts → executor-DeDNVV5p.d.ts} +1 -1
- package/dist/{executor-BpoG787z.d.mts → executor-gzorpk3w.d.mts} +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-CV6J3uFs.d.ts → generator-BAaf2S3V.d.ts} +2 -2
- package/dist/{generator-BXIjrXpb.d.ts → generator-BHQa9sdJ.d.ts} +1 -1
- package/dist/{generator-DVraEDD9.d.mts → generator-BqX2wgSA.d.mts} +2 -2
- package/dist/{generator-CEBxA3_Z.d.mts → generator-CBJOMnRt.d.mts} +2 -2
- package/dist/{generator-CVPj5oGK.d.ts → generator-CYvPtstL.d.ts} +2 -2
- package/dist/{generator-Bd1EcKM8.d.ts → generator-CZtbcY0l.d.ts} +2 -2
- package/dist/{generator-B6siUqei.d.ts → generator-CkTQIi20.d.ts} +2 -2
- package/dist/{generator-G_OUV_Gn.d.mts → generator-D1R6-G54.d.mts} +1 -1
- package/dist/{generator-D8jm5Lv9.d.mts → generator-DVWBXLIK.d.mts} +2 -2
- package/dist/{generator-q0aCZNRu.d.mts → generator-TF8IeIxY.d.mts} +2 -2
- 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/index.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- 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/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/{types-Bl3tojmB.d.ts → types-B0erLKyc.d.mts} +7 -0
- package/dist/{types-Bl3tojmB.d.mts → types-B0erLKyc.d.ts} +7 -0
- package/dist/{types-DmsK97tz.d.mts → types-D8QnATyz.d.mts} +1 -1
- package/dist/{types-DNVnj90g.d.ts → types-JAmmWnp1.d.ts} +1 -1
- package/package.json +9 -9
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M3YDUOTX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KU3DWKHT.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KU3DWKHT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
brandIcon,
|
|
10
10
|
formatLogMessage,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SPZ6A2EH.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2FEE7J4Vjs = require('./chunk-2FEE7J4V.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 = _chunk2FEE7J4Vjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -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 _chunkRYYMR72Fjs = require('./chunk-RYYMR72F.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOAD5MTR5js = require('./chunk-OAD5MTR5.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
|
+
_chunkOAD5MTR5js.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 = _chunkRYYMR72Fjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2FEE7J4Vjs = require('./chunk-2FEE7J4V.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunk2FEE7J4Vjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getLogLevelLabel,
|
|
6
6
|
writeTrace,
|
|
7
7
|
writeWarning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SPZ6A2EH.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot
|
|
11
11
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -98,6 +98,10 @@ var fatalColorSchema = z.optional(colorSchema);
|
|
|
98
98
|
schemaRegistry.add(fatalColorSchema, {
|
|
99
99
|
description: "The fatal color of the workspace"
|
|
100
100
|
});
|
|
101
|
+
var performanceColorSchema = z._default(colorSchema, "#00ff00");
|
|
102
|
+
schemaRegistry.add(performanceColorSchema, {
|
|
103
|
+
description: "The performance color of the workspace"
|
|
104
|
+
});
|
|
101
105
|
var positiveColorSchema = z._default(colorSchema, "#4ade80");
|
|
102
106
|
schemaRegistry.add(positiveColorSchema, {
|
|
103
107
|
description: "The positive number color of the workspace"
|
|
@@ -124,6 +128,7 @@ var darkColorsSchema = z.object({
|
|
|
124
128
|
warning: warningColorSchema,
|
|
125
129
|
danger: dangerColorSchema,
|
|
126
130
|
fatal: fatalColorSchema,
|
|
131
|
+
performance: performanceColorSchema,
|
|
127
132
|
positive: positiveColorSchema,
|
|
128
133
|
negative: negativeColorSchema,
|
|
129
134
|
gradient: gradientStopsSchema
|
|
@@ -142,6 +147,7 @@ var lightColorsSchema = z.object({
|
|
|
142
147
|
warning: warningColorSchema,
|
|
143
148
|
danger: dangerColorSchema,
|
|
144
149
|
fatal: fatalColorSchema,
|
|
150
|
+
performance: performanceColorSchema,
|
|
145
151
|
positive: positiveColorSchema,
|
|
146
152
|
negative: negativeColorSchema,
|
|
147
153
|
gradient: gradientStopsSchema
|
|
@@ -164,6 +170,7 @@ var singleColorsSchema = z.object({
|
|
|
164
170
|
warning: warningColorSchema,
|
|
165
171
|
danger: dangerColorSchema,
|
|
166
172
|
fatal: fatalColorSchema,
|
|
173
|
+
performance: performanceColorSchema,
|
|
167
174
|
positive: positiveColorSchema,
|
|
168
175
|
negative: negativeColorSchema,
|
|
169
176
|
gradient: gradientStopsSchema
|
|
@@ -531,6 +538,7 @@ var logLevelSchema = z._default(
|
|
|
531
538
|
"warn",
|
|
532
539
|
"success",
|
|
533
540
|
"info",
|
|
541
|
+
"performance",
|
|
534
542
|
"debug",
|
|
535
543
|
"trace",
|
|
536
544
|
"all"
|
|
@@ -610,6 +618,7 @@ var COLOR_KEYS = [
|
|
|
610
618
|
"warning",
|
|
611
619
|
"danger",
|
|
612
620
|
"fatal",
|
|
621
|
+
"performance",
|
|
613
622
|
"positive",
|
|
614
623
|
"negative"
|
|
615
624
|
];
|
|
@@ -954,6 +963,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
954
963
|
warning: process.env[`${prefix}WARNING`],
|
|
955
964
|
danger: process.env[`${prefix}DANGER`],
|
|
956
965
|
fatal: process.env[`${prefix}FATAL`],
|
|
966
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
957
967
|
positive: process.env[`${prefix}POSITIVE`],
|
|
958
968
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
959
969
|
gradient
|
|
@@ -993,6 +1003,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
993
1003
|
warning: process.env[`${prefix}WARNING`],
|
|
994
1004
|
danger: process.env[`${prefix}DANGER`],
|
|
995
1005
|
fatal: process.env[`${prefix}FATAL`],
|
|
1006
|
+
performance: process.env[`${prefix}PERFORMANCE`],
|
|
996
1007
|
positive: process.env[`${prefix}POSITIVE`],
|
|
997
1008
|
negative: process.env[`${prefix}NEGATIVE`],
|
|
998
1009
|
gradient
|
|
@@ -1303,6 +1314,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1303
1314
|
if (config.fatal) {
|
|
1304
1315
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
1305
1316
|
}
|
|
1317
|
+
if (config.performance) {
|
|
1318
|
+
process.env[`${prefix}PERFORMANCE`] = config.performance;
|
|
1319
|
+
}
|
|
1306
1320
|
if (config.positive) {
|
|
1307
1321
|
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
1308
1322
|
}
|
|
@@ -1361,6 +1375,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1361
1375
|
if (config.fatal) {
|
|
1362
1376
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
1363
1377
|
}
|
|
1378
|
+
if (config.performance) {
|
|
1379
|
+
process.env[`${prefix}PERFORMANCE`] = config.performance;
|
|
1380
|
+
}
|
|
1364
1381
|
if (config.positive) {
|
|
1365
1382
|
process.env[`${prefix}POSITIVE`] = config.positive;
|
|
1366
1383
|
}
|
|
@@ -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 _chunkXBKQFZBCjs = require('./chunk-XBKQFZBC.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 _chunkXBKQFZBCjs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2FEE7J4Vjs = require('./chunk-2FEE7J4V.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 = _chunk2FEE7J4Vjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRYYMR72Fjs = require('./chunk-RYYMR72F.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkRYYMR72Fjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRYYMR72Fjs = require('./chunk-RYYMR72F.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkRYYMR72Fjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -9,6 +9,7 @@ var LogLevel = {
|
|
|
9
9
|
WARN: 30,
|
|
10
10
|
SUCCESS: 35,
|
|
11
11
|
INFO: 40,
|
|
12
|
+
PERFORMANCE: 50,
|
|
12
13
|
DEBUG: 60,
|
|
13
14
|
TRACE: 70,
|
|
14
15
|
ALL: 100
|
|
@@ -20,6 +21,7 @@ var LogLevelLabel = {
|
|
|
20
21
|
WARN: "warn",
|
|
21
22
|
SUCCESS: "success",
|
|
22
23
|
INFO: "info",
|
|
24
|
+
PERFORMANCE: "performance",
|
|
23
25
|
DEBUG: "debug",
|
|
24
26
|
TRACE: "trace",
|
|
25
27
|
ALL: "all"
|
|
@@ -39,6 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
39
41
|
warning: "#e3b341",
|
|
40
42
|
danger: "#D8314A",
|
|
41
43
|
fatal: "#51070f",
|
|
44
|
+
performance: "#83ff83",
|
|
42
45
|
link: "#3fa6ff",
|
|
43
46
|
positive: "#22c55e",
|
|
44
47
|
negative: "#dc2626",
|
|
@@ -56,6 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
56
59
|
warning: "#f3d371",
|
|
57
60
|
danger: "#D8314A",
|
|
58
61
|
fatal: "#a40e26",
|
|
62
|
+
performance: "#00ff00",
|
|
59
63
|
link: "#3fa6ff",
|
|
60
64
|
positive: "#22c55e",
|
|
61
65
|
negative: "#dc2626",
|
|
@@ -143,6 +147,7 @@ var CONSOLE_ICONS = {
|
|
|
143
147
|
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
144
148
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
145
149
|
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
150
|
+
[LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
|
|
146
151
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
147
152
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
148
153
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -163,6 +168,8 @@ var getLogLevel = (label) => {
|
|
|
163
168
|
return LogLevel.TRACE;
|
|
164
169
|
case "debug":
|
|
165
170
|
return LogLevel.DEBUG;
|
|
171
|
+
case "performance":
|
|
172
|
+
return LogLevel.PERFORMANCE;
|
|
166
173
|
case "info":
|
|
167
174
|
return LogLevel.INFO;
|
|
168
175
|
case "warn":
|
|
@@ -187,6 +194,9 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
187
194
|
if (logLevel >= LogLevel.DEBUG) {
|
|
188
195
|
return LogLevelLabel.DEBUG;
|
|
189
196
|
}
|
|
197
|
+
if (logLevel >= LogLevel.PERFORMANCE) {
|
|
198
|
+
return LogLevelLabel.PERFORMANCE;
|
|
199
|
+
}
|
|
190
200
|
if (logLevel >= LogLevel.INFO) {
|
|
191
201
|
return LogLevelLabel.INFO;
|
|
192
202
|
}
|
|
@@ -274,6 +284,19 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
274
284
|
)(
|
|
275
285
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
276
286
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
287
|
+
`
|
|
288
|
+
);
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
|
|
292
|
+
return (message) => {
|
|
293
|
+
console.debug(
|
|
294
|
+
`
|
|
295
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
296
|
+
_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
|
|
297
|
+
)(
|
|
298
|
+
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
299
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
277
300
|
`
|
|
278
301
|
);
|
|
279
302
|
};
|
|
@@ -319,18 +342,16 @@ var writeError = (message, config) => getLogFn(LogLevel.ERROR, config)(message);
|
|
|
319
342
|
var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message);
|
|
320
343
|
var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
|
|
321
344
|
var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
|
|
345
|
+
var writePerformance = (message, config) => getLogFn(LogLevel.PERFORMANCE, config)(message);
|
|
322
346
|
var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
|
|
323
347
|
var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
|
|
324
348
|
var getStopwatch = (name) => {
|
|
325
349
|
const start = /* @__PURE__ */ new Date();
|
|
326
350
|
return () => {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
includeSeconds: true
|
|
332
|
-
}
|
|
333
|
-
)} to complete`
|
|
351
|
+
writePerformance(
|
|
352
|
+
`The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
|
|
353
|
+
includeSeconds: true
|
|
354
|
+
})} to complete`
|
|
334
355
|
);
|
|
335
356
|
};
|
|
336
357
|
};
|
|
@@ -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 _chunkOAD5MTR5js = require('./chunk-OAD5MTR5.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
|
+
_chunkOAD5MTR5js.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
|
+
_chunkOAD5MTR5js.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunkOAD5MTR5js.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
|
+
_chunkOAD5MTR5js.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
|
+
_chunkOAD5MTR5js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk33TUEQBHjs = require('./chunk-33TUEQBH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
|
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
|
-
content:
|
|
34
|
+
content: _chunk33TUEQBHjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
@@ -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 _chunkRYYMR72Fjs = require('./chunk-RYYMR72F.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOAD5MTR5js = require('./chunk-OAD5MTR5.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
|
+
_chunkOAD5MTR5js.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
|
+
_chunkOAD5MTR5js.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 = _chunkRYYMR72Fjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VRWOCYEC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
schemaRegistry,
|
|
6
6
|
workspaceConfigSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KU3DWKHT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
writeInfo,
|
|
10
10
|
writeSuccess,
|
|
11
11
|
writeTrace
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SPZ6A2EH.mjs";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot
|
|
15
15
|
} from "./chunk-3J2CP54B.mjs";
|