@storm-software/workspace-tools 1.275.10 → 1.275.11
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 +15 -0
- package/dist/{chunk-EWDV7SFC.mjs → chunk-45N4K3JG.mjs} +1 -1
- package/dist/{chunk-EDA2A2FS.mjs → chunk-47WIPDU2.mjs} +1 -1
- package/dist/{chunk-VWLAZOKW.mjs → chunk-6U5L5TSA.mjs} +1 -0
- package/dist/{chunk-WFM45O35.mjs → chunk-7FHPPXSW.mjs} +1 -1
- package/dist/{chunk-EEHAAR36.mjs → chunk-AITIBUH7.mjs} +1 -1
- package/dist/{chunk-LM4ESBKC.mjs → chunk-AYVQBZ47.mjs} +1 -1
- package/dist/{chunk-CSYOP22P.js → chunk-BZLHJMEB.js} +1 -0
- package/dist/{chunk-FG3RQ2OV.js → chunk-CD5FQ3SO.js} +4 -4
- package/dist/{chunk-AALD7ZEV.js → chunk-CJTM5NXW.js} +5 -5
- package/dist/{chunk-33SPJY5N.mjs → chunk-D5HYL5AR.mjs} +1 -1
- package/dist/{chunk-VF5EUZOL.js → chunk-DOU4JV63.js} +2 -2
- package/dist/{chunk-JMRTB4ST.js → chunk-G2UHFS3D.js} +2 -2
- package/dist/{chunk-CTWNTX3J.js → chunk-G73COCIV.js} +5 -5
- package/dist/{chunk-2XAKOAWZ.js → chunk-GLYNYUEO.js} +2 -2
- package/dist/{chunk-7VBGCQH3.mjs → chunk-HST5WUAT.mjs} +2 -2
- package/dist/{chunk-2443J2PM.js → chunk-HT6XMCLL.js} +2 -2
- package/dist/{chunk-NTDTTTFS.mjs → chunk-JY44CTPK.mjs} +1 -1
- package/dist/{chunk-FOCRXFSZ.js → chunk-K25ZLKGW.js} +9 -9
- package/dist/{chunk-MBEN52II.js → chunk-KAVKOD5C.js} +2 -2
- package/dist/{chunk-ICDQYJFB.mjs → chunk-KAZBWBZO.mjs} +3 -3
- package/dist/{chunk-ZCP6KEZ3.js → chunk-KPYVSW6K.js} +2 -2
- package/dist/{chunk-BAZRQFS5.mjs → chunk-KQEWSX54.mjs} +3 -3
- package/dist/{chunk-WJDCZZ4L.js → chunk-L5K5WENX.js} +2 -2
- package/dist/{chunk-5E6PGJFN.mjs → chunk-LCYZN2T4.mjs} +1 -1
- package/dist/{chunk-TP4TN5V3.js → chunk-MNAM2PWW.js} +23 -19
- package/dist/{chunk-F6TLFN34.js → chunk-NOKYAGMP.js} +20 -20
- package/dist/{chunk-A2XTQR6N.js → chunk-OBPTEDPA.js} +21 -21
- package/dist/{chunk-2DTVCCMX.js → chunk-OHVLEVDF.js} +31 -31
- package/dist/{chunk-6X3ZLBG2.js → chunk-PNPK65F6.js} +2 -2
- package/dist/{chunk-EO5BEDAY.mjs → chunk-QCQPWUUG.mjs} +1 -1
- package/dist/{chunk-ZI3GFOY5.mjs → chunk-RJX34CGZ.mjs} +1 -1
- package/dist/{chunk-222WOWGJ.js → chunk-SCM7NIHK.js} +2 -2
- package/dist/{chunk-C4XOCICR.mjs → chunk-SEBYC6OX.mjs} +5 -1
- package/dist/{chunk-QBVFFRGM.js → chunk-SQQRYK4J.js} +2 -2
- package/dist/{chunk-YRKPABVG.mjs → chunk-SUVILEUI.mjs} +1 -1
- package/dist/{chunk-K3NTMKCM.mjs → chunk-SZECIMUK.mjs} +2 -2
- package/dist/{chunk-MAJJATNY.mjs → chunk-THAH7SBB.mjs} +2 -2
- package/dist/{chunk-NDUYSOQT.mjs → chunk-UBOVNKIB.mjs} +2 -2
- package/dist/{chunk-TITVB67A.mjs → chunk-UFC7PMR7.mjs} +1 -1
- package/dist/{chunk-7XEPEVIZ.mjs → chunk-UIEBEATG.mjs} +2 -2
- package/dist/{chunk-4PBELSTL.js → chunk-UIGXLIMN.js} +16 -16
- package/dist/{chunk-BVE3BYKP.js → chunk-WKR7OSM7.js} +2 -2
- package/dist/{chunk-R4DNKY7G.mjs → chunk-XBF3XKWV.mjs} +2 -2
- package/dist/{chunk-JYCGVSCY.js → chunk-XZAVLGX6.js} +2 -2
- package/dist/{executor-D-oX5X59.d.mts → executor-9LmKos6Z.d.mts} +1 -1
- package/dist/{executor-BAnuLY62.d.mts → executor-B6rwbTH2.d.mts} +1 -1
- package/dist/executor-B8Cw3Tig.d.mts +146 -0
- package/dist/{executor-BS6HK_i-.d.ts → executor-BACiX_ZU.d.ts} +1 -1
- package/dist/executor-Bd5An8DR.d.ts +267 -0
- package/dist/{executor-VvboSWN6.d.ts → executor-Bf5vY3MJ.d.ts} +1 -1
- package/dist/{executor-YXD16-Jl.d.ts → executor-BnzblW4J.d.ts} +1 -1
- package/dist/{executor--mlxAMR_.d.mts → executor-C0iYanib.d.mts} +1 -1
- package/dist/executor-C1PrMC7e.d.mts +267 -0
- package/dist/executor-CeGdcLkF.d.ts +34 -0
- package/dist/{executor-CmMXt0ZL.d.ts → executor-CpsMF06a.d.ts} +1 -1
- package/dist/{executor-BGlIYFTt.d.mts → executor-D1PiCwZy.d.mts} +1 -1
- package/dist/executor-DBfq-cdb.d.mts +34 -0
- package/dist/executor-DJ9zo_90.d.ts +57 -0
- package/dist/executor-fjC66tCo.d.ts +146 -0
- package/dist/executor-q3my5nbv.d.mts +57 -0
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +15 -15
- package/dist/executors.mjs +16 -16
- package/dist/{generator-CjXWOnnK.d.mts → generator-6ooMg1MM.d.mts} +2 -2
- package/dist/{generator-DvREvLTF.d.mts → generator-B26zSwLY.d.mts} +2 -2
- package/dist/{generator-B0UkDTyO.d.mts → generator-B640GNIa.d.mts} +2 -2
- package/dist/generator-BE_y2LLV.d.mts +38 -0
- package/dist/{generator-lfLl3DXf.d.ts → generator-BKRA47fj.d.ts} +1 -1
- package/dist/{generator-CsmV6snI.d.ts → generator-BTd79lYw.d.ts} +2 -2
- package/dist/{generator-DVfwgNrx.d.ts → generator-BVRsSb8i.d.ts} +2 -2
- package/dist/{generator-BkkCO0DX.d.ts → generator-Bm8yfws4.d.ts} +1 -1
- package/dist/generator-BpgPcSPg.d.ts +186 -0
- package/dist/{generator-DP4Yjbo_.d.mts → generator-BvGl9JTM.d.mts} +2 -2
- package/dist/generator-CCtJHaiZ.d.ts +130 -0
- package/dist/{generator-UHjIhmN1.d.mts → generator-CHn9k022.d.mts} +1 -1
- package/dist/generator-CS2A1Qzu.d.ts +108 -0
- package/dist/{generator-CuNtuEDC.d.ts → generator-CfzaLi0k.d.ts} +2 -2
- package/dist/generator-CkV_kDgf.d.mts +130 -0
- package/dist/generator-Ct6JRxUo.d.ts +130 -0
- package/dist/{generator-B0Jsp2ju.d.ts → generator-D1vtMezi.d.ts} +2 -2
- package/dist/{generator-B4_Po-mX.d.mts → generator-DDs5eEiE.d.mts} +1 -1
- package/dist/generator-Diovfw1t.d.mts +130 -0
- package/dist/generator-Dkpc6Apg.d.ts +130 -0
- package/dist/generator-LIIIYK9k.d.ts +38 -0
- package/dist/generator-p2G5laVf.d.mts +108 -0
- package/dist/generator-tf6fNTyb.d.mts +130 -0
- package/dist/generator-vnIt_4qz.d.mts +186 -0
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +10 -10
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +23 -23
- package/dist/index.mjs +24 -24
- 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 +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- 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/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/generators/release-version/generator.d.mts +2 -2
- package/dist/src/generators/release-version/generator.d.ts +2 -2
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
- 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-U3fABbAy.d.ts → types-0OheivlN.d.ts} +1 -1
- package/dist/{types-jbWdA7g_.d.mts → types-Bq2vUp-m.d.mts} +1 -1
- package/dist/types-BucSdHk7.d.mts +1292 -0
- package/dist/types-BucSdHk7.d.ts +1292 -0
- package/dist/types-CwPRTD_m.d.mts +101 -0
- package/dist/types-DJ_Tqtsg.d.ts +101 -0
- package/dist/{types-C3bmMIQz.d.mts → types-kTmkrbB_.d.mts} +3 -0
- package/dist/{types-C3bmMIQz.d.ts → types-kTmkrbB_.d.ts} +3 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.275.10](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.275.10) (2025-06-06)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
- **monorepo:** Regenerate README markdown files
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated prettier to 0.51.22
|
|
15
|
+
- Updated esbuild to 0.45.1
|
|
16
|
+
- Updated esbuild to 0.45.1
|
|
17
|
+
- Updated unbuild to 0.49.10
|
|
18
|
+
- Updated unbuild to 0.49.10
|
|
19
|
+
|
|
5
20
|
## [1.275.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.275.9) (2025-06-06)
|
|
6
21
|
|
|
7
22
|
### Miscellaneous
|
|
@@ -187,6 +187,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
187
187
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
188
188
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
189
189
|
docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
190
|
+
portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
190
191
|
licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
191
192
|
contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
192
193
|
support: z.string().trim().url().optional().describe(
|
|
@@ -187,6 +187,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
187
187
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
188
188
|
homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
189
189
|
docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
190
|
+
portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
190
191
|
licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
191
192
|
contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
192
193
|
support: _zod2.default.string().trim().url().optional().describe(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBZLHJMEBjs = require('./chunk-BZLHJMEB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -12,7 +12,7 @@ var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
|
12
12
|
var _defu = require('defu');
|
|
13
13
|
var _jiti = require('jiti');
|
|
14
14
|
async function unbuildExecutorFn(options, context, config) {
|
|
15
|
-
|
|
15
|
+
_chunkBZLHJMEBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
16
16
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
17
17
|
throw new Error(
|
|
18
18
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
80
80
|
success: true
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
var executor_default =
|
|
83
|
+
var executor_default = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBZLHJMEBjs = require('./chunk-BZLHJMEB.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
|
+
_chunkBZLHJMEBjs.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
|
+
_chunkBZLHJMEBjs.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 = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -7,7 +7,7 @@ var _chunkU3YH5M4Ljs = require('./chunk-U3YH5M4L.js');
|
|
|
7
7
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkUIGXLIMNjs = require('./chunk-UIGXLIMN.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunkUIGXLIMNjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -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 _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBZLHJMEBjs = require('./chunk-BZLHJMEB.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
|
+
_chunkBZLHJMEBjs.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
|
+
_chunkBZLHJMEBjs.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 = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-X6PHOMFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SEBYC6OX.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-6U5L5TSA.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
19
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUIGXLIMNjs = require('./chunk-UIGXLIMN.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBZLHJMEBjs = require('./chunk-BZLHJMEB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -15,29 +15,29 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
15
15
|
var _devkit = require('@nx/devkit');
|
|
16
16
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
17
17
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
|
-
|
|
18
|
+
_chunkBZLHJMEBjs.writeInfo.call(void 0,
|
|
19
19
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0,
|
|
23
23
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
24
24
|
config
|
|
25
25
|
);
|
|
26
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0,
|
|
26
|
+
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkBZLHJMEBjs.stormWorkspaceConfigSchema, {
|
|
27
27
|
name: "StormWorkspaceConfiguration"
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0, jsonSchema, config);
|
|
30
30
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
31
31
|
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
|
|
32
32
|
_optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./"
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0,
|
|
35
35
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
38
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
39
39
|
await _devkit.formatFiles.call(void 0, tree);
|
|
40
|
-
|
|
40
|
+
_chunkBZLHJMEBjs.writeSuccess.call(void 0,
|
|
41
41
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
42
42
|
config
|
|
43
43
|
);
|
|
@@ -45,7 +45,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
45
45
|
success: true
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
var generator_default =
|
|
48
|
+
var generator_default = _chunkUIGXLIMNjs.withRunGenerator.call(void 0,
|
|
49
49
|
"Configuration Schema Creator",
|
|
50
50
|
configSchemaGeneratorFn,
|
|
51
51
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXZAVLGX6js = require('./chunk-XZAVLGX6.js');
|
|
8
8
|
|
|
9
9
|
// src/utils/package-helpers.ts
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ var getPackageInfo = (project) => {
|
|
|
24
24
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
25
25
|
return {
|
|
26
26
|
type: "Cargo.toml",
|
|
27
|
-
content:
|
|
27
|
+
content: _chunkXZAVLGX6js.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
28
28
|
};
|
|
29
29
|
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
30
30
|
project,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UIEBEATG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SEBYC6OX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
formatLogMessage,
|
|
9
9
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6U5L5TSA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOBPTEDPAjs = require('./chunk-OBPTEDPA.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkOBPTEDPAjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RJX34CGZ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SEBYC6OX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
getStopwatch,
|
|
12
12
|
writeDebug,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6U5L5TSA.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkU3YH5M4Ljs = require('./chunk-U3YH5M4L.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUIGXLIMNjs = require('./chunk-UIGXLIMN.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunkUIGXLIMNjs.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkBZLHJMEBjs = require('./chunk-BZLHJMEB.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
68
68
|
let config = result.config;
|
|
69
69
|
const configFile = result.configFile;
|
|
70
70
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
71
|
-
|
|
71
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0,
|
|
72
72
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
73
73
|
{
|
|
74
74
|
logLevel: "all"
|
|
@@ -84,7 +84,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
84
84
|
for (const result2 of results) {
|
|
85
85
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
86
86
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
87
|
-
|
|
87
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0,
|
|
88
88
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
89
89
|
{
|
|
90
90
|
logLevel: "all"
|
|
@@ -148,6 +148,7 @@ var getConfigEnv = () => {
|
|
|
148
148
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
149
149
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
150
150
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
151
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
151
152
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
152
153
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
153
154
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
@@ -186,13 +187,13 @@ var getConfigEnv = () => {
|
|
|
186
187
|
},
|
|
187
188
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
188
189
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
189
|
-
) ?
|
|
190
|
+
) ? _chunkBZLHJMEBjs.getLogLevelLabel.call(void 0,
|
|
190
191
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
191
192
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
192
193
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
193
194
|
};
|
|
194
195
|
const themeNames = Object.keys(process.env).filter(
|
|
195
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
196
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkBZLHJMEBjs.COLOR_KEYS.every(
|
|
196
197
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
197
198
|
)
|
|
198
199
|
);
|
|
@@ -203,16 +204,16 @@ var getConfigEnv = () => {
|
|
|
203
204
|
},
|
|
204
205
|
{}
|
|
205
206
|
) : getThemeColorConfigEnv(prefix);
|
|
206
|
-
if (config.docs ===
|
|
207
|
-
if (config.homepage ===
|
|
208
|
-
config.docs = `${
|
|
207
|
+
if (config.docs === _chunkBZLHJMEBjs.STORM_DEFAULT_DOCS) {
|
|
208
|
+
if (config.homepage === _chunkBZLHJMEBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
209
|
+
config.docs = `${_chunkBZLHJMEBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
209
210
|
} else {
|
|
210
211
|
config.docs = `${config.homepage}/docs`;
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
|
-
if (config.licensing ===
|
|
214
|
-
if (config.homepage ===
|
|
215
|
-
config.licensing = `${
|
|
214
|
+
if (config.licensing === _chunkBZLHJMEBjs.STORM_DEFAULT_LICENSING) {
|
|
215
|
+
if (config.homepage === _chunkBZLHJMEBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
216
|
+
config.licensing = `${_chunkBZLHJMEBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
216
217
|
} else {
|
|
217
218
|
config.licensing = `${config.homepage}/docs`;
|
|
218
219
|
}
|
|
@@ -363,6 +364,9 @@ var setConfigEnv = (config) => {
|
|
|
363
364
|
if (config.docs) {
|
|
364
365
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
365
366
|
}
|
|
367
|
+
if (config.portal) {
|
|
368
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
369
|
+
}
|
|
366
370
|
if (config.licensing) {
|
|
367
371
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
368
372
|
}
|
|
@@ -484,9 +488,9 @@ var setConfigEnv = (config) => {
|
|
|
484
488
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
485
489
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
486
490
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
487
|
-
|
|
491
|
+
_chunkBZLHJMEBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkBZLHJMEBjs.LogLevel.DEBUG ? true : false
|
|
488
492
|
);
|
|
489
|
-
process.env.RUST_BACKTRACE =
|
|
493
|
+
process.env.RUST_BACKTRACE = _chunkBZLHJMEBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkBZLHJMEBjs.LogLevel.DEBUG ? "full" : "none";
|
|
490
494
|
}
|
|
491
495
|
if (config.skipConfigLogging !== void 0) {
|
|
492
496
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -612,7 +616,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
612
616
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
613
617
|
if (!configFile) {
|
|
614
618
|
if (!skipLogs) {
|
|
615
|
-
|
|
619
|
+
_chunkBZLHJMEBjs.writeWarning.call(void 0,
|
|
616
620
|
"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",
|
|
617
621
|
{ logLevel: "all" }
|
|
618
622
|
);
|
|
@@ -621,9 +625,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
621
625
|
return void 0;
|
|
622
626
|
}
|
|
623
627
|
}
|
|
624
|
-
const defaultConfig = await
|
|
625
|
-
result =
|
|
626
|
-
await
|
|
628
|
+
const defaultConfig = await _chunkBZLHJMEBjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
629
|
+
result = _chunkBZLHJMEBjs.applyDefaultConfig.call(void 0,
|
|
630
|
+
await _chunkBZLHJMEBjs.stormWorkspaceConfigSchema.parseAsync(
|
|
627
631
|
_defu2.default.call(void 0, configEnv, configFile, defaultConfig)
|
|
628
632
|
)
|
|
629
633
|
);
|
|
@@ -665,9 +669,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
665
669
|
);
|
|
666
670
|
setConfigEnv(config);
|
|
667
671
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
668
|
-
|
|
672
|
+
_chunkBZLHJMEBjs.writeTrace.call(void 0,
|
|
669
673
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
670
|
-
${
|
|
674
|
+
${_chunkBZLHJMEBjs.formatLogMessage.call(void 0, config)}`,
|
|
671
675
|
config
|
|
672
676
|
);
|
|
673
677
|
}
|