@storm-software/workspace-tools 1.295.20 → 1.295.22
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 +40 -0
- package/README.md +1 -1
- package/dist/{chunk-IRW4CMPG.js → chunk-3VE7KAOB.js} +4 -4
- package/dist/{chunk-TDXTZLCP.mjs → chunk-3YDFOWNH.mjs} +1 -1
- package/dist/{chunk-QTI2WSYX.js → chunk-4BZUW64X.js} +2 -2
- package/dist/{chunk-SQC4RIPM.mjs → chunk-4LJ7D77P.mjs} +2 -2
- package/dist/{chunk-KU3DWKHT.mjs → chunk-4PKTZSV2.mjs} +2 -2
- package/dist/{chunk-Y42BDOTK.mjs → chunk-4QQPF76Q.mjs} +1 -1
- package/dist/{chunk-LQ5EK44H.js → chunk-5X2PH2OF.js} +2 -2
- package/dist/{chunk-6ZNEHBDJ.mjs → chunk-6IGFKTLC.mjs} +1 -1
- package/dist/{chunk-V3IVXSDL.js → chunk-6QXKMVZ5.js} +12 -12
- package/dist/{chunk-KTCIRQID.js → chunk-72WJVP2V.js} +2 -2
- package/dist/{chunk-D56IG7V7.js → chunk-7CNGFDN3.js} +30 -30
- package/dist/{chunk-2FEE7J4V.js → chunk-7OQWJH4B.js} +17 -17
- package/dist/{chunk-L7VRQV4Y.js → chunk-BNLCY2F7.js} +2 -2
- package/dist/{chunk-XBKQFZBC.js → chunk-BSW6NZVB.js} +11 -11
- package/dist/{chunk-VRWOCYEC.mjs → chunk-C76K2E2A.mjs} +2 -2
- package/dist/{chunk-I6J3U7H6.js → chunk-EWPWDNCS.js} +2 -2
- package/dist/{chunk-I2PUWYSE.mjs → chunk-EYZGKQNH.mjs} +2 -2
- package/dist/{chunk-Y2QUVZ77.js → chunk-FVYP6LDM.js} +5 -5
- package/dist/{chunk-M3YDUOTX.mjs → chunk-GEN563U4.mjs} +1 -1
- package/dist/{chunk-27OQPRO2.mjs → chunk-GMNLTR7G.mjs} +2 -2
- package/dist/{chunk-VPB6ALHZ.js → chunk-H3UVCO5H.js} +2 -2
- package/dist/{chunk-QJQWQU4G.js → chunk-HEYOED5H.js} +34 -34
- package/dist/{chunk-YQUPDVJ5.js → chunk-HLJV76Q6.js} +2 -2
- package/dist/{chunk-33TUEQBH.js → chunk-HTGUYSQT.js} +2 -2
- package/dist/{chunk-SYNCWFGJ.mjs → chunk-I4X5CIJM.mjs} +1 -1
- package/dist/{chunk-OAD5MTR5.js → chunk-IHMF6RAN.js} +2 -2
- package/dist/{chunk-TBXL5JQF.mjs → chunk-KA2XXVE2.mjs} +1 -1
- package/dist/{chunk-QTSUG4MO.mjs → chunk-KWUBBSMZ.mjs} +1 -1
- package/dist/{chunk-Q62HNJPE.mjs → chunk-LODTJTUA.mjs} +2 -2
- package/dist/{chunk-LL5MXO5W.js → chunk-LVO5FIAQ.js} +2 -2
- package/dist/{chunk-SPZ6A2EH.mjs → chunk-MMA4S6LZ.mjs} +2 -2
- package/dist/{chunk-PRMTF2VE.js → chunk-NETMT7M3.js} +5 -5
- package/dist/{chunk-PJBQJFQI.js → chunk-NFYP774D.js} +2 -2
- package/dist/{chunk-BMK64B43.mjs → chunk-NVSIB4RD.mjs} +2 -2
- package/dist/{chunk-V5NVKBCF.mjs → chunk-OVTQ7MFY.mjs} +1 -1
- package/dist/{chunk-6P5F6MCJ.mjs → chunk-PCTKPQDO.mjs} +1 -1
- package/dist/{chunk-7YCS7NS3.mjs → chunk-PD5ORQVB.mjs} +1 -1
- package/dist/{chunk-UMEEPN33.mjs → chunk-PJFBYR5E.mjs} +1 -1
- package/dist/{chunk-FH4HT6ZL.js → chunk-QFYTQVZW.js} +11 -11
- package/dist/{chunk-PFLKUSFO.js → chunk-RB72JOT5.js} +6 -6
- package/dist/{chunk-XNJ3AEJS.mjs → chunk-RIAPIVKD.mjs} +2 -2
- package/dist/{chunk-XIUG3QAE.js → chunk-S7Q645MC.js} +2 -2
- package/dist/{chunk-AUWCQMJG.mjs → chunk-TSYVLUOX.mjs} +1 -1
- package/dist/{chunk-PXEQSO2M.mjs → chunk-TYMF6PWQ.mjs} +3 -3
- package/dist/{chunk-GDQHSPFI.mjs → chunk-UU2B4W6D.mjs} +2 -2
- package/dist/{chunk-24EFED7H.mjs → chunk-VZEPUM37.mjs} +4 -4
- package/dist/{chunk-B6T6YYFK.mjs → chunk-W2JX32OR.mjs} +2 -2
- package/dist/{chunk-RYYMR72F.js → chunk-WCTC7R27.js} +21 -21
- package/dist/{chunk-GW7JW3CY.mjs → chunk-X3GOJE27.mjs} +2 -2
- package/dist/{chunk-DG2JZFC4.js → chunk-X3H2BDXF.js} +2 -2
- package/dist/{chunk-CNYWUCFC.mjs → chunk-XB2OJBXC.mjs} +4 -4
- package/dist/{chunk-32U3BQQK.js → chunk-XD7QQFE4.js} +2 -2
- package/dist/{chunk-6OWAWZJZ.mjs → chunk-Y7WHHDJ7.mjs} +2 -2
- package/dist/{chunk-NYMFTMIN.js → chunk-ZD6DM7FE.js} +2 -2
- package/dist/{chunk-46V4NNLD.js → chunk-ZFYR7Z5E.js} +4 -4
- 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 +9 -9
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -98,7 +98,7 @@ 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, "#
|
|
101
|
+
var performanceColorSchema = z._default(colorSchema, "#80fd74");
|
|
102
102
|
schemaRegistry.add(performanceColorSchema, {
|
|
103
103
|
description: "The performance color of the workspace"
|
|
104
104
|
});
|
|
@@ -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
|
+
_chunkIHMF6RANjs.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
|
+
_chunkIHMF6RANjs.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
|
+
) ? _chunkIHMF6RANjs.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
|
+
_chunkIHMF6RANjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIHMF6RANjs.LogLevel.DEBUG ? true : false
|
|
1259
1259
|
);
|
|
1260
|
-
process.env.RUST_BACKTRACE =
|
|
1260
|
+
process.env.RUST_BACKTRACE = _chunkIHMF6RANjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIHMF6RANjs.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
|
+
_chunkIHMF6RANjs.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
|
);
|
|
@@ -1432,7 +1432,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1432
1432
|
throw new Error(
|
|
1433
1433
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1434
1434
|
|
|
1435
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1435
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkIHMF6RANjs.formatLogMessage.call(void 0,
|
|
1436
1436
|
configInput
|
|
1437
1437
|
)}`,
|
|
1438
1438
|
{
|
|
@@ -1477,9 +1477,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1477
1477
|
);
|
|
1478
1478
|
setConfigEnv(config);
|
|
1479
1479
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1480
|
-
|
|
1480
|
+
_chunkIHMF6RANjs.writeTrace.call(void 0,
|
|
1481
1481
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1482
|
-
${
|
|
1482
|
+
${_chunkIHMF6RANjs.formatLogMessage.call(void 0, config)}`,
|
|
1483
1483
|
config
|
|
1484
1484
|
);
|
|
1485
1485
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PKTZSV2.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-MMA4S6LZ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7OQWJH4Bjs = require('./chunk-7OQWJH4B.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 = _chunk7OQWJH4Bjs.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PKTZSV2.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-MMA4S6LZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.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
|
+
_chunkIHMF6RANjs.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
|
+
_chunkIHMF6RANjs.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 = _chunkWCTC7R27js.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-EYZGKQNH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MMA4S6LZ.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-check/executor.ts
|
|
10
10
|
async function cargoCheckExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkRB72JOT5js = require('./chunk-RB72JOT5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkBSW6NZVBjs = require('./chunk-BSW6NZVB.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -22,7 +22,7 @@ var _chunkXBKQFZBCjs = require('./chunk-XBKQFZBC.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -30,12 +30,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
30
30
|
// ../esbuild/src/assets.ts
|
|
31
31
|
async function copyBuildAssets(context) {
|
|
32
32
|
if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
|
|
33
|
-
|
|
33
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
34
34
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
35
35
|
context.workspaceConfig
|
|
36
36
|
);
|
|
37
|
-
const stopwatch =
|
|
38
|
-
await
|
|
37
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
38
|
+
await _chunkRB72JOT5js.copyAssets.call(void 0,
|
|
39
39
|
context.workspaceConfig,
|
|
40
40
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
41
41
|
context.outputPath,
|
|
@@ -103,8 +103,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
103
103
|
".woff2": "file"
|
|
104
104
|
},
|
|
105
105
|
banner: {
|
|
106
|
-
js:
|
|
107
|
-
css:
|
|
106
|
+
js: _chunkRB72JOT5js.DEFAULT_JS_BANNER,
|
|
107
|
+
css: _chunkRB72JOT5js.DEFAULT_CSS_BANNER
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
|
|
@@ -115,11 +115,11 @@ async function resolveContext(userOptions) {
|
|
|
115
115
|
if (!workspaceRoot) {
|
|
116
116
|
throw new Error("Cannot find Nx workspace root");
|
|
117
117
|
}
|
|
118
|
-
const workspaceConfig = await
|
|
118
|
+
const workspaceConfig = await _chunkBSW6NZVBjs.getWorkspaceConfig.call(void 0, true, {
|
|
119
119
|
workspaceRoot: workspaceRoot.dir
|
|
120
120
|
});
|
|
121
|
-
|
|
122
|
-
const stopwatch =
|
|
121
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
122
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "Build options resolution");
|
|
123
123
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
124
124
|
exitOnError: true
|
|
125
125
|
});
|
|
@@ -150,7 +150,7 @@ async function resolveContext(userOptions) {
|
|
|
150
150
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
151
151
|
throw new Error("Cannot find package.json configuration");
|
|
152
152
|
}
|
|
153
|
-
const env =
|
|
153
|
+
const env = _chunkRB72JOT5js.getEnv.call(void 0, "esbuild", options);
|
|
154
154
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
155
155
|
const resolvedOptions = {
|
|
156
156
|
...options,
|
|
@@ -189,10 +189,10 @@ async function resolveContext(userOptions) {
|
|
|
189
189
|
};
|
|
190
190
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
191
191
|
if (context.options.verbose) {
|
|
192
|
-
|
|
192
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
193
193
|
` \u2699\uFE0F Build options resolved:
|
|
194
194
|
|
|
195
|
-
${
|
|
195
|
+
${_chunkIHMF6RANjs.formatLogMessage.call(void 0, context.options)}`,
|
|
196
196
|
workspaceConfig
|
|
197
197
|
);
|
|
198
198
|
}
|
|
@@ -205,8 +205,8 @@ ${_chunkOAD5MTR5js.formatLogMessage.call(void 0, context.options)}`,
|
|
|
205
205
|
|
|
206
206
|
async function generatePackageJson(context) {
|
|
207
207
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
208
|
-
|
|
209
|
-
const stopwatch =
|
|
208
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
209
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "Write package.json file");
|
|
210
210
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
211
211
|
context.options.projectRoot,
|
|
212
212
|
"project.json"
|
|
@@ -226,13 +226,13 @@ async function generatePackageJson(context) {
|
|
|
226
226
|
if (!packageJson) {
|
|
227
227
|
throw new Error("Cannot find package.json configuration file");
|
|
228
228
|
}
|
|
229
|
-
packageJson = await
|
|
229
|
+
packageJson = await _chunkRB72JOT5js.addPackageDependencies.call(void 0,
|
|
230
230
|
context.workspaceConfig.workspaceRoot,
|
|
231
231
|
context.options.projectRoot,
|
|
232
232
|
context.projectName,
|
|
233
233
|
packageJson
|
|
234
234
|
);
|
|
235
|
-
packageJson = await
|
|
235
|
+
packageJson = await _chunkRB72JOT5js.addWorkspacePackageJsonFields.call(void 0,
|
|
236
236
|
context.workspaceConfig,
|
|
237
237
|
context.options.projectRoot,
|
|
238
238
|
context.sourceRoot,
|
|
@@ -333,12 +333,12 @@ async function generatePackageJson(context) {
|
|
|
333
333
|
var _tsup = require('tsup');
|
|
334
334
|
async function build(options) {
|
|
335
335
|
if (!options.silent) {
|
|
336
|
-
|
|
336
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
337
337
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
338
338
|
options.workspaceConfig
|
|
339
339
|
);
|
|
340
340
|
}
|
|
341
|
-
const stopwatch =
|
|
341
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
342
342
|
await _tsup.build.call(void 0, options);
|
|
343
343
|
if (!options.silent) {
|
|
344
344
|
stopwatch();
|
|
@@ -347,11 +347,11 @@ async function build(options) {
|
|
|
347
347
|
|
|
348
348
|
// ../esbuild/src/tsup.ts
|
|
349
349
|
async function executeTsup(context) {
|
|
350
|
-
|
|
350
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
351
351
|
` \u{1F680} Running ${context.options.name} build`,
|
|
352
352
|
context.workspaceConfig
|
|
353
353
|
);
|
|
354
|
-
const stopwatch =
|
|
354
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
355
355
|
await build({
|
|
356
356
|
...context.options,
|
|
357
357
|
outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -365,17 +365,17 @@ async function executeTsup(context) {
|
|
|
365
365
|
async function reportResults(context) {
|
|
366
366
|
if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
|
|
367
367
|
if (context.result.warnings.length > 0) {
|
|
368
|
-
|
|
368
|
+
_chunkIHMF6RANjs.writeWarning.call(void 0,
|
|
369
369
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
370
370
|
context.workspaceConfig
|
|
371
371
|
);
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
_chunkIHMF6RANjs.writeSuccess.call(void 0,
|
|
374
374
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
375
375
|
context.workspaceConfig
|
|
376
376
|
);
|
|
377
377
|
} else if (_optionalChain([context, 'access', _12 => _12.result, 'optionalAccess', _13 => _13.errors]) && _optionalChain([context, 'access', _14 => _14.result, 'optionalAccess', _15 => _15.errors, 'access', _16 => _16.length]) > 0) {
|
|
378
|
-
|
|
378
|
+
_chunkIHMF6RANjs.writeError.call(void 0,
|
|
379
379
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
380
380
|
context.workspaceConfig
|
|
381
381
|
);
|
|
@@ -386,19 +386,19 @@ async function reportResults(context) {
|
|
|
386
386
|
}
|
|
387
387
|
async function cleanOutputPath(context) {
|
|
388
388
|
if (context.clean !== false && context.outputPath) {
|
|
389
|
-
|
|
389
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
390
390
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
391
391
|
context.workspaceConfig
|
|
392
392
|
);
|
|
393
|
-
const stopwatch =
|
|
393
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
394
394
|
await cleanDirectories(context.outputPath);
|
|
395
395
|
stopwatch();
|
|
396
396
|
}
|
|
397
397
|
return context;
|
|
398
398
|
}
|
|
399
399
|
async function build2(options) {
|
|
400
|
-
|
|
401
|
-
const stopwatch =
|
|
400
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, ` ${_chunkIHMF6RANjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
|
|
401
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
402
402
|
try {
|
|
403
403
|
const opts = Array.isArray(options) ? options : [options];
|
|
404
404
|
if (opts.length === 0) {
|
|
@@ -413,9 +413,9 @@ async function build2(options) {
|
|
|
413
413
|
executeTsup(context)
|
|
414
414
|
]);
|
|
415
415
|
await reportResults(context);
|
|
416
|
-
|
|
416
|
+
_chunkIHMF6RANjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
417
417
|
} catch (error) {
|
|
418
|
-
|
|
418
|
+
_chunkIHMF6RANjs.writeFatal.call(void 0,
|
|
419
419
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
420
420
|
);
|
|
421
421
|
throw error;
|
|
@@ -426,7 +426,7 @@ async function build2(options) {
|
|
|
426
426
|
|
|
427
427
|
// src/executors/esbuild/executor.ts
|
|
428
428
|
async function esbuildExecutorFn(options, context, config) {
|
|
429
|
-
|
|
429
|
+
_chunkIHMF6RANjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
430
430
|
if (!_optionalChain([context, 'access', _17 => _17.projectsConfigurations, 'optionalAccess', _18 => _18.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _19 => _19.projectsConfigurations, 'access', _20 => _20.projects, 'access', _21 => _21[context.projectName], 'optionalAccess', _22 => _22.root])) {
|
|
431
431
|
throw new Error(
|
|
432
432
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -447,7 +447,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
447
447
|
success: true
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
|
-
var executor_default =
|
|
450
|
+
var executor_default = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
451
451
|
"Storm ESBuild build",
|
|
452
452
|
esbuildExecutorFn,
|
|
453
453
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -89,7 +89,7 @@ async function napiExecutor(options, context, config) {
|
|
|
89
89
|
const { task } = await napi.build(normalizedOptions);
|
|
90
90
|
return { success: true, terminalOutput: await task };
|
|
91
91
|
}
|
|
92
|
-
var executor_default =
|
|
92
|
+
var executor_default = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
93
93
|
"Napi - Build Bindings",
|
|
94
94
|
napiExecutor,
|
|
95
95
|
{
|
|
@@ -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 _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.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
|
+
_chunkIHMF6RANjs.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);
|
|
@@ -41,7 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
41
41
|
warning: "#e3b341",
|
|
42
42
|
danger: "#D8314A",
|
|
43
43
|
fatal: "#51070f",
|
|
44
|
-
performance: "#
|
|
44
|
+
performance: "#13c302",
|
|
45
45
|
link: "#3fa6ff",
|
|
46
46
|
positive: "#22c55e",
|
|
47
47
|
negative: "#dc2626",
|
|
@@ -59,7 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
59
59
|
warning: "#f3d371",
|
|
60
60
|
danger: "#D8314A",
|
|
61
61
|
fatal: "#a40e26",
|
|
62
|
-
performance: "#
|
|
62
|
+
performance: "#80fd74",
|
|
63
63
|
link: "#3fa6ff",
|
|
64
64
|
positive: "#22c55e",
|
|
65
65
|
negative: "#dc2626",
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-QC5ON3X4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunGenerator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C76K2E2A.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-3YDFOWNH.mjs";
|
|
17
17
|
|
|
18
18
|
// src/generators/node-library/generator.ts
|
|
19
19
|
import {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7OQWJH4Bjs = require('./chunk-7OQWJH4B.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 = _chunk7OQWJH4Bjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -41,7 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
41
41
|
warning: "#e3b341",
|
|
42
42
|
danger: "#D8314A",
|
|
43
43
|
fatal: "#51070f",
|
|
44
|
-
performance: "#
|
|
44
|
+
performance: "#13c302",
|
|
45
45
|
link: "#3fa6ff",
|
|
46
46
|
positive: "#22c55e",
|
|
47
47
|
negative: "#dc2626",
|
|
@@ -59,7 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
59
59
|
warning: "#f3d371",
|
|
60
60
|
danger: "#D8314A",
|
|
61
61
|
fatal: "#a40e26",
|
|
62
|
-
performance: "#
|
|
62
|
+
performance: "#80fd74",
|
|
63
63
|
link: "#3fa6ff",
|
|
64
64
|
positive: "#22c55e",
|
|
65
65
|
negative: "#dc2626",
|
|
@@ -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 _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.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
|
+
_chunkIHMF6RANjs.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
|
+
_chunkIHMF6RANjs.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 = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHTGUYSQTjs = require('./chunk-HTGUYSQT.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: _chunkHTGUYSQTjs.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,
|