@storm-software/config-tools 1.133.0 → 1.133.2
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/README.md +1 -1
- package/dist/chunk-22DJFJ62.js +6 -0
- package/dist/{chunk-NEKG6P4K.js → chunk-25WKQUCS.js} +10 -10
- package/dist/{chunk-NT3PYFHS.mjs → chunk-2Z2NUZGO.mjs} +1 -1
- package/dist/{chunk-TNLZVCTP.mjs → chunk-36YIAZMD.mjs} +3 -3
- package/dist/{chunk-C4VLVXJN.js → chunk-4I3VB7B4.js} +26 -26
- package/dist/{chunk-LPQ4FF5L.js → chunk-4MBJSEBS.js} +23 -23
- package/dist/{chunk-XKZMC6KB.mjs → chunk-5EN3BWVN.mjs} +1 -1
- package/dist/{chunk-IIGOPGL6.mjs → chunk-5FVCBU6R.mjs} +4 -4
- package/dist/{chunk-DMD4BZNL.mjs → chunk-5GHDZSSH.mjs} +1 -1
- package/dist/{chunk-32UYMWRB.js → chunk-7GSJ2YLJ.js} +4 -4
- package/dist/{chunk-AKCURVFT.mjs → chunk-EG4OHTQF.mjs} +2 -2
- package/dist/{chunk-LBOANMDU.mjs → chunk-EVEP57Q3.mjs} +2 -2
- package/dist/{chunk-6BTUPXXY.mjs → chunk-GKEOM3CA.mjs} +2 -2
- package/dist/{chunk-VDI6RB2K.mjs → chunk-GORCQQGS.mjs} +4 -4
- package/dist/{chunk-57NZN5LS.js → chunk-HB72CIXB.js} +6 -6
- package/dist/{chunk-466C365J.mjs → chunk-I6PX575K.mjs} +8 -8
- package/dist/{chunk-6HNUCWCP.js → chunk-JYGRRNZP.js} +4 -4
- package/dist/{chunk-H27IJBG5.js → chunk-K44Z36LS.js} +14 -14
- package/dist/{chunk-UHP64YQS.js → chunk-K7V3S3BW.js} +3 -3
- package/dist/{chunk-VRBWYSRL.mjs → chunk-KFTO4V5W.mjs} +1 -1
- package/dist/{chunk-DN2ONFFH.js → chunk-KNCWTODF.js} +34 -34
- package/dist/{chunk-JB2OGVMT.mjs → chunk-KVGJIBF2.mjs} +1 -1
- package/dist/{chunk-CAC5QWDO.mjs → chunk-KX62XKXR.mjs} +3 -3
- package/dist/{chunk-42LDHZTN.mjs → chunk-LJLITR54.mjs} +1 -1
- package/dist/{chunk-SMASJSMP.mjs → chunk-LQCUO5PV.mjs} +1 -1
- package/dist/{chunk-B67YPZJS.mjs → chunk-LQGTS5ON.mjs} +1 -1
- package/dist/{chunk-P2L7RR4C.mjs → chunk-MJJ7UOJ7.mjs} +1 -1
- package/dist/{chunk-LC4R7SYL.js → chunk-MW3ECYT3.js} +28 -28
- package/dist/chunk-OHHQHME7.js +6 -0
- package/dist/chunk-OLORJVVT.js +6 -0
- package/dist/chunk-PIDYVUHK.js +6 -0
- package/dist/{chunk-PUDMF65B.mjs → chunk-PPRH5US5.mjs} +2 -2
- package/dist/{chunk-KJGMZH7T.mjs → chunk-QNMM2MLO.mjs} +1 -1
- package/dist/{chunk-EUW3VQ2H.js → chunk-QQ2ANR5T.js} +35 -35
- package/dist/chunk-RAXO3D6D.js +70 -0
- package/dist/{chunk-AKW3LGAX.js → chunk-RBSVNX4W.js} +2 -2
- package/dist/{chunk-B62ZVSHB.js → chunk-T7WO327S.js} +8 -8
- package/dist/{chunk-7CXUCCRW.js → chunk-VK6ZC6XP.js} +7 -7
- package/dist/{chunk-RZ7CQ6LI.js → chunk-WLOD7C6O.js} +2 -2
- package/dist/{chunk-M74C3ZKJ.mjs → chunk-WSK3J3XQ.mjs} +4 -4
- package/dist/{chunk-U2AZDXL5.mjs → chunk-XOVQCXWL.mjs} +5 -5
- package/dist/{chunk-5V4E557T.js → chunk-Z5UYG3QU.js} +4 -4
- package/dist/{chunk-7CJCN6LD.js → chunk-Z6KGUYVE.js} +27 -27
- package/dist/{chunk-ST6NK2TD.mjs → chunk-ZJOTERLI.mjs} +1 -1
- package/dist/config-file/get-config-file.js +17 -17
- package/dist/config-file/get-config-file.mjs +16 -16
- package/dist/config-file/index.js +18 -18
- package/dist/config-file/index.mjs +17 -17
- package/dist/create-storm-config.js +25 -25
- package/dist/create-storm-config.mjs +19 -19
- package/dist/env/get-env.js +7 -7
- package/dist/env/get-env.mjs +6 -6
- package/dist/env/index.js +9 -9
- package/dist/env/index.mjs +8 -8
- package/dist/env/set-env.js +6 -6
- package/dist/env/set-env.mjs +5 -5
- package/dist/index.js +24 -24
- package/dist/index.mjs +22 -22
- package/dist/logger/chalk.js +3 -3
- package/dist/logger/chalk.mjs +2 -2
- package/dist/logger/console.js +11 -11
- package/dist/logger/console.mjs +10 -10
- package/dist/logger/get-log-level.js +4 -4
- package/dist/logger/get-log-level.mjs +3 -3
- package/dist/logger/index.js +12 -12
- package/dist/logger/index.mjs +11 -11
- package/dist/types.js +3 -3
- package/dist/types.mjs +2 -2
- package/dist/utilities/apply-workspace-tokens.js +6 -6
- package/dist/utilities/apply-workspace-tokens.mjs +5 -5
- package/dist/utilities/correct-paths.js +3 -3
- package/dist/utilities/correct-paths.mjs +2 -2
- package/dist/utilities/file-path-utils.js +3 -3
- package/dist/utilities/file-path-utils.mjs +2 -2
- package/dist/utilities/find-up.js +3 -3
- package/dist/utilities/find-up.mjs +2 -2
- package/dist/utilities/find-workspace-root.js +5 -5
- package/dist/utilities/find-workspace-root.mjs +4 -4
- package/dist/utilities/get-default-config.js +7 -7
- package/dist/utilities/get-default-config.mjs +6 -6
- package/dist/utilities/index.js +16 -16
- package/dist/utilities/index.mjs +15 -15
- package/dist/utilities/process-handler.js +12 -12
- package/dist/utilities/process-handler.mjs +11 -11
- package/dist/utilities/run.js +3 -3
- package/dist/utilities/run.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-5TIISDHW.js +0 -6
- package/dist/chunk-7ODMGALX.js +0 -6
- package/dist/chunk-7Q6P3AZK.js +0 -6
- package/dist/chunk-AHMQBZSL.js +0 -70
- package/dist/chunk-DY2IGU5S.js +0 -6
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
|
|
10
|
-
var require_util =
|
|
10
|
+
var require_util = _chunkRBSVNX4Wjs.__commonJS.call(void 0, {
|
|
11
11
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
|
|
12
12
|
"use strict";
|
|
13
|
-
|
|
14
|
-
var stringReplaceAll = /* @__PURE__ */
|
|
13
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
14
|
+
var stringReplaceAll = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (string, substring, replacer) => {
|
|
15
15
|
let index = string.indexOf(substring);
|
|
16
16
|
if (index === -1) {
|
|
17
17
|
return string;
|
|
@@ -27,7 +27,7 @@ var require_util = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
27
27
|
returnValue += string.substr(endIndex);
|
|
28
28
|
return returnValue;
|
|
29
29
|
}, "stringReplaceAll");
|
|
30
|
-
var stringEncaseCRLFWithFirstIndex = /* @__PURE__ */
|
|
30
|
+
var stringEncaseCRLFWithFirstIndex = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (string, prefix, postfix, index) => {
|
|
31
31
|
let endIndex = 0;
|
|
32
32
|
let returnValue = "";
|
|
33
33
|
do {
|
|
@@ -47,10 +47,10 @@ var require_util = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
|
|
50
|
-
var require_templates =
|
|
50
|
+
var require_templates = _chunkRBSVNX4Wjs.__commonJS.call(void 0, {
|
|
51
51
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
|
|
52
52
|
"use strict";
|
|
53
|
-
|
|
53
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
54
54
|
var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
55
55
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
56
56
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
@@ -108,7 +108,7 @@ var require_templates = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
108
108
|
}
|
|
109
109
|
return ESCAPES.get(c) || c;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, unescape, "unescape");
|
|
112
112
|
function parseArguments(name, arguments_) {
|
|
113
113
|
const results = [];
|
|
114
114
|
const chunks = arguments_.trim().split(/\s*,\s*/g);
|
|
@@ -125,7 +125,7 @@ var require_templates = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
125
125
|
}
|
|
126
126
|
return results;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, parseArguments, "parseArguments");
|
|
129
129
|
function parseStyle(style) {
|
|
130
130
|
STYLE_REGEX.lastIndex = 0;
|
|
131
131
|
const results = [];
|
|
@@ -145,7 +145,7 @@ var require_templates = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
145
145
|
}
|
|
146
146
|
return results;
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, parseStyle, "parseStyle");
|
|
149
149
|
function buildStyle(chalk2, styles) {
|
|
150
150
|
const enabled = {};
|
|
151
151
|
for (const layer of styles) {
|
|
@@ -165,7 +165,7 @@ var require_templates = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
165
165
|
}
|
|
166
166
|
return current;
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, buildStyle, "buildStyle");
|
|
169
169
|
module.exports = (chalk2, temporary) => {
|
|
170
170
|
const styles = [];
|
|
171
171
|
const chunks = [];
|
|
@@ -203,12 +203,12 @@ var require_templates = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
|
|
206
|
-
var require_source =
|
|
206
|
+
var require_source = _chunkRBSVNX4Wjs.__commonJS.call(void 0, {
|
|
207
207
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
|
|
208
208
|
"use strict";
|
|
209
|
-
|
|
210
|
-
var ansiStyles =
|
|
211
|
-
var { stdout: stdoutColor, stderr: stderrColor } =
|
|
209
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
210
|
+
var ansiStyles = _chunkRBSVNX4Wjs.__require.call(void 0, "ansi-styles");
|
|
211
|
+
var { stdout: stdoutColor, stderr: stderrColor } = _chunkRBSVNX4Wjs.__require.call(void 0, "supports-color");
|
|
212
212
|
var { stringReplaceAll, stringEncaseCRLFWithFirstIndex } = require_util();
|
|
213
213
|
var { isArray } = Array;
|
|
214
214
|
var levelMapping = [
|
|
@@ -218,7 +218,7 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
218
218
|
"ansi16m"
|
|
219
219
|
];
|
|
220
220
|
var styles = /* @__PURE__ */ Object.create(null);
|
|
221
|
-
var applyOptions = /* @__PURE__ */
|
|
221
|
+
var applyOptions = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (object, options = {}) => {
|
|
222
222
|
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
223
223
|
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
224
224
|
}
|
|
@@ -227,13 +227,13 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
227
227
|
}, "applyOptions");
|
|
228
228
|
var ChalkClass = class ChalkClass {
|
|
229
229
|
static {
|
|
230
|
-
|
|
230
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, this, "ChalkClass");
|
|
231
231
|
}
|
|
232
232
|
constructor(options) {
|
|
233
233
|
return chalkFactory(options);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
var chalkFactory = /* @__PURE__ */
|
|
236
|
+
var chalkFactory = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (options) => {
|
|
237
237
|
const chalk3 = {};
|
|
238
238
|
applyOptions(chalk3, options);
|
|
239
239
|
chalk3.template = (...arguments_) => chalkTag(chalk3.template, ...arguments_);
|
|
@@ -248,7 +248,7 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
248
248
|
function Chalk(options) {
|
|
249
249
|
return chalkFactory(options);
|
|
250
250
|
}
|
|
251
|
-
|
|
251
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, Chalk, "Chalk");
|
|
252
252
|
for (const [styleName, style] of Object.entries(ansiStyles)) {
|
|
253
253
|
styles[styleName] = {
|
|
254
254
|
get() {
|
|
@@ -315,7 +315,7 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
|
-
var createStyler = /* @__PURE__ */
|
|
318
|
+
var createStyler = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (open, close, parent) => {
|
|
319
319
|
let openAll;
|
|
320
320
|
let closeAll;
|
|
321
321
|
if (parent === void 0) {
|
|
@@ -333,8 +333,8 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
333
333
|
parent
|
|
334
334
|
};
|
|
335
335
|
}, "createStyler");
|
|
336
|
-
var createBuilder = /* @__PURE__ */
|
|
337
|
-
const builder = /* @__PURE__ */
|
|
336
|
+
var createBuilder = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (self, _styler, _isEmpty) => {
|
|
337
|
+
const builder = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (...arguments_) => {
|
|
338
338
|
if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
|
|
339
339
|
return applyStyle(builder, chalkTag(builder, ...arguments_));
|
|
340
340
|
}
|
|
@@ -346,7 +346,7 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
346
346
|
builder._isEmpty = _isEmpty;
|
|
347
347
|
return builder;
|
|
348
348
|
}, "createBuilder");
|
|
349
|
-
var applyStyle = /* @__PURE__ */
|
|
349
|
+
var applyStyle = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (self, string) => {
|
|
350
350
|
if (self.level <= 0 || !string) {
|
|
351
351
|
return self._isEmpty ? "" : string;
|
|
352
352
|
}
|
|
@@ -368,7 +368,7 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
368
368
|
return openAll + string + closeAll;
|
|
369
369
|
}, "applyStyle");
|
|
370
370
|
var template;
|
|
371
|
-
var chalkTag = /* @__PURE__ */
|
|
371
|
+
var chalkTag = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (chalk3, ...strings) => {
|
|
372
372
|
const [firstString] = strings;
|
|
373
373
|
if (!isArray(firstString) || !isArray(firstString.raw)) {
|
|
374
374
|
return strings.join(" ");
|
|
@@ -397,23 +397,23 @@ var require_source = _chunkAKW3LGAXjs.__commonJS.call(void 0, {
|
|
|
397
397
|
});
|
|
398
398
|
|
|
399
399
|
// src/logger/chalk.ts
|
|
400
|
-
|
|
401
|
-
var import_chalk =
|
|
400
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
401
|
+
var import_chalk = _chunkRBSVNX4Wjs.__toESM.call(void 0, require_source());
|
|
402
402
|
var chalkDefault = {
|
|
403
|
-
hex: /* @__PURE__ */
|
|
404
|
-
bgHex: /* @__PURE__ */
|
|
405
|
-
whiteBright: /* @__PURE__ */
|
|
403
|
+
hex: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
404
|
+
bgHex: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (_) => ({
|
|
405
|
+
whiteBright: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
406
406
|
}), "bgHex"),
|
|
407
|
-
whiteBright: /* @__PURE__ */
|
|
407
|
+
whiteBright: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message) => message, "whiteBright"),
|
|
408
408
|
bold: {
|
|
409
|
-
hex: /* @__PURE__ */
|
|
410
|
-
bgHex: /* @__PURE__ */
|
|
411
|
-
whiteBright: /* @__PURE__ */
|
|
409
|
+
hex: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
410
|
+
bgHex: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (_) => ({
|
|
411
|
+
whiteBright: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
412
412
|
}), "bgHex"),
|
|
413
|
-
whiteBright: /* @__PURE__ */
|
|
413
|
+
whiteBright: /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
|
-
var getChalk = /* @__PURE__ */
|
|
416
|
+
var getChalk = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => {
|
|
417
417
|
let _chalk = import_chalk.default;
|
|
418
418
|
if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
|
|
419
419
|
_chalk = chalkDefault;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkWLOD7C6Ojs = require('./chunk-WLOD7C6O.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
9
|
+
|
|
10
|
+
// src/logger/get-log-level.ts
|
|
11
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
12
|
+
var getLogLevel = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (label) => {
|
|
13
|
+
switch (label) {
|
|
14
|
+
case "all":
|
|
15
|
+
return _chunkWLOD7C6Ojs.LogLevel.ALL;
|
|
16
|
+
case "trace":
|
|
17
|
+
return _chunkWLOD7C6Ojs.LogLevel.TRACE;
|
|
18
|
+
case "debug":
|
|
19
|
+
return _chunkWLOD7C6Ojs.LogLevel.DEBUG;
|
|
20
|
+
case "info":
|
|
21
|
+
return _chunkWLOD7C6Ojs.LogLevel.INFO;
|
|
22
|
+
case "warn":
|
|
23
|
+
return _chunkWLOD7C6Ojs.LogLevel.WARN;
|
|
24
|
+
case "error":
|
|
25
|
+
return _chunkWLOD7C6Ojs.LogLevel.ERROR;
|
|
26
|
+
case "fatal":
|
|
27
|
+
return _chunkWLOD7C6Ojs.LogLevel.FATAL;
|
|
28
|
+
case "silent":
|
|
29
|
+
return _chunkWLOD7C6Ojs.LogLevel.SILENT;
|
|
30
|
+
default:
|
|
31
|
+
return _chunkWLOD7C6Ojs.LogLevel.INFO;
|
|
32
|
+
}
|
|
33
|
+
}, "getLogLevel");
|
|
34
|
+
var getLogLevelLabel = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (logLevel = _chunkWLOD7C6Ojs.LogLevel.INFO) => {
|
|
35
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.ALL) {
|
|
36
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.ALL;
|
|
37
|
+
}
|
|
38
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.TRACE) {
|
|
39
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.TRACE;
|
|
40
|
+
}
|
|
41
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.DEBUG) {
|
|
42
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.DEBUG;
|
|
43
|
+
}
|
|
44
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.INFO) {
|
|
45
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.INFO;
|
|
46
|
+
}
|
|
47
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.WARN) {
|
|
48
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.WARN;
|
|
49
|
+
}
|
|
50
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.ERROR) {
|
|
51
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.ERROR;
|
|
52
|
+
}
|
|
53
|
+
if (logLevel >= _chunkWLOD7C6Ojs.LogLevel.FATAL) {
|
|
54
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.FATAL;
|
|
55
|
+
}
|
|
56
|
+
if (logLevel <= _chunkWLOD7C6Ojs.LogLevel.SILENT) {
|
|
57
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.SILENT;
|
|
58
|
+
}
|
|
59
|
+
return _chunkWLOD7C6Ojs.LogLevelLabel.INFO;
|
|
60
|
+
}, "getLogLevelLabel");
|
|
61
|
+
var isVerbose = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (label = _chunkWLOD7C6Ojs.LogLevelLabel.SILENT) => {
|
|
62
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
63
|
+
return logLevel <= _chunkWLOD7C6Ojs.LogLevel.DEBUG;
|
|
64
|
+
}, "isVerbose");
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose;
|
|
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
mod
|
|
35
35
|
));
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK7V3S3BWjs = require('./chunk-K7V3S3BW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJYGRRNZPjs = require('./chunk-JYGRRNZP.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
11
11
|
|
|
12
12
|
// src/utilities/find-workspace-root.ts
|
|
13
|
-
|
|
13
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
var rootFiles = [
|
|
15
15
|
"storm.json",
|
|
16
16
|
"storm.json",
|
|
@@ -48,11 +48,11 @@ var rootFiles = [
|
|
|
48
48
|
];
|
|
49
49
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
50
50
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
51
|
-
return
|
|
51
|
+
return _chunkJYGRRNZPjs.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
|
|
52
52
|
}
|
|
53
|
-
return
|
|
53
|
+
return _chunkJYGRRNZPjs.correctPaths.call(void 0, _chunkK7V3S3BWjs.findFolderUp.call(void 0, _nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
56
56
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
57
57
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
58
58
|
if (!result) {
|
|
@@ -62,7 +62,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
|
62
62
|
}
|
|
63
63
|
return result;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, findWorkspaceRoot, "findWorkspaceRoot");
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -1,14 +1,14 @@
|
|
|
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 _chunkT7WO327Sjs = require('./chunk-T7WO327S.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
8
8
|
|
|
9
9
|
// src/utilities/apply-workspace-tokens.ts
|
|
10
|
-
|
|
11
|
-
var applyWorkspaceBaseTokens = /* @__PURE__ */
|
|
10
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
11
|
+
var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (option, tokenizerOptions) => {
|
|
12
12
|
let result = option;
|
|
13
13
|
if (!result) {
|
|
14
14
|
return result;
|
|
@@ -34,14 +34,14 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (result.includes("{workspaceRoot}")) {
|
|
37
|
-
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => (
|
|
37
|
+
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkT7WO327Sjs.findWorkspaceRoot.call(void 0, ))));
|
|
38
38
|
}
|
|
39
39
|
return result;
|
|
40
40
|
}, "applyWorkspaceBaseTokens");
|
|
41
|
-
var applyWorkspaceProjectTokens = /* @__PURE__ */
|
|
41
|
+
var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (option, tokenizerOptions) => {
|
|
42
42
|
return applyWorkspaceBaseTokens(option, tokenizerOptions);
|
|
43
43
|
}, "applyWorkspaceProjectTokens");
|
|
44
|
-
var applyWorkspaceTokens = /* @__PURE__ */
|
|
44
|
+
var applyWorkspaceTokens = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (options, config, tokenizerFn) => {
|
|
45
45
|
if (!options) {
|
|
46
46
|
return {};
|
|
47
47
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
4
4
|
|
|
5
5
|
// src/types.ts
|
|
6
|
-
|
|
6
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var LogLevel = {
|
|
8
8
|
SILENT: 0,
|
|
9
9
|
FATAL: 10,
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
STORM_DEFAULT_DOCS,
|
|
4
4
|
STORM_DEFAULT_HOMEPAGE,
|
|
5
5
|
STORM_DEFAULT_LICENSING
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZJOTERLI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getLogLevelLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GKEOM3CA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
correctPaths
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5EN3BWVN.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__name,
|
|
15
15
|
init_esm_shims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EVEP57Q3.mjs";
|
|
17
17
|
|
|
18
18
|
// src/env/get-env.ts
|
|
19
19
|
init_esm_shims();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COLOR_CONFIG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KX62XKXR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getChalk
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KFTO4V5W.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getLogLevel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GKEOM3CA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
LogLevel,
|
|
12
12
|
LogLevelLabel
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MJJ7UOJ7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__name,
|
|
16
16
|
init_esm_shims
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EVEP57Q3.mjs";
|
|
18
18
|
|
|
19
19
|
// src/logger/console.ts
|
|
20
20
|
init_esm_shims();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
5
5
|
|
|
6
6
|
// src/utilities/run.ts
|
|
7
|
-
|
|
7
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
8
8
|
var _child_process = require('child_process');
|
|
9
9
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
10
|
-
var run = /* @__PURE__ */
|
|
10
|
+
var run = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => ( process.cwd())), stdio = "inherit", env = process.env) => {
|
|
11
11
|
return _child_process.execSync.call(void 0, command, {
|
|
12
12
|
cwd,
|
|
13
13
|
env: {
|
|
@@ -22,7 +22,7 @@ var run = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (config, command,
|
|
|
22
22
|
killSignal: "SIGTERM"
|
|
23
23
|
});
|
|
24
24
|
}, "run");
|
|
25
|
-
var runAsync = /* @__PURE__ */
|
|
25
|
+
var runAsync = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => ( process.cwd())), env = process.env) => {
|
|
26
26
|
return _child_process.exec.call(void 0, command, {
|
|
27
27
|
cwd,
|
|
28
28
|
env: {
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHB72CIXBjs = require('./chunk-HB72CIXB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRAXO3D6Djs = require('./chunk-RAXO3D6D.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkJYGRRNZPjs = require('./chunk-JYGRRNZP.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
17
17
|
|
|
18
18
|
// src/env/get-env.ts
|
|
19
|
-
|
|
20
|
-
var getExtensionEnv = /* @__PURE__ */
|
|
19
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
20
|
+
var getExtensionEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (extensionName) => {
|
|
21
21
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
22
22
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
23
23
|
const name = key.replace(prefix, "").split("_").map((i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : "").join("");
|
|
@@ -27,7 +27,7 @@ var getExtensionEnv = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (exte
|
|
|
27
27
|
return ret;
|
|
28
28
|
}, {});
|
|
29
29
|
}, "getExtensionEnv");
|
|
30
|
-
var getConfigEnv = /* @__PURE__ */
|
|
30
|
+
var getConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => {
|
|
31
31
|
const prefix = "STORM_";
|
|
32
32
|
let config = {
|
|
33
33
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
@@ -46,15 +46,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => {
|
|
|
46
46
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
47
47
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
48
48
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
49
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
50
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
49
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
50
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
51
51
|
directories: {
|
|
52
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
53
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
54
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
55
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
56
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
57
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
52
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
53
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
54
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
55
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
56
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
57
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkJYGRRNZPjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
58
58
|
},
|
|
59
59
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
60
60
|
env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -77,23 +77,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => {
|
|
|
77
77
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
78
78
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
79
79
|
},
|
|
80
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ?
|
|
80
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkRAXO3D6Djs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
81
81
|
};
|
|
82
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
82
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkHB72CIXBjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
83
83
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
84
84
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
85
85
|
return ret;
|
|
86
86
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
87
|
-
if (config.docs ===
|
|
88
|
-
if (config.homepage ===
|
|
89
|
-
config.docs = `${
|
|
87
|
+
if (config.docs === _chunkHB72CIXBjs.STORM_DEFAULT_DOCS) {
|
|
88
|
+
if (config.homepage === _chunkHB72CIXBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
89
|
+
config.docs = `${_chunkHB72CIXBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
90
90
|
} else {
|
|
91
91
|
config.docs = `${config.homepage}/docs`;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
if (config.licensing ===
|
|
95
|
-
if (config.homepage ===
|
|
96
|
-
config.licensing = `${
|
|
94
|
+
if (config.licensing === _chunkHB72CIXBjs.STORM_DEFAULT_LICENSING) {
|
|
95
|
+
if (config.homepage === _chunkHB72CIXBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
96
|
+
config.licensing = `${_chunkHB72CIXBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
97
97
|
} else {
|
|
98
98
|
config.licensing = `${config.homepage}/docs`;
|
|
99
99
|
}
|
|
@@ -116,11 +116,11 @@ var getConfigEnv = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => {
|
|
|
116
116
|
}
|
|
117
117
|
return config;
|
|
118
118
|
}, "getConfigEnv");
|
|
119
|
-
var getThemeColorConfigEnv = /* @__PURE__ */
|
|
119
|
+
var getThemeColorConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (prefix, theme) => {
|
|
120
120
|
const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
|
|
121
121
|
return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
|
|
122
122
|
}, "getThemeColorConfigEnv");
|
|
123
|
-
var getSingleThemeColorConfigEnv = /* @__PURE__ */
|
|
123
|
+
var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (prefix) => {
|
|
124
124
|
return {
|
|
125
125
|
dark: process.env[`${prefix}DARK`],
|
|
126
126
|
light: process.env[`${prefix}LIGHT`],
|
|
@@ -138,13 +138,13 @@ var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(
|
|
|
138
138
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
139
139
|
};
|
|
140
140
|
}, "getSingleThemeColorConfigEnv");
|
|
141
|
-
var getMultiThemeColorConfigEnv = /* @__PURE__ */
|
|
141
|
+
var getMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (prefix) => {
|
|
142
142
|
return {
|
|
143
143
|
light: getBaseThemeColorConfigEnv(`${prefix}_LIGHT_`),
|
|
144
144
|
dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
|
|
145
145
|
};
|
|
146
146
|
}, "getMultiThemeColorConfigEnv");
|
|
147
|
-
var getBaseThemeColorConfigEnv = /* @__PURE__ */
|
|
147
|
+
var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (prefix) => {
|
|
148
148
|
return {
|
|
149
149
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
150
150
|
background: process.env[`${prefix}BACKGROUND`],
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
17
|
-
require('../chunk-
|
|
18
|
-
require('../chunk-
|
|
19
|
-
require('../chunk-
|
|
4
|
+
var _chunkKNCWTODFjs = require('../chunk-KNCWTODF.js');
|
|
5
|
+
require('../chunk-22DJFJ62.js');
|
|
6
|
+
require('../chunk-K44Z36LS.js');
|
|
7
|
+
require('../chunk-Z5UYG3QU.js');
|
|
8
|
+
require('../chunk-MW3ECYT3.js');
|
|
9
|
+
require('../chunk-25WKQUCS.js');
|
|
10
|
+
require('../chunk-QQ2ANR5T.js');
|
|
11
|
+
require('../chunk-VK6ZC6XP.js');
|
|
12
|
+
require('../chunk-T7WO327S.js');
|
|
13
|
+
require('../chunk-7GSJ2YLJ.js');
|
|
14
|
+
require('../chunk-K7V3S3BW.js');
|
|
15
|
+
require('../chunk-HB72CIXB.js');
|
|
16
|
+
require('../chunk-RAXO3D6D.js');
|
|
17
|
+
require('../chunk-JYGRRNZP.js');
|
|
18
|
+
require('../chunk-WLOD7C6O.js');
|
|
19
|
+
require('../chunk-RBSVNX4W.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.getConfigFile =
|
|
23
|
+
exports.getConfigFile = _chunkKNCWTODFjs.getConfigFile; exports.getConfigFileByName = _chunkKNCWTODFjs.getConfigFileByName;
|