@storm-software/config-tools 1.144.13 → 1.145.0
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/bin/config.cjs +260 -74597
- package/bin/config.js +224 -74588
- package/dist/chunk-2AVLCXLT.js +0 -0
- package/dist/chunk-3NWKPYIG.cjs +68 -0
- package/dist/{chunk-7TAUZNGG.cjs → chunk-5BKIG4XN.cjs} +5 -7
- package/dist/chunk-65SWKEHV.cjs +1 -0
- package/dist/{chunk-UHUKL2FF.js → chunk-6QCPF7DE.js} +3 -5
- package/dist/{chunk-TUH2WX5T.js → chunk-7FBGW2FI.js} +3 -5
- package/dist/{chunk-OMKDNOX6.cjs → chunk-7NSHGJWY.cjs} +2 -4
- package/dist/chunk-7PV6L7I7.cjs +1 -0
- package/dist/{chunk-I4SIJOYB.cjs → chunk-B6J2YUGO.cjs} +7 -9
- package/dist/{chunk-NCZG3KIJ.js → chunk-BHZFTVXN.js} +2 -4
- package/dist/{chunk-LHYMHJN7.js → chunk-CEEL5LLM.js} +8 -10
- package/dist/{chunk-WSHWZNKF.cjs → chunk-CRQ4EVX5.cjs} +4 -6
- package/dist/chunk-DD3HX2NX.cjs +1 -0
- package/dist/{chunk-VNWXMGH6.cjs → chunk-DXUUXBG3.cjs} +6 -8
- package/dist/{chunk-3HOVXAQZ.cjs → chunk-EOQEK2MM.cjs} +37 -39
- package/dist/chunk-EPBOQXUS.cjs +93 -0
- package/dist/{chunk-2F7SMIKE.js → chunk-FXFNC4WC.js} +4 -6
- package/dist/chunk-GFL2DSZK.js +44 -0
- package/dist/{chunk-V2H3W5RM.cjs → chunk-GMMTDKYU.cjs} +22 -24
- package/dist/{chunk-NMYOKDUE.cjs → chunk-HE7RJB2E.cjs} +30 -27
- package/dist/{chunk-L3RZVSYE.js → chunk-HI33NNPB.js} +3 -5
- package/dist/{chunk-5GWRMIQL.js → chunk-HSCCBYAV.js} +2 -4
- package/dist/{chunk-2BONUUVS.cjs → chunk-HSNM6VD2.cjs} +13 -12
- package/dist/{chunk-RXWR65M2.js → chunk-IKXDQ7DB.js} +5 -7
- package/dist/{chunk-DEWCXJEQ.cjs → chunk-IRCFHYKZ.cjs} +1 -6
- package/dist/{chunk-5CCF2WYC.js → chunk-IUT7Y2UY.js} +4 -6
- package/dist/chunk-IWD6YQKX.cjs +1 -0
- package/dist/chunk-JXLUUN7Z.cjs +179 -0
- package/dist/{chunk-XJSXW4P5.cjs → chunk-KRKGLKPD.cjs} +13 -15
- package/dist/chunk-L6UNTUC4.js +0 -0
- package/dist/{chunk-WBQEFUVW.js → chunk-LQJJD6FB.js} +2 -4
- package/dist/chunk-MXRRZKNO.js +77 -0
- package/dist/{chunk-MNA5ZBKU.js → chunk-MZ5BNE43.js} +12 -14
- package/dist/chunk-NJVL3GF4.js +0 -0
- package/dist/{chunk-WN4V6QSX.js → chunk-POXTJ6GF.js} +0 -5
- package/dist/{chunk-RR5DGQEI.js → chunk-PR7RQHRE.js} +2 -4
- package/dist/{chunk-A55N7CTJ.js → chunk-QBS3OCHH.js} +2 -4
- package/dist/{chunk-SJZ346G5.js → chunk-QGYINXXY.js} +3 -5
- package/dist/{chunk-M3QWTBKA.js → chunk-R4O6ILOD.js} +10 -7
- package/dist/chunk-RRKB32OH.js +0 -0
- package/dist/{chunk-E7VZQ7HY.cjs → chunk-RVM5N5ZI.cjs} +2 -4
- package/dist/chunk-SA4LVIO6.cjs +77 -0
- package/dist/chunk-SHUYVCID.js +6 -0
- package/dist/chunk-SLGVSUEV.cjs +36 -0
- package/dist/chunk-SPNVYBT4.cjs +44 -0
- package/dist/chunk-USNT2KNT.cjs +6 -0
- package/dist/chunk-WRGFZXJE.js +179 -0
- package/dist/{chunk-54PYJ6Z7.js → chunk-X7BEPYRX.js} +2 -4
- package/dist/{chunk-WJP36CPU.cjs → chunk-XAJB3BSF.cjs} +3 -5
- package/dist/{chunk-P26TW2V3.cjs → chunk-XDBACKKN.cjs} +3 -5
- package/dist/chunk-XY2LDOQ4.cjs +26 -0
- package/dist/{chunk-AXVHALK5.cjs → chunk-XYV3B7TT.cjs} +2 -4
- package/dist/{chunk-NKL6DBVO.js → chunk-YES7WAZK.js} +8 -7
- package/dist/chunk-ZA4IO7YJ.js +36 -0
- package/dist/config-file/get-config-file.cjs +20 -25
- package/dist/config-file/get-config-file.js +19 -24
- package/dist/config-file/index.cjs +21 -26
- package/dist/config-file/index.js +20 -25
- package/dist/create-storm-config.cjs +23 -28
- package/dist/create-storm-config.js +22 -27
- package/dist/env/get-env.cjs +7 -6
- package/dist/env/get-env.js +6 -5
- package/dist/env/index.cjs +9 -8
- package/dist/env/index.js +8 -7
- package/dist/env/set-env.cjs +6 -6
- package/dist/env/set-env.js +5 -5
- package/dist/get-config.cjs +24 -29
- package/dist/get-config.js +23 -28
- package/dist/index.cjs +28 -38
- package/dist/index.js +27 -37
- package/dist/logger/chalk.cjs +3 -3
- package/dist/logger/chalk.js +2 -2
- package/dist/logger/console-icons.cjs +5 -5
- package/dist/logger/console-icons.js +4 -4
- package/dist/logger/console.cjs +14 -13
- package/dist/logger/console.js +13 -12
- package/dist/logger/create-logger.cjs +15 -14
- package/dist/logger/create-logger.js +14 -13
- package/dist/logger/format-timestamp.cjs +3 -3
- package/dist/logger/format-timestamp.js +2 -2
- package/dist/logger/get-log-level.cjs +4 -4
- package/dist/logger/get-log-level.js +3 -3
- package/dist/logger/index.cjs +16 -15
- package/dist/logger/index.js +15 -14
- package/dist/logger/is-unicode-supported.cjs +3 -3
- package/dist/logger/is-unicode-supported.js +2 -2
- package/dist/types.cjs +3 -3
- package/dist/types.js +2 -2
- package/dist/utilities/apply-workspace-tokens.cjs +6 -6
- package/dist/utilities/apply-workspace-tokens.js +5 -5
- package/dist/utilities/correct-paths.cjs +3 -3
- package/dist/utilities/correct-paths.js +2 -2
- package/dist/utilities/file-path-utils.cjs +3 -3
- package/dist/utilities/file-path-utils.js +2 -2
- package/dist/utilities/find-up.cjs +3 -3
- package/dist/utilities/find-up.js +2 -2
- package/dist/utilities/find-workspace-root.cjs +5 -5
- package/dist/utilities/find-workspace-root.js +4 -4
- package/dist/utilities/get-default-config.cjs +7 -6
- package/dist/utilities/get-default-config.js +6 -5
- package/dist/utilities/index.cjs +19 -18
- package/dist/utilities/index.js +18 -17
- package/dist/utilities/process-handler.cjs +15 -14
- package/dist/utilities/process-handler.js +14 -13
- package/dist/utilities/run.cjs +3 -3
- package/dist/utilities/run.js +2 -2
- package/package.json +4 -5
- package/dist/chunk-2GPW5A4A.cjs +0 -50
- package/dist/chunk-3IVAD3CI.cjs +0 -510
- package/dist/chunk-52JTCGPV.cjs +0 -6
- package/dist/chunk-52Z3B7HG.js +0 -6
- package/dist/chunk-55BEED5V.cjs +0 -70
- package/dist/chunk-5LIAIS5V.js +0 -6
- package/dist/chunk-65NJ2BNV.js +0 -49
- package/dist/chunk-6SKUJC25.cjs +0 -451
- package/dist/chunk-7IOWYE4O.cjs +0 -34070
- package/dist/chunk-7LNAPF6J.js +0 -7601
- package/dist/chunk-BIBA7MGH.js +0 -84
- package/dist/chunk-BZ3KC4XF.cjs +0 -6
- package/dist/chunk-EVHBF7QV.cjs +0 -6
- package/dist/chunk-F5YSYO5J.js +0 -2645
- package/dist/chunk-FIQNSYAM.cjs +0 -1120
- package/dist/chunk-IIQMKNOS.cjs +0 -6
- package/dist/chunk-JT5CJFOS.cjs +0 -2645
- package/dist/chunk-KCNZC4ZI.js +0 -6
- package/dist/chunk-M3K4KT2L.cjs +0 -4054
- package/dist/chunk-MVPKPUE3.js +0 -1120
- package/dist/chunk-MZADO4BZ.cjs +0 -765
- package/dist/chunk-PRGAKNNV.js +0 -765
- package/dist/chunk-Q3AKY4XY.js +0 -4054
- package/dist/chunk-Q42ZDLPG.js +0 -510
- package/dist/chunk-QFCXJAOM.js +0 -50
- package/dist/chunk-QZAXYX3X.cjs +0 -7601
- package/dist/chunk-R6ZWDCX4.cjs +0 -28
- package/dist/chunk-RNYNEYJ5.js +0 -451
- package/dist/chunk-SCFUDB74.cjs +0 -49
- package/dist/chunk-YDVJJTKY.js +0 -34067
- package/dist/chunk-Z555MBWN.cjs +0 -84
- package/dist/chunk-ZIUQG4HD.js +0 -6
- package/dist/chunk-ZXAQ4Y3X.cjs +0 -95
- package/dist/dist-UYAH2J3L.js +0 -17570
- package/dist/dist-WP6JBNT4.cjs +0 -17571
- package/dist/esm-F37IKPYG.cjs +0 -1716
- package/dist/esm-SQV6ELTR.js +0 -1716
- package/dist/execa-4HBUJBFQ.js +0 -2424
- package/dist/execa-K2JB3BB4.cjs +0 -2424
- package/dist/json5-PPMIEYQR.cjs +0 -10
- package/dist/json5-WTSMELC2.js +0 -10
- package/dist/jsonc-B7SFZJW2.js +0 -15
- package/dist/jsonc-X7JKFW4T.cjs +0 -15
- package/dist/multipart-parser-JIRREWFU.cjs +0 -187
- package/dist/multipart-parser-TFNERLJV.js +0 -187
- package/dist/toml-MTE5VHET.js +0 -10
- package/dist/toml-N2WLYE3T.cjs +0 -10
- package/dist/yaml-D6PQ2AEL.js +0 -10
- package/dist/yaml-LR2Y4V3W.cjs +0 -10
package/dist/chunk-BIBA7MGH.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__name,
|
|
3
|
-
init_esm_shims
|
|
4
|
-
} from "./chunk-65NJ2BNV.js";
|
|
5
|
-
|
|
6
|
-
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
|
|
7
|
-
init_esm_shims();
|
|
8
|
-
var b = /^(?:( )+|\t+)/;
|
|
9
|
-
var d = "space";
|
|
10
|
-
var h = "tab";
|
|
11
|
-
function g(e, t) {
|
|
12
|
-
const n = /* @__PURE__ */ new Map();
|
|
13
|
-
let i = 0, s, o;
|
|
14
|
-
for (const c of e.split(/\n/g)) {
|
|
15
|
-
if (!c) continue;
|
|
16
|
-
let f, a, l, p, r;
|
|
17
|
-
const y = c.match(b);
|
|
18
|
-
if (y === null) i = 0, s = "";
|
|
19
|
-
else {
|
|
20
|
-
if (f = y[0].length, a = y[1] ? d : h, t && a === d && f === 1) continue;
|
|
21
|
-
a !== s && (i = 0), s = a, l = 1, p = 0;
|
|
22
|
-
const u = f - i;
|
|
23
|
-
if (i = f, u === 0) l = 0, p = 1;
|
|
24
|
-
else {
|
|
25
|
-
const I = u > 0 ? u : -u;
|
|
26
|
-
o = T(a, I);
|
|
27
|
-
}
|
|
28
|
-
r = n.get(o), r = r === void 0 ? [1, 0] : [r[0] + l, r[1] + p], n.set(o, r);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return n;
|
|
32
|
-
}
|
|
33
|
-
__name(g, "g");
|
|
34
|
-
function T(e, t) {
|
|
35
|
-
return (e === d ? "s" : "t") + String(t);
|
|
36
|
-
}
|
|
37
|
-
__name(T, "T");
|
|
38
|
-
function w(e) {
|
|
39
|
-
const n = e[0] === "s" ? d : h, i = Number(e.slice(1));
|
|
40
|
-
return { type: n, amount: i };
|
|
41
|
-
}
|
|
42
|
-
__name(w, "w");
|
|
43
|
-
function E(e) {
|
|
44
|
-
let t, n = 0, i = 0;
|
|
45
|
-
for (const [s, [o, c]] of e) (o > n || o === n && c > i) && (n = o, i = c, t = s);
|
|
46
|
-
return t;
|
|
47
|
-
}
|
|
48
|
-
__name(E, "E");
|
|
49
|
-
function S(e, t) {
|
|
50
|
-
return (e === d ? " " : " ").repeat(t);
|
|
51
|
-
}
|
|
52
|
-
__name(S, "S");
|
|
53
|
-
function _(e) {
|
|
54
|
-
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
55
|
-
let t = g(e, true);
|
|
56
|
-
t.size === 0 && (t = g(e, false));
|
|
57
|
-
const n = E(t);
|
|
58
|
-
let i, s = 0, o = "";
|
|
59
|
-
return n !== void 0 && ({ type: i, amount: s } = w(n), o = S(i, s)), { amount: s, type: i, indent: o };
|
|
60
|
-
}
|
|
61
|
-
__name(_, "_");
|
|
62
|
-
var m = Symbol.for("__confbox_fmt__");
|
|
63
|
-
var k = /^(\s+)/;
|
|
64
|
-
var v = /(\s+)$/;
|
|
65
|
-
function x(e, t = {}) {
|
|
66
|
-
const n = t.indent === void 0 && t.preserveIndentation !== false && e.slice(0, t?.sampleSize || 1024), i = t.preserveWhitespace === false ? void 0 : { start: k.exec(e)?.[0] || "", end: v.exec(e)?.[0] || "" };
|
|
67
|
-
return { sample: n, whiteSpace: i };
|
|
68
|
-
}
|
|
69
|
-
__name(x, "x");
|
|
70
|
-
function N(e, t, n) {
|
|
71
|
-
!t || typeof t != "object" || Object.defineProperty(t, m, { enumerable: false, configurable: true, writable: true, value: x(e, n) });
|
|
72
|
-
}
|
|
73
|
-
__name(N, "N");
|
|
74
|
-
function C(e, t) {
|
|
75
|
-
if (!e || typeof e != "object" || !(m in e)) return { indent: t?.indent, whitespace: { start: "", end: "" } };
|
|
76
|
-
const n = e[m];
|
|
77
|
-
return { indent: t?.indent || _(n.sample || "").indent, whitespace: n.whiteSpace || { start: "", end: "" } };
|
|
78
|
-
}
|
|
79
|
-
__name(C, "C");
|
|
80
|
-
|
|
81
|
-
export {
|
|
82
|
-
N,
|
|
83
|
-
C
|
|
84
|
-
};
|
package/dist/chunk-BZ3KC4XF.cjs
DELETED