@storm-software/workspace-tools 1.294.21 → 1.294.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 +19 -0
- package/dist/{chunk-H7GLZOOC.mjs → chunk-22O3YASK.mjs} +4 -4
- package/dist/{chunk-4BWM53AA.js → chunk-23XGJAPA.js} +4 -2
- package/dist/{chunk-FORQKF7Q.mjs → chunk-3IRQJJRB.mjs} +16 -1
- package/dist/{chunk-TKN4IGLS.js → chunk-3LJS2LMI.js} +2 -2
- package/dist/{chunk-4GHVWMHE.js → chunk-4BOHP6RL.js} +2 -2
- package/dist/{chunk-3T64LUNP.js → chunk-4SBVKNWR.js} +2 -2
- package/dist/{chunk-AOETUPU5.mjs → chunk-57RAK4I2.mjs} +1 -1
- package/dist/{chunk-NURKEB3S.mjs → chunk-73HSPU3T.mjs} +1 -1
- package/dist/{chunk-FEYD5KMF.mjs → chunk-73QI3PXI.mjs} +1 -1
- package/dist/{chunk-AGUQYTSQ.mjs → chunk-APT7LF6M.mjs} +1 -1
- package/dist/{chunk-NT3NFCMA.mjs → chunk-B3SGESFB.mjs} +2 -2
- package/dist/{chunk-5BONSUJM.mjs → chunk-CJSQYPNR.mjs} +1 -1
- package/dist/{chunk-SJCAWCXW.mjs → chunk-COUPULJR.mjs} +1 -1
- package/dist/{chunk-6N7EMPGL.js → chunk-CSEJKDUC.js} +6 -6
- package/dist/{chunk-6MATO2MJ.mjs → chunk-DAN5WBD6.mjs} +4 -2
- package/dist/{chunk-LZC7BM3D.js → chunk-EQ46UJSL.js} +2 -2
- package/dist/{chunk-SXC4J7LO.mjs → chunk-FCZRRPO2.mjs} +2 -2
- package/dist/{chunk-IPYOIFXP.js → chunk-FR6NA4OK.js} +2 -2
- package/dist/{chunk-3WCCKGWO.mjs → chunk-GALNKFQL.mjs} +1 -1
- package/dist/{chunk-JM62BQSM.mjs → chunk-GCQEACOQ.mjs} +2 -2
- package/dist/{chunk-RXSB4AVK.js → chunk-GKE7QSIX.js} +2 -2
- package/dist/{chunk-5G4PATLH.js → chunk-GRVKZZUG.js} +12 -12
- package/dist/{chunk-AYLSCEK6.mjs → chunk-IVOA4X4G.mjs} +2 -2
- package/dist/{chunk-MPUFSH52.mjs → chunk-JDBTQA4B.mjs} +1 -1
- package/dist/{chunk-X3ZCGPHB.js → chunk-JGIPFA4G.js} +2 -2
- package/dist/{chunk-VHTTZP53.js → chunk-K2P4DOLX.js} +5 -5
- package/dist/{chunk-PHVIQYYJ.mjs → chunk-KCJ5MXVT.mjs} +2 -2
- package/dist/{chunk-6TMK5JR2.js → chunk-LBACOG75.js} +34 -34
- package/dist/{chunk-HX75TMCP.mjs → chunk-LJR4PT37.mjs} +1 -1
- package/dist/{chunk-LDAAAQLZ.mjs → chunk-LSO43V5R.mjs} +1 -1
- package/dist/{chunk-5FIKIPZW.js → chunk-MLP7PM4Z.js} +20 -20
- package/dist/{chunk-EVPYSTFN.js → chunk-N5PV2333.js} +2 -2
- package/dist/{chunk-2OYCCICJ.mjs → chunk-O42OHREU.mjs} +2 -2
- package/dist/{chunk-GXTFFUML.js → chunk-P2QXQ6MQ.js} +2 -2
- package/dist/{chunk-6UJMT3W5.js → chunk-PLVDJ2C7.js} +25 -10
- package/dist/{chunk-LB7DV74C.js → chunk-R53V3OCW.js} +2 -2
- package/dist/{chunk-QEHJJFRA.js → chunk-RCKYEN77.js} +30 -30
- package/dist/{chunk-66Q42VH2.js → chunk-RFYDR33M.js} +2 -2
- package/dist/{chunk-YK4JWL7A.js → chunk-S3BUAVBC.js} +2 -2
- package/dist/{chunk-7CMIO2NL.js → chunk-SIB3V2YY.js} +4 -4
- package/dist/{chunk-EMCTCFOX.js → chunk-TBL7CKLR.js} +5 -5
- package/dist/{chunk-VWP4LOTY.mjs → chunk-UBGVFM6R.mjs} +1 -1
- package/dist/{chunk-5O25TKHC.js → chunk-UENOVTOA.js} +11 -11
- package/dist/{chunk-SVWY4Z75.js → chunk-UHXAUED4.js} +2 -2
- package/dist/{chunk-HMRKWV4A.mjs → chunk-UMDYHJZU.mjs} +1 -1
- package/dist/{chunk-T2MIMLK4.mjs → chunk-UVCN7374.mjs} +2 -2
- package/dist/{chunk-X3HM2IHO.mjs → chunk-VMJ56GXP.mjs} +3 -3
- package/dist/{chunk-ASZOMYCS.mjs → chunk-WEEHPBGU.mjs} +1 -1
- package/dist/{chunk-IKTHRMUF.mjs → chunk-WXJYXFJV.mjs} +1 -1
- package/dist/{chunk-6PFAU5XI.mjs → chunk-Y6XAW36H.mjs} +4 -4
- package/dist/{chunk-MCVES7TN.mjs → chunk-YBQP3CHU.mjs} +1 -1
- package/dist/{chunk-KV6U4IX6.js → chunk-YSENUUBR.js} +2 -2
- package/dist/{chunk-SVIR2XZM.js → chunk-ZOPV6QA4.js} +16 -16
- package/dist/{chunk-LYXDMWXF.js → chunk-ZW252N2G.js} +4 -4
- package/dist/{executor--XDIJdLD.d.ts → executor-B0b85w0j.d.ts} +1 -1
- package/dist/{executor-n2RcT6qh.d.mts → executor-B1teF76_.d.mts} +1 -1
- package/dist/{executor-BfEqeIla.d.ts → executor-BEgTatwB.d.ts} +1 -1
- package/dist/{executor-BKbLJ--E.d.mts → executor-BfOctEDN.d.mts} +1 -1
- package/dist/{executor-B-dxC0WQ.d.mts → executor-BpoG787z.d.mts} +1 -1
- package/dist/{executor-BxXLIcSp.d.mts → executor-C8bjEDVM.d.mts} +1 -1
- package/dist/{executor-Ji6z3dQ5.d.ts → executor-CQnrL7gj.d.ts} +1 -1
- package/dist/{executor-DrmPQZn8.d.ts → executor-CeyAi6Mk.d.ts} +1 -1
- package/dist/{executor-BWgGR4di.d.ts → executor-DgwwK3wO.d.ts} +1 -1
- package/dist/{executor-BCIaWtDH.d.mts → executor-_ImEyb5Z.d.mts} +1 -1
- package/dist/{executor-xSP6q_l2.d.ts → executor-hVIiAH1B.d.ts} +1 -1
- package/dist/{executor-QrMSMiZ3.d.mts → executor-taDcsbXj.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-mgm-AEto.d.mts → generator-7TB9pmdr.d.mts} +2 -2
- package/dist/{generator-C7IQBL1_.d.ts → generator-BHlJ9J69.d.ts} +2 -2
- package/dist/{generator-BRv8CovR.d.mts → generator-B_qaxa-4.d.mts} +2 -2
- package/dist/{generator-C1LWbWaE.d.ts → generator-CAtGNKdM.d.ts} +2 -2
- package/dist/{generator-BhoO530L.d.mts → generator-CJunp7GB.d.mts} +2 -2
- package/dist/{generator-C3oor1Tq.d.ts → generator-CU7RGufI.d.ts} +2 -2
- package/dist/{generator-BmMXStvy.d.ts → generator-CrAo0KCH.d.ts} +1 -1
- package/dist/{generator-CG4Dq6d1.d.mts → generator-DLaccLmn.d.mts} +2 -2
- package/dist/{generator-CcKJAkqz.d.mts → generator-DkgZalYq.d.mts} +1 -1
- package/dist/{generator-CvEnH1My.d.ts → generator-X3nB1oRF.d.ts} +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 +10 -10
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +28 -28
- package/dist/index.mjs +29 -29
- 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-Dna6kjOz.d.ts → types-BAcl7ePf.d.ts} +1 -1
- package/dist/{types-DeaeRt7S.d.mts → types-Bl3tojmB.d.mts} +7 -1
- package/dist/{types-DeaeRt7S.d.ts → types-Bl3tojmB.d.ts} +7 -1
- package/dist/{types-BJp_GqKO.d.mts → types-Bx5yWHfS.d.mts} +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.294.21](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.21) (12/30/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `README.md` markdown files
|
|
10
|
+
([eea67b18e](https://github.com/storm-software/storm-ops/commit/eea67b18e))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **testing-tools** to **v1.119.74**
|
|
15
|
+
- Updated **config-tools** to **v1.188.75**
|
|
16
|
+
- Updated **pnpm-tools** to **v0.6.77**
|
|
17
|
+
- Updated **npm-tools** to **v0.6.32**
|
|
18
|
+
- Updated **prettier** to **v0.57.74**
|
|
19
|
+
- Updated **esbuild** to **v0.53.75**
|
|
20
|
+
- Updated **unbuild** to **v0.57.75**
|
|
21
|
+
- Updated **config** to **v1.134.75**
|
|
22
|
+
- Updated **tsdown** to **v0.45.75**
|
|
23
|
+
|
|
5
24
|
## [1.294.20](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.20) (12/23/2025)
|
|
6
25
|
|
|
7
26
|
### Updated Dependencies
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-APT7LF6M.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GCQEACOQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3IRQJJRB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
formatLogMessage,
|
|
17
17
|
getStopwatch,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
writeInfo,
|
|
22
22
|
writeSuccess,
|
|
23
23
|
writeWarning
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DAN5WBD6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
joinPaths
|
|
27
27
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
35
35
|
help: "#5C4EE5",
|
|
36
36
|
success: "#087f5b",
|
|
37
37
|
info: "#0550ae",
|
|
38
|
+
debug: "#8afafc",
|
|
38
39
|
warning: "#e3b341",
|
|
39
40
|
danger: "#D8314A",
|
|
40
41
|
fatal: "#51070f",
|
|
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
51
52
|
help: "#818cf8",
|
|
52
53
|
success: "#10b981",
|
|
53
54
|
info: "#58a6ff",
|
|
55
|
+
debug: "#8afafc",
|
|
54
56
|
warning: "#f3d371",
|
|
55
57
|
danger: "#D8314A",
|
|
56
58
|
fatal: "#a40e26",
|
|
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
231
233
|
return (message) => {
|
|
232
234
|
console.debug(
|
|
233
235
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.
|
|
236
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
237
|
`
|
|
236
238
|
);
|
|
237
239
|
};
|
|
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
240
242
|
return (message) => {
|
|
241
243
|
console.debug(
|
|
242
244
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.
|
|
245
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
244
246
|
`
|
|
245
247
|
);
|
|
246
248
|
};
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getLogLevelLabel,
|
|
6
6
|
writeTrace,
|
|
7
7
|
writeWarning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DAN5WBD6.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot
|
|
11
11
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -82,6 +82,10 @@ var infoColorSchema = z._default(colorSchema, "#38bdf8");
|
|
|
82
82
|
schemaRegistry.add(infoColorSchema, {
|
|
83
83
|
description: "The informational color of the workspace"
|
|
84
84
|
});
|
|
85
|
+
var debugColorSchema = z._default(colorSchema, "#8afafc");
|
|
86
|
+
schemaRegistry.add(debugColorSchema, {
|
|
87
|
+
description: "The debug color of the workspace"
|
|
88
|
+
});
|
|
85
89
|
var warningColorSchema = z._default(colorSchema, "#f3d371");
|
|
86
90
|
schemaRegistry.add(warningColorSchema, {
|
|
87
91
|
description: "The warning color of the workspace"
|
|
@@ -116,6 +120,7 @@ var darkColorsSchema = z.object({
|
|
|
116
120
|
help: helpColorSchema,
|
|
117
121
|
success: successColorSchema,
|
|
118
122
|
info: infoColorSchema,
|
|
123
|
+
debug: debugColorSchema,
|
|
119
124
|
warning: warningColorSchema,
|
|
120
125
|
danger: dangerColorSchema,
|
|
121
126
|
fatal: fatalColorSchema,
|
|
@@ -133,6 +138,7 @@ var lightColorsSchema = z.object({
|
|
|
133
138
|
help: helpColorSchema,
|
|
134
139
|
success: successColorSchema,
|
|
135
140
|
info: infoColorSchema,
|
|
141
|
+
debug: debugColorSchema,
|
|
136
142
|
warning: warningColorSchema,
|
|
137
143
|
danger: dangerColorSchema,
|
|
138
144
|
fatal: fatalColorSchema,
|
|
@@ -154,6 +160,7 @@ var singleColorsSchema = z.object({
|
|
|
154
160
|
help: helpColorSchema,
|
|
155
161
|
success: successColorSchema,
|
|
156
162
|
info: infoColorSchema,
|
|
163
|
+
debug: debugColorSchema,
|
|
157
164
|
warning: warningColorSchema,
|
|
158
165
|
danger: dangerColorSchema,
|
|
159
166
|
fatal: fatalColorSchema,
|
|
@@ -943,6 +950,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
943
950
|
help: process.env[`${prefix}HELP`],
|
|
944
951
|
success: process.env[`${prefix}SUCCESS`],
|
|
945
952
|
info: process.env[`${prefix}INFO`],
|
|
953
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
946
954
|
warning: process.env[`${prefix}WARNING`],
|
|
947
955
|
danger: process.env[`${prefix}DANGER`],
|
|
948
956
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -981,6 +989,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
981
989
|
help: process.env[`${prefix}HELP`],
|
|
982
990
|
success: process.env[`${prefix}SUCCESS`],
|
|
983
991
|
info: process.env[`${prefix}INFO`],
|
|
992
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
984
993
|
warning: process.env[`${prefix}WARNING`],
|
|
985
994
|
danger: process.env[`${prefix}DANGER`],
|
|
986
995
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -1282,6 +1291,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1282
1291
|
if (config.info) {
|
|
1283
1292
|
process.env[`${prefix}INFO`] = config.info;
|
|
1284
1293
|
}
|
|
1294
|
+
if (config.debug) {
|
|
1295
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1296
|
+
}
|
|
1285
1297
|
if (config.warning) {
|
|
1286
1298
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1287
1299
|
}
|
|
@@ -1337,6 +1349,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1337
1349
|
if (config.info) {
|
|
1338
1350
|
process.env[`${prefix}INFO`] = config.info;
|
|
1339
1351
|
}
|
|
1352
|
+
if (config.debug) {
|
|
1353
|
+
process.env[`${prefix}DEBUG`] = config.debug;
|
|
1354
|
+
}
|
|
1340
1355
|
if (config.warning) {
|
|
1341
1356
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
1342
1357
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMLP7PM4Zjs = require('./chunk-MLP7PM4Z.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 = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
93
93
|
"Napi - Build Bindings",
|
|
94
94
|
napiExecutor,
|
|
95
95
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZOPV6QA4js = require('./chunk-ZOPV6QA4.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 = _chunkZOPV6QA4js.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMLP7PM4Zjs = require('./chunk-MLP7PM4Z.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -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 _chunk23XGJAPAjs = require('./chunk-23XGJAPA.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
|
+
_chunk23XGJAPAjs.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
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunk23XGJAPAjs.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
|
+
_chunk23XGJAPAjs.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
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|
|
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
35
35
|
help: "#5C4EE5",
|
|
36
36
|
success: "#087f5b",
|
|
37
37
|
info: "#0550ae",
|
|
38
|
+
debug: "#8afafc",
|
|
38
39
|
warning: "#e3b341",
|
|
39
40
|
danger: "#D8314A",
|
|
40
41
|
fatal: "#51070f",
|
|
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
51
52
|
help: "#818cf8",
|
|
52
53
|
success: "#10b981",
|
|
53
54
|
info: "#58a6ff",
|
|
55
|
+
debug: "#8afafc",
|
|
54
56
|
warning: "#f3d371",
|
|
55
57
|
danger: "#D8314A",
|
|
56
58
|
fatal: "#a40e26",
|
|
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
231
233
|
return (message) => {
|
|
232
234
|
console.debug(
|
|
233
235
|
`
|
|
234
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
236
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
235
237
|
`
|
|
236
238
|
);
|
|
237
239
|
};
|
|
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
240
242
|
return (message) => {
|
|
241
243
|
console.debug(
|
|
242
244
|
`
|
|
243
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
245
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
244
246
|
`
|
|
245
247
|
);
|
|
246
248
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP2QXQ6MQjs = require('./chunk-P2QXQ6MQ.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: _chunkP2QXQ6MQjs.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
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GCQEACOQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DAN5WBD6.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -7,7 +7,7 @@ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZOPV6QA4js = require('./chunk-ZOPV6QA4.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 = _chunkZOPV6QA4js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2QMGYIOO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3IRQJJRB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DAN5WBD6.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMLP7PM4Zjs = require('./chunk-MLP7PM4Z.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkP2QXQ6MQjs = require('./chunk-P2QXQ6MQ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkPLVDJ2C7js = require('./chunk-PLVDJ2C7.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunkPLVDJ2C7js.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunkP2QXQ6MQjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunkP2QXQ6MQjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunkP2QXQ6MQjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunkP2QXQ6MQjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunkP2QXQ6MQjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkP2QXQ6MQjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunkP2QXQ6MQjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunkP2QXQ6MQjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunkP2QXQ6MQjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -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 _chunkPLVDJ2C7js = require('./chunk-PLVDJ2C7.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 _chunkPLVDJ2C7js.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -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 _chunkMLP7PM4Zjs = require('./chunk-MLP7PM4Z.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk23XGJAPAjs = require('./chunk-23XGJAPA.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
|
+
_chunk23XGJAPAjs.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
|
+
_chunk23XGJAPAjs.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 = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|