@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
|
@@ -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
|
getStopwatch,
|
|
10
10
|
writeDebug,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DAN5WBD6.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
19
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCSEJKDUCjs = require('./chunk-CSEJKDUC.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMLP7PM4Zjs = require('./chunk-MLP7PM4Z.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkPLVDJ2C7js = require('./chunk-PLVDJ2C7.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ var _chunk6UJMT3W5js = require('./chunk-6UJMT3W5.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk23XGJAPAjs = require('./chunk-23XGJAPA.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -29,12 +29,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
29
29
|
// ../esbuild/src/assets.ts
|
|
30
30
|
async function copyBuildAssets(context) {
|
|
31
31
|
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])) {
|
|
32
|
-
|
|
32
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0,
|
|
33
33
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
34
34
|
context.workspaceConfig
|
|
35
35
|
);
|
|
36
|
-
const stopwatch =
|
|
37
|
-
await
|
|
36
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
37
|
+
await _chunkCSEJKDUCjs.copyAssets.call(void 0,
|
|
38
38
|
context.workspaceConfig,
|
|
39
39
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
40
40
|
context.outputPath,
|
|
@@ -102,8 +102,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
102
102
|
".woff2": "file"
|
|
103
103
|
},
|
|
104
104
|
banner: {
|
|
105
|
-
js:
|
|
106
|
-
css:
|
|
105
|
+
js: _chunkCSEJKDUCjs.DEFAULT_JS_BANNER,
|
|
106
|
+
css: _chunkCSEJKDUCjs.DEFAULT_CSS_BANNER
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -114,11 +114,11 @@ async function resolveContext(userOptions) {
|
|
|
114
114
|
if (!workspaceRoot) {
|
|
115
115
|
throw new Error("Cannot find Nx workspace root");
|
|
116
116
|
}
|
|
117
|
-
const workspaceConfig = await
|
|
117
|
+
const workspaceConfig = await _chunkPLVDJ2C7js.getWorkspaceConfig.call(void 0, true, {
|
|
118
118
|
workspaceRoot: workspaceRoot.dir
|
|
119
119
|
});
|
|
120
|
-
|
|
121
|
-
const stopwatch =
|
|
120
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
121
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, "Build options resolution");
|
|
122
122
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
123
123
|
exitOnError: true
|
|
124
124
|
});
|
|
@@ -149,7 +149,7 @@ async function resolveContext(userOptions) {
|
|
|
149
149
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
150
150
|
throw new Error("Cannot find package.json configuration");
|
|
151
151
|
}
|
|
152
|
-
const env =
|
|
152
|
+
const env = _chunkCSEJKDUCjs.getEnv.call(void 0, "esbuild", options);
|
|
153
153
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
154
154
|
const resolvedOptions = {
|
|
155
155
|
...options,
|
|
@@ -188,10 +188,10 @@ async function resolveContext(userOptions) {
|
|
|
188
188
|
};
|
|
189
189
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
190
190
|
if (context.options.verbose) {
|
|
191
|
-
|
|
191
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0,
|
|
192
192
|
` \u2699\uFE0F Build options resolved:
|
|
193
193
|
|
|
194
|
-
${
|
|
194
|
+
${_chunk23XGJAPAjs.formatLogMessage.call(void 0, context.options)}`,
|
|
195
195
|
workspaceConfig
|
|
196
196
|
);
|
|
197
197
|
}
|
|
@@ -204,8 +204,8 @@ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
204
204
|
|
|
205
205
|
async function generatePackageJson(context) {
|
|
206
206
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
207
|
-
|
|
208
|
-
const stopwatch =
|
|
207
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
208
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, "Write package.json file");
|
|
209
209
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
210
210
|
context.options.projectRoot,
|
|
211
211
|
"project.json"
|
|
@@ -225,13 +225,13 @@ async function generatePackageJson(context) {
|
|
|
225
225
|
if (!packageJson) {
|
|
226
226
|
throw new Error("Cannot find package.json configuration file");
|
|
227
227
|
}
|
|
228
|
-
packageJson = await
|
|
228
|
+
packageJson = await _chunkCSEJKDUCjs.addPackageDependencies.call(void 0,
|
|
229
229
|
context.workspaceConfig.workspaceRoot,
|
|
230
230
|
context.options.projectRoot,
|
|
231
231
|
context.projectName,
|
|
232
232
|
packageJson
|
|
233
233
|
);
|
|
234
|
-
packageJson = await
|
|
234
|
+
packageJson = await _chunkCSEJKDUCjs.addWorkspacePackageJsonFields.call(void 0,
|
|
235
235
|
context.workspaceConfig,
|
|
236
236
|
context.options.projectRoot,
|
|
237
237
|
context.sourceRoot,
|
|
@@ -332,12 +332,12 @@ async function generatePackageJson(context) {
|
|
|
332
332
|
var _tsup = require('tsup');
|
|
333
333
|
async function build(options) {
|
|
334
334
|
if (!options.silent) {
|
|
335
|
-
|
|
335
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0,
|
|
336
336
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
337
337
|
options.workspaceConfig
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
|
-
const stopwatch =
|
|
340
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
341
341
|
await _tsup.build.call(void 0, options);
|
|
342
342
|
if (!options.silent) {
|
|
343
343
|
stopwatch();
|
|
@@ -346,11 +346,11 @@ async function build(options) {
|
|
|
346
346
|
|
|
347
347
|
// ../esbuild/src/tsup.ts
|
|
348
348
|
async function executeTsup(context) {
|
|
349
|
-
|
|
349
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0,
|
|
350
350
|
` \u{1F680} Running ${context.options.name} build`,
|
|
351
351
|
context.workspaceConfig
|
|
352
352
|
);
|
|
353
|
-
const stopwatch =
|
|
353
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
354
354
|
await build({
|
|
355
355
|
...context.options,
|
|
356
356
|
outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -364,17 +364,17 @@ async function executeTsup(context) {
|
|
|
364
364
|
async function reportResults(context) {
|
|
365
365
|
if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
|
|
366
366
|
if (context.result.warnings.length > 0) {
|
|
367
|
-
|
|
367
|
+
_chunk23XGJAPAjs.writeWarning.call(void 0,
|
|
368
368
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
369
369
|
context.workspaceConfig
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
_chunk23XGJAPAjs.writeSuccess.call(void 0,
|
|
373
373
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
374
374
|
context.workspaceConfig
|
|
375
375
|
);
|
|
376
376
|
} 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) {
|
|
377
|
-
|
|
377
|
+
_chunk23XGJAPAjs.writeError.call(void 0,
|
|
378
378
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
379
379
|
context.workspaceConfig
|
|
380
380
|
);
|
|
@@ -385,19 +385,19 @@ async function reportResults(context) {
|
|
|
385
385
|
}
|
|
386
386
|
async function cleanOutputPath(context) {
|
|
387
387
|
if (context.clean !== false && context.outputPath) {
|
|
388
|
-
|
|
388
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0,
|
|
389
389
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
390
390
|
context.workspaceConfig
|
|
391
391
|
);
|
|
392
|
-
const stopwatch =
|
|
392
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
393
393
|
await cleanDirectories(context.outputPath);
|
|
394
394
|
stopwatch();
|
|
395
395
|
}
|
|
396
396
|
return context;
|
|
397
397
|
}
|
|
398
398
|
async function build2(options) {
|
|
399
|
-
|
|
400
|
-
const stopwatch =
|
|
399
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
400
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
401
401
|
try {
|
|
402
402
|
const opts = Array.isArray(options) ? options : [options];
|
|
403
403
|
if (opts.length === 0) {
|
|
@@ -412,9 +412,9 @@ async function build2(options) {
|
|
|
412
412
|
executeTsup(context)
|
|
413
413
|
]);
|
|
414
414
|
await reportResults(context);
|
|
415
|
-
|
|
415
|
+
_chunk23XGJAPAjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
416
416
|
} catch (error) {
|
|
417
|
-
|
|
417
|
+
_chunk23XGJAPAjs.writeFatal.call(void 0,
|
|
418
418
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
419
419
|
);
|
|
420
420
|
throw error;
|
|
@@ -425,7 +425,7 @@ async function build2(options) {
|
|
|
425
425
|
|
|
426
426
|
// src/executors/esbuild/executor.ts
|
|
427
427
|
async function esbuildExecutorFn(options, context, config) {
|
|
428
|
-
|
|
428
|
+
_chunk23XGJAPAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
429
429
|
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])) {
|
|
430
430
|
throw new Error(
|
|
431
431
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -446,7 +446,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
446
446
|
success: true
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
var executor_default =
|
|
449
|
+
var executor_default = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
450
450
|
"Storm ESBuild build",
|
|
451
451
|
esbuildExecutorFn,
|
|
452
452
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPLVDJ2C7js = require('./chunk-PLVDJ2C7.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunk6UJMT3W5js = require('./chunk-6UJMT3W5.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk23XGJAPAjs = require('./chunk-23XGJAPA.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -22,7 +22,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunk23XGJAPAjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunk23XGJAPAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunkPLVDJ2C7js.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunk23XGJAPAjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkHXQRGLIIjs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunk23XGJAPAjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -97,7 +97,7 @@ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
97
97
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
98
98
|
throw new Error(
|
|
99
99
|
`Failure determined while running the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunk23XGJAPAjs.formatLogMessage.call(void 0,
|
|
101
101
|
result
|
|
102
102
|
)}`,
|
|
103
103
|
{
|
|
@@ -106,21 +106,21 @@ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0,
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunk23XGJAPAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunk23XGJAPAjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunk23XGJAPAjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunk23XGJAPAjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|
|
@@ -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');
|
|
@@ -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 = _chunkZOPV6QA4js.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-73QI3PXI.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3IRQJJRB.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -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 _chunk23XGJAPAjs = require('./chunk-23XGJAPA.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
|
+
_chunk23XGJAPAjs.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);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk23XGJAPAjs = require('./chunk-23XGJAPA.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -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,
|
|
@@ -744,7 +751,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
744
751
|
let config = result.config;
|
|
745
752
|
const configFile = result.configFile;
|
|
746
753
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
747
|
-
|
|
754
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
748
755
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
749
756
|
{
|
|
750
757
|
logLevel: "all"
|
|
@@ -760,7 +767,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
767
|
for (const result2 of results) {
|
|
761
768
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
762
769
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
763
|
-
|
|
770
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
764
771
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
765
772
|
{
|
|
766
773
|
logLevel: "all"
|
|
@@ -872,7 +879,7 @@ var getConfigEnv = () => {
|
|
|
872
879
|
},
|
|
873
880
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
874
881
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
875
|
-
) ?
|
|
882
|
+
) ? _chunk23XGJAPAjs.getLogLevelLabel.call(void 0,
|
|
876
883
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
877
884
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
878
885
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -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`],
|
|
@@ -1235,9 +1244,9 @@ var setConfigEnv = (config) => {
|
|
|
1235
1244
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1236
1245
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1237
1246
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1238
|
-
|
|
1247
|
+
_chunk23XGJAPAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk23XGJAPAjs.LogLevel.DEBUG ? true : false
|
|
1239
1248
|
);
|
|
1240
|
-
process.env.RUST_BACKTRACE =
|
|
1249
|
+
process.env.RUST_BACKTRACE = _chunk23XGJAPAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk23XGJAPAjs.LogLevel.DEBUG ? "full" : "none";
|
|
1241
1250
|
}
|
|
1242
1251
|
if (config.skipConfigLogging !== void 0) {
|
|
1243
1252
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -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
|
}
|
|
@@ -1373,7 +1388,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1373
1388
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1374
1389
|
if (!configFile) {
|
|
1375
1390
|
if (!skipLogs) {
|
|
1376
|
-
|
|
1391
|
+
_chunk23XGJAPAjs.writeWarning.call(void 0,
|
|
1377
1392
|
"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",
|
|
1378
1393
|
{ logLevel: "all" }
|
|
1379
1394
|
);
|
|
@@ -1400,7 +1415,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1400
1415
|
throw new Error(
|
|
1401
1416
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1402
1417
|
|
|
1403
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1418
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk23XGJAPAjs.formatLogMessage.call(void 0,
|
|
1404
1419
|
configInput
|
|
1405
1420
|
)}`,
|
|
1406
1421
|
{
|
|
@@ -1445,9 +1460,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1445
1460
|
);
|
|
1446
1461
|
setConfigEnv(config);
|
|
1447
1462
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1448
|
-
|
|
1463
|
+
_chunk23XGJAPAjs.writeTrace.call(void 0,
|
|
1449
1464
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1450
|
-
${
|
|
1465
|
+
${_chunk23XGJAPAjs.formatLogMessage.call(void 0, config)}`,
|
|
1451
1466
|
config
|
|
1452
1467
|
);
|
|
1453
1468
|
}
|
|
@@ -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-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 = _chunkMLP7PM4Zjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Check",
|
|
16
16
|
cargoCheckExecutor,
|
|
17
17
|
{
|