@modern-js/tailwindcss-generator 3.1.35 → 3.1.36
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/dist/index.js +236 -291
- package/package.json +6 -6
package/LICENSE
CHANGED
package/dist/index.js
CHANGED
@@ -1,27 +1,9 @@
|
|
1
1
|
var __create = Object.create;
|
2
2
|
var __defProp = Object.defineProperty;
|
3
|
-
var __defProps = Object.defineProperties;
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
6
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
8
5
|
var __getProtoOf = Object.getPrototypeOf;
|
9
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
10
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
11
|
-
var __pow = Math.pow;
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
13
|
-
var __spreadValues = (a, b) => {
|
14
|
-
for (var prop in b || (b = {}))
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
17
|
-
if (__getOwnPropSymbols)
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
19
|
-
if (__propIsEnum.call(b, prop))
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
21
|
-
}
|
22
|
-
return a;
|
23
|
-
};
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
25
7
|
var __commonJS = (cb, mod) => function __require() {
|
26
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
27
9
|
};
|
@@ -46,26 +28,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
46
28
|
mod
|
47
29
|
));
|
48
30
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
49
|
-
var __async = (__this, __arguments, generator) => {
|
50
|
-
return new Promise((resolve, reject) => {
|
51
|
-
var fulfilled = (value) => {
|
52
|
-
try {
|
53
|
-
step(generator.next(value));
|
54
|
-
} catch (e) {
|
55
|
-
reject(e);
|
56
|
-
}
|
57
|
-
};
|
58
|
-
var rejected = (value) => {
|
59
|
-
try {
|
60
|
-
step(generator.throw(value));
|
61
|
-
} catch (e) {
|
62
|
-
reject(e);
|
63
|
-
}
|
64
|
-
};
|
65
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
66
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
67
|
-
});
|
68
|
-
};
|
69
31
|
|
70
32
|
// ../../../../node_modules/.pnpm/@modern-js+utils@2.18.0_react-dom@18.2.0_react@18.2.0/node_modules/@modern-js/utils/dist/compiled/import-lazy/index.js
|
71
33
|
var require_import_lazy = __commonJS({
|
@@ -492,22 +454,20 @@ var require_fs_extra = __commonJS({
|
|
492
454
|
const o = r2(17);
|
493
455
|
const c = r2(971);
|
494
456
|
const s = r2(95);
|
495
|
-
const a = n(function emptyDir(e3) {
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
return Promise.all(t3.map((t4) => s.remove(o.join(e3, t4))));
|
504
|
-
});
|
457
|
+
const a = n(async function emptyDir(e3) {
|
458
|
+
let t3;
|
459
|
+
try {
|
460
|
+
t3 = await i.readdir(e3);
|
461
|
+
} catch {
|
462
|
+
return c.mkdirs(e3);
|
463
|
+
}
|
464
|
+
return Promise.all(t3.map((t4) => s.remove(o.join(e3, t4))));
|
505
465
|
});
|
506
466
|
function emptyDirSync(e3) {
|
507
467
|
let t3;
|
508
468
|
try {
|
509
469
|
t3 = i.readdirSync(e3);
|
510
|
-
} catch
|
470
|
+
} catch {
|
511
471
|
return c.mkdirsSync(e3);
|
512
472
|
}
|
513
473
|
t3.forEach((t4) => {
|
@@ -560,7 +520,7 @@ var require_fs_extra = __commonJS({
|
|
560
520
|
let t3;
|
561
521
|
try {
|
562
522
|
t3 = o.statSync(e3);
|
563
|
-
} catch
|
523
|
+
} catch {
|
564
524
|
}
|
565
525
|
if (t3 && t3.isFile())
|
566
526
|
return;
|
@@ -627,7 +587,7 @@ var require_fs_extra = __commonJS({
|
|
627
587
|
let r3;
|
628
588
|
try {
|
629
589
|
r3 = o.lstatSync(t3);
|
630
|
-
} catch
|
590
|
+
} catch {
|
631
591
|
}
|
632
592
|
try {
|
633
593
|
const t4 = o.lstatSync(e3);
|
@@ -722,7 +682,7 @@ var require_fs_extra = __commonJS({
|
|
722
682
|
return t3;
|
723
683
|
try {
|
724
684
|
r3 = n.lstatSync(e3);
|
725
|
-
} catch
|
685
|
+
} catch {
|
726
686
|
return "file";
|
727
687
|
}
|
728
688
|
return r3 && r3.isDirectory() ? "dir" : "file";
|
@@ -785,7 +745,7 @@ var require_fs_extra = __commonJS({
|
|
785
745
|
let n2;
|
786
746
|
try {
|
787
747
|
n2 = o.lstatSync(t3);
|
788
|
-
} catch
|
748
|
+
} catch {
|
789
749
|
}
|
790
750
|
if (n2 && n2.isSymbolicLink()) {
|
791
751
|
const r4 = o.statSync(e3);
|
@@ -860,7 +820,7 @@ var require_fs_extra = __commonJS({
|
|
860
820
|
}
|
861
821
|
}, 81: (e2, t2, r2) => {
|
862
822
|
"use strict";
|
863
|
-
e2.exports =
|
823
|
+
e2.exports = { ...r2(812), ...r2(2), ...r2(708), ...r2(726), ...r2(779), ...r2(971), ...r2(511), ...r2(701), ...r2(725), ...r2(95) };
|
864
824
|
}, 779: (e2, t2, r2) => {
|
865
825
|
"use strict";
|
866
826
|
const n = r2(5).fromPromise;
|
@@ -891,11 +851,9 @@ var require_fs_extra = __commonJS({
|
|
891
851
|
"use strict";
|
892
852
|
const { stringify: n } = r2(208);
|
893
853
|
const { outputFile: i } = r2(701);
|
894
|
-
function outputJson(
|
895
|
-
|
896
|
-
|
897
|
-
yield i(e3, o, r3);
|
898
|
-
});
|
854
|
+
async function outputJson(e3, t3, r3 = {}) {
|
855
|
+
const o = n(t3, r3);
|
856
|
+
await i(e3, o, r3);
|
899
857
|
}
|
900
858
|
e2.exports = outputJson;
|
901
859
|
}, 971: (e2, t2, r2) => {
|
@@ -912,12 +870,12 @@ var require_fs_extra = __commonJS({
|
|
912
870
|
const t3 = { mode: 511 };
|
913
871
|
if (typeof e3 === "number")
|
914
872
|
return e3;
|
915
|
-
return
|
873
|
+
return { ...t3, ...e3 }.mode;
|
916
874
|
};
|
917
|
-
e2.exports.makeDir = (e3, t3) =>
|
875
|
+
e2.exports.makeDir = async (e3, t3) => {
|
918
876
|
i(e3);
|
919
877
|
return n.mkdir(e3, { mode: getMode(t3), recursive: true });
|
920
|
-
}
|
878
|
+
};
|
921
879
|
e2.exports.makeDirSync = (e3, t3) => {
|
922
880
|
i(e3);
|
923
881
|
return n.mkdirSync(e3, { mode: getMode(t3), recursive: true });
|
@@ -1335,7 +1293,7 @@ var require_fs_extra = __commonJS({
|
|
1335
1293
|
try {
|
1336
1294
|
const r4 = t3.rmdirSync(e3, t3);
|
1337
1295
|
return r4;
|
1338
|
-
} catch
|
1296
|
+
} catch {
|
1339
1297
|
}
|
1340
1298
|
} while (Date.now() - r3 < 500);
|
1341
1299
|
} else {
|
@@ -2234,28 +2192,26 @@ var require_fs_extra = __commonJS({
|
|
2234
2192
|
}
|
2235
2193
|
const i = r2(5);
|
2236
2194
|
const { stringify: o, stripBom: c } = r2(208);
|
2237
|
-
function _readFile(
|
2238
|
-
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
return null;
|
2255
|
-
}
|
2195
|
+
async function _readFile(e3, t3 = {}) {
|
2196
|
+
if (typeof t3 === "string") {
|
2197
|
+
t3 = { encoding: t3 };
|
2198
|
+
}
|
2199
|
+
const r3 = t3.fs || n;
|
2200
|
+
const o2 = "throws" in t3 ? t3.throws : true;
|
2201
|
+
let s2 = await i.fromCallback(r3.readFile)(e3, t3);
|
2202
|
+
s2 = c(s2);
|
2203
|
+
let a2;
|
2204
|
+
try {
|
2205
|
+
a2 = JSON.parse(s2, t3 ? t3.reviver : null);
|
2206
|
+
} catch (t4) {
|
2207
|
+
if (o2) {
|
2208
|
+
t4.message = `${e3}: ${t4.message}`;
|
2209
|
+
throw t4;
|
2210
|
+
} else {
|
2211
|
+
return null;
|
2256
2212
|
}
|
2257
|
-
|
2258
|
-
|
2213
|
+
}
|
2214
|
+
return a2;
|
2259
2215
|
}
|
2260
2216
|
const s = i.fromPromise(_readFile);
|
2261
2217
|
function readFileSync(e3, t3 = {}) {
|
@@ -2277,12 +2233,10 @@ var require_fs_extra = __commonJS({
|
|
2277
2233
|
}
|
2278
2234
|
}
|
2279
2235
|
}
|
2280
|
-
function _writeFile(
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
yield i.fromCallback(c2.writeFile)(e3, s2, r3);
|
2285
|
-
});
|
2236
|
+
async function _writeFile(e3, t3, r3 = {}) {
|
2237
|
+
const c2 = r3.fs || n;
|
2238
|
+
const s2 = o(t3, r3);
|
2239
|
+
await i.fromCallback(c2.writeFile)(e3, s2, r3);
|
2286
2240
|
}
|
2287
2241
|
const a = i.fromPromise(_writeFile);
|
2288
2242
|
function writeFileSync(e3, t3, r3 = {}) {
|
@@ -2510,11 +2464,11 @@ var require_chalk = __commonJS({
|
|
2510
2464
|
} };
|
2511
2465
|
}
|
2512
2466
|
const f = Object.defineProperties(() => {
|
2513
|
-
},
|
2467
|
+
}, { ...u, level: { enumerable: true, get() {
|
2514
2468
|
return this._generator.level;
|
2515
2469
|
}, set(e3) {
|
2516
2470
|
this._generator.level = e3;
|
2517
|
-
} } })
|
2471
|
+
} } });
|
2518
2472
|
const createStyler = (e3, t3, n3) => {
|
2519
2473
|
let r2;
|
2520
2474
|
let s2;
|
@@ -2825,7 +2779,7 @@ var require_chalk = __commonJS({
|
|
2825
2779
|
return [o2 * 100, l * 100, c * 100, s2 * 100];
|
2826
2780
|
};
|
2827
2781
|
function comparativeDistance(e3, t3) {
|
2828
|
-
return
|
2782
|
+
return (e3[0] - t3[0]) ** 2 + (e3[1] - t3[1]) ** 2 + (e3[2] - t3[2]) ** 2;
|
2829
2783
|
}
|
2830
2784
|
o.rgb.keyword = function(e3) {
|
2831
2785
|
const t3 = s[e3];
|
@@ -2851,9 +2805,9 @@ var require_chalk = __commonJS({
|
|
2851
2805
|
let t3 = e3[0] / 255;
|
2852
2806
|
let n3 = e3[1] / 255;
|
2853
2807
|
let r2 = e3[2] / 255;
|
2854
|
-
t3 = t3 > 0.04045 ?
|
2855
|
-
n3 = n3 > 0.04045 ?
|
2856
|
-
r2 = r2 > 0.04045 ?
|
2808
|
+
t3 = t3 > 0.04045 ? ((t3 + 0.055) / 1.055) ** 2.4 : t3 / 12.92;
|
2809
|
+
n3 = n3 > 0.04045 ? ((n3 + 0.055) / 1.055) ** 2.4 : n3 / 12.92;
|
2810
|
+
r2 = r2 > 0.04045 ? ((r2 + 0.055) / 1.055) ** 2.4 : r2 / 12.92;
|
2857
2811
|
const s2 = t3 * 0.4124 + n3 * 0.3576 + r2 * 0.1805;
|
2858
2812
|
const o2 = t3 * 0.2126 + n3 * 0.7152 + r2 * 0.0722;
|
2859
2813
|
const l = t3 * 0.0193 + n3 * 0.1192 + r2 * 0.9505;
|
@@ -2867,9 +2821,9 @@ var require_chalk = __commonJS({
|
|
2867
2821
|
n3 /= 95.047;
|
2868
2822
|
r2 /= 100;
|
2869
2823
|
s2 /= 108.883;
|
2870
|
-
n3 = n3 > 8856e-6 ?
|
2871
|
-
r2 = r2 > 8856e-6 ?
|
2872
|
-
s2 = s2 > 8856e-6 ?
|
2824
|
+
n3 = n3 > 8856e-6 ? n3 ** (1 / 3) : 7.787 * n3 + 16 / 116;
|
2825
|
+
r2 = r2 > 8856e-6 ? r2 ** (1 / 3) : 7.787 * r2 + 16 / 116;
|
2826
|
+
s2 = s2 > 8856e-6 ? s2 ** (1 / 3) : 7.787 * s2 + 16 / 116;
|
2873
2827
|
const l = 116 * r2 - 16;
|
2874
2828
|
const c = 500 * (n3 - r2);
|
2875
2829
|
const i = 200 * (r2 - s2);
|
@@ -3043,9 +2997,9 @@ var require_chalk = __commonJS({
|
|
3043
2997
|
s2 = t3 * 3.2406 + n3 * -1.5372 + r2 * -0.4986;
|
3044
2998
|
o2 = t3 * -0.9689 + n3 * 1.8758 + r2 * 0.0415;
|
3045
2999
|
l = t3 * 0.0557 + n3 * -0.204 + r2 * 1.057;
|
3046
|
-
s2 = s2 > 31308e-7 ? 1.055 *
|
3047
|
-
o2 = o2 > 31308e-7 ? 1.055 *
|
3048
|
-
l = l > 31308e-7 ? 1.055 *
|
3000
|
+
s2 = s2 > 31308e-7 ? 1.055 * s2 ** (1 / 2.4) - 0.055 : s2 * 12.92;
|
3001
|
+
o2 = o2 > 31308e-7 ? 1.055 * o2 ** (1 / 2.4) - 0.055 : o2 * 12.92;
|
3002
|
+
l = l > 31308e-7 ? 1.055 * l ** (1 / 2.4) - 0.055 : l * 12.92;
|
3049
3003
|
s2 = Math.min(Math.max(0, s2), 1);
|
3050
3004
|
o2 = Math.min(Math.max(0, o2), 1);
|
3051
3005
|
l = Math.min(Math.max(0, l), 1);
|
@@ -3058,9 +3012,9 @@ var require_chalk = __commonJS({
|
|
3058
3012
|
t3 /= 95.047;
|
3059
3013
|
n3 /= 100;
|
3060
3014
|
r2 /= 108.883;
|
3061
|
-
t3 = t3 > 8856e-6 ?
|
3062
|
-
n3 = n3 > 8856e-6 ?
|
3063
|
-
r2 = r2 > 8856e-6 ?
|
3015
|
+
t3 = t3 > 8856e-6 ? t3 ** (1 / 3) : 7.787 * t3 + 16 / 116;
|
3016
|
+
n3 = n3 > 8856e-6 ? n3 ** (1 / 3) : 7.787 * n3 + 16 / 116;
|
3017
|
+
r2 = r2 > 8856e-6 ? r2 ** (1 / 3) : 7.787 * r2 + 16 / 116;
|
3064
3018
|
const s2 = 116 * n3 - 16;
|
3065
3019
|
const o2 = 500 * (t3 - n3);
|
3066
3020
|
const l = 200 * (n3 - r2);
|
@@ -3076,9 +3030,9 @@ var require_chalk = __commonJS({
|
|
3076
3030
|
o2 = (t3 + 16) / 116;
|
3077
3031
|
s2 = n3 / 500 + o2;
|
3078
3032
|
l = o2 - r2 / 200;
|
3079
|
-
const c =
|
3080
|
-
const i =
|
3081
|
-
const a =
|
3033
|
+
const c = o2 ** 3;
|
3034
|
+
const i = s2 ** 3;
|
3035
|
+
const a = l ** 3;
|
3082
3036
|
o2 = c > 8856e-6 ? c : (o2 - 16 / 116) / 7.787;
|
3083
3037
|
s2 = i > 8856e-6 ? i : (s2 - 16 / 116) / 7.787;
|
3084
3038
|
l = a > 8856e-6 ? a : (l - 16 / 116) / 7.787;
|
@@ -4334,7 +4288,7 @@ var require_ora = __commonJS({
|
|
4334
4288
|
if (typeof e3 === "string") {
|
4335
4289
|
e3 = { text: e3 };
|
4336
4290
|
}
|
4337
|
-
this.options =
|
4291
|
+
this.options = { text: "", color: "cyan", stream: process.stderr, discardStdin: true, ...e3 };
|
4338
4292
|
this.spinner = this.options.spinner;
|
4339
4293
|
this.color = this.options.color;
|
4340
4294
|
this.hideCursor = this.options.hideCursor !== false;
|
@@ -4551,14 +4505,14 @@ var require_ora = __commonJS({
|
|
4551
4505
|
}
|
4552
4506
|
const r3 = new Ora(t3);
|
4553
4507
|
r3.start();
|
4554
|
-
(() =>
|
4508
|
+
(async () => {
|
4555
4509
|
try {
|
4556
|
-
|
4510
|
+
await e3;
|
4557
4511
|
r3.succeed();
|
4558
|
-
} catch
|
4512
|
+
} catch {
|
4559
4513
|
r3.fail();
|
4560
4514
|
}
|
4561
|
-
})
|
4515
|
+
})();
|
4562
4516
|
return r3;
|
4563
4517
|
};
|
4564
4518
|
}, 959: (e2) => {
|
@@ -12978,7 +12932,7 @@ var require_execa = __commonJS({
|
|
12978
12932
|
const { joinCommand: w, parseCommand: E, getEscapedCommand: I } = n2(192);
|
12979
12933
|
const T = 1e3 * 1e3 * 100;
|
12980
12934
|
const getEnv = ({ env: e3, extendEnv: t3, preferLocal: n3, localDir: r2, execPath: o2 }) => {
|
12981
|
-
const s2 = t3 ?
|
12935
|
+
const s2 = t3 ? { ...process.env, ...e3 } : e3;
|
12982
12936
|
if (n3) {
|
12983
12937
|
return a.env({ env: s2, cwd: r2, execPath: o2 });
|
12984
12938
|
}
|
@@ -12989,7 +12943,7 @@ var require_execa = __commonJS({
|
|
12989
12943
|
e3 = o2.command;
|
12990
12944
|
t3 = o2.args;
|
12991
12945
|
n3 = o2.options;
|
12992
|
-
n3 =
|
12946
|
+
n3 = { maxBuffer: T, buffer: true, stripFinalNewline: true, extendEnv: true, preferLocal: false, localDir: n3.cwd || process.cwd(), execPath: process.execPath, encoding: "utf8", reject: true, cleanup: true, all: false, windowsHide: true, ...n3 };
|
12993
12947
|
n3.env = getEnv(n3);
|
12994
12948
|
n3.stdio = u(n3);
|
12995
12949
|
if (process.platform === "win32" && r.basename(e3, ".exe") === "cmd") {
|
@@ -13025,8 +12979,8 @@ var require_execa = __commonJS({
|
|
13025
12979
|
const T2 = { isCanceled: false };
|
13026
12980
|
a2.kill = l.bind(null, a2.kill.bind(a2));
|
13027
12981
|
a2.cancel = f.bind(null, a2, T2);
|
13028
|
-
const handlePromise = () =>
|
13029
|
-
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] =
|
12982
|
+
const handlePromise = async () => {
|
12983
|
+
const [{ error: e4, exitCode: t4, signal: n4, timedOut: o2 }, c2, u3, l2] = await h(a2, r2.options, E2);
|
13030
12984
|
const f2 = handleOutput(r2.options, c2);
|
13031
12985
|
const p2 = handleOutput(r2.options, u3);
|
13032
12986
|
const m2 = handleOutput(r2.options, l2);
|
@@ -13038,7 +12992,7 @@ var require_execa = __commonJS({
|
|
13038
12992
|
throw c3;
|
13039
12993
|
}
|
13040
12994
|
return { command: s2, escapedCommand: i2, exitCode: 0, stdout: f2, stderr: p2, all: m2, failed: false, timedOut: false, isCanceled: false, killed: false };
|
13041
|
-
}
|
12995
|
+
};
|
13042
12996
|
const C = c(handlePromise);
|
13043
12997
|
x(a2, r2.options.input);
|
13044
12998
|
a2.all = y(a2, r2.options);
|
@@ -13083,7 +13037,7 @@ var require_execa = __commonJS({
|
|
13083
13037
|
const r2 = u.node(n3);
|
13084
13038
|
const o2 = process.execArgv.filter((e4) => !e4.startsWith("--inspect"));
|
13085
13039
|
const { nodePath: s2 = process.execPath, nodeOptions: i2 = o2 } = n3;
|
13086
|
-
return execa(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []],
|
13040
|
+
return execa(s2, [...i2, e3, ...Array.isArray(t3) ? t3 : []], { ...n3, stdin: void 0, stdout: void 0, stderr: void 0, stdio: r2, shell: false });
|
13087
13041
|
};
|
13088
13042
|
}, 192: (e2) => {
|
13089
13043
|
"use strict";
|
@@ -13239,7 +13193,7 @@ ${o.message}` : x;
|
|
13239
13193
|
throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e3}\` (${typeof e3})`);
|
13240
13194
|
}
|
13241
13195
|
};
|
13242
|
-
const setExitHandler =
|
13196
|
+
const setExitHandler = async (e3, { cleanup: t3, detached: n3 }, r2) => {
|
13243
13197
|
if (!t3 || n3) {
|
13244
13198
|
return r2;
|
13245
13199
|
}
|
@@ -13249,17 +13203,17 @@ ${o.message}` : x;
|
|
13249
13203
|
return r2.finally(() => {
|
13250
13204
|
s2();
|
13251
13205
|
});
|
13252
|
-
}
|
13206
|
+
};
|
13253
13207
|
e2.exports = { spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler };
|
13254
13208
|
}, 210: (e2) => {
|
13255
13209
|
"use strict";
|
13256
|
-
const t2 = (() =>
|
13257
|
-
})
|
13210
|
+
const t2 = (async () => {
|
13211
|
+
})().constructor.prototype;
|
13258
13212
|
const n2 = ["then", "catch", "finally"].map((e3) => [e3, Reflect.getOwnPropertyDescriptor(t2, e3)]);
|
13259
13213
|
const mergePromise = (e3, t3) => {
|
13260
13214
|
for (const [r, o] of n2) {
|
13261
13215
|
const n3 = typeof t3 === "function" ? (...e4) => Reflect.apply(o.value, t3(), e4) : o.value.bind(t3);
|
13262
|
-
Reflect.defineProperty(e3, r,
|
13216
|
+
Reflect.defineProperty(e3, r, { ...o, value: n3 });
|
13263
13217
|
}
|
13264
13218
|
return e3;
|
13265
13219
|
};
|
@@ -13343,17 +13297,17 @@ ${o.message}` : x;
|
|
13343
13297
|
}
|
13344
13298
|
return n3;
|
13345
13299
|
};
|
13346
|
-
const getBufferedData = (e3, t3) =>
|
13300
|
+
const getBufferedData = async (e3, t3) => {
|
13347
13301
|
if (!e3) {
|
13348
13302
|
return;
|
13349
13303
|
}
|
13350
13304
|
e3.destroy();
|
13351
13305
|
try {
|
13352
|
-
return
|
13306
|
+
return await t3;
|
13353
13307
|
} catch (e4) {
|
13354
13308
|
return e4.bufferedData;
|
13355
13309
|
}
|
13356
|
-
}
|
13310
|
+
};
|
13357
13311
|
const getStreamPromise = (e3, { encoding: t3, buffer: n3, maxBuffer: r2 }) => {
|
13358
13312
|
if (!e3 || !n3) {
|
13359
13313
|
return;
|
@@ -13363,16 +13317,16 @@ ${o.message}` : x;
|
|
13363
13317
|
}
|
13364
13318
|
return o.buffer(e3, { maxBuffer: r2 });
|
13365
13319
|
};
|
13366
|
-
const getSpawnedResult =
|
13320
|
+
const getSpawnedResult = async ({ stdout: e3, stderr: t3, all: n3 }, { encoding: r2, buffer: o2, maxBuffer: s2 }, i) => {
|
13367
13321
|
const a = getStreamPromise(e3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
13368
13322
|
const c = getStreamPromise(t3, { encoding: r2, buffer: o2, maxBuffer: s2 });
|
13369
13323
|
const d = getStreamPromise(n3, { encoding: r2, buffer: o2, maxBuffer: s2 * 2 });
|
13370
13324
|
try {
|
13371
|
-
return
|
13325
|
+
return await Promise.all([i, a, c, d]);
|
13372
13326
|
} catch (r3) {
|
13373
13327
|
return Promise.all([{ error: r3, signal: r3.signal, timedOut: r3.timedOut }, getBufferedData(e3, a), getBufferedData(t3, c), getBufferedData(n3, d)]);
|
13374
13328
|
}
|
13375
|
-
}
|
13329
|
+
};
|
13376
13330
|
const validateInputSync = ({ input: e3 }) => {
|
13377
13331
|
if (r(e3)) {
|
13378
13332
|
throw new TypeError("The `input` option cannot be a stream in sync mode");
|
@@ -13383,7 +13337,7 @@ ${o.message}` : x;
|
|
13383
13337
|
"use strict";
|
13384
13338
|
const { PassThrough: r } = n2(781);
|
13385
13339
|
e2.exports = (e3) => {
|
13386
|
-
e3 =
|
13340
|
+
e3 = { ...e3 };
|
13387
13341
|
const { array: t3 } = e3;
|
13388
13342
|
let { encoding: n3 } = e3;
|
13389
13343
|
const o = n3 === "buffer";
|
@@ -13432,41 +13386,39 @@ ${o.message}` : x;
|
|
13432
13386
|
this.name = "MaxBufferError";
|
13433
13387
|
}
|
13434
13388
|
}
|
13435
|
-
function getStream(e3, t3) {
|
13436
|
-
|
13437
|
-
|
13438
|
-
|
13439
|
-
|
13440
|
-
|
13441
|
-
|
13442
|
-
|
13443
|
-
|
13444
|
-
|
13445
|
-
|
13446
|
-
|
13447
|
-
|
13448
|
-
|
13449
|
-
|
13450
|
-
|
13451
|
-
|
13452
|
-
|
13453
|
-
|
13454
|
-
|
13455
|
-
|
13456
|
-
|
13457
|
-
|
13458
|
-
o2.
|
13459
|
-
|
13460
|
-
|
13461
|
-
}
|
13462
|
-
});
|
13389
|
+
async function getStream(e3, t3) {
|
13390
|
+
if (!e3) {
|
13391
|
+
throw new Error("Expected a stream");
|
13392
|
+
}
|
13393
|
+
t3 = { maxBuffer: Infinity, ...t3 };
|
13394
|
+
const { maxBuffer: n3 } = t3;
|
13395
|
+
const o2 = i(t3);
|
13396
|
+
await new Promise((t4, s2) => {
|
13397
|
+
const rejectPromise = (e4) => {
|
13398
|
+
if (e4 && o2.getBufferedLength() <= r.MAX_LENGTH) {
|
13399
|
+
e4.bufferedData = o2.getBufferedValue();
|
13400
|
+
}
|
13401
|
+
s2(e4);
|
13402
|
+
};
|
13403
|
+
(async () => {
|
13404
|
+
try {
|
13405
|
+
await a(e3, o2);
|
13406
|
+
t4();
|
13407
|
+
} catch (e4) {
|
13408
|
+
rejectPromise(e4);
|
13409
|
+
}
|
13410
|
+
})();
|
13411
|
+
o2.on("data", () => {
|
13412
|
+
if (o2.getBufferedLength() > n3) {
|
13413
|
+
rejectPromise(new MaxBufferError());
|
13414
|
+
}
|
13463
13415
|
});
|
13464
|
-
return o2.getBufferedValue();
|
13465
13416
|
});
|
13417
|
+
return o2.getBufferedValue();
|
13466
13418
|
}
|
13467
13419
|
e2.exports = getStream;
|
13468
|
-
e2.exports.buffer = (e3, t3) => getStream(e3,
|
13469
|
-
e2.exports.array = (e3, t3) => getStream(e3,
|
13420
|
+
e2.exports.buffer = (e3, t3) => getStream(e3, { ...t3, encoding: "buffer" });
|
13421
|
+
e2.exports.array = (e3, t3) => getStream(e3, { ...t3, array: true });
|
13470
13422
|
e2.exports.MaxBufferError = MaxBufferError;
|
13471
13423
|
}, 221: (e2, t2) => {
|
13472
13424
|
"use strict";
|
@@ -13486,7 +13438,7 @@ ${o.message}` : x;
|
|
13486
13438
|
return e3.reduce(getSignalByName, {});
|
13487
13439
|
};
|
13488
13440
|
const getSignalByName = function(e3, { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 }) {
|
13489
|
-
return
|
13441
|
+
return { ...e3, [t3]: { name: t3, number: n3, description: r2, supported: o2, action: s2, forced: i2, standard: a2 } };
|
13490
13442
|
};
|
13491
13443
|
const i = getSignalsByName();
|
13492
13444
|
t2.signalsByName = i;
|
@@ -13718,7 +13670,7 @@ ${o.message}` : x;
|
|
13718
13670
|
const r = n2(17);
|
13719
13671
|
const o = n2(460);
|
13720
13672
|
const npmRunPath = (e3) => {
|
13721
|
-
e3 =
|
13673
|
+
e3 = { cwd: process.cwd(), path: process.env[o()], execPath: process.execPath, ...e3 };
|
13722
13674
|
let t3;
|
13723
13675
|
let n3 = r.resolve(e3.cwd);
|
13724
13676
|
const s = [];
|
@@ -13734,8 +13686,8 @@ ${o.message}` : x;
|
|
13734
13686
|
e2.exports = npmRunPath;
|
13735
13687
|
e2.exports["default"] = npmRunPath;
|
13736
13688
|
e2.exports.env = (t3) => {
|
13737
|
-
t3 =
|
13738
|
-
const n3 =
|
13689
|
+
t3 = { env: process.env, ...t3 };
|
13690
|
+
const n3 = { ...t3.env };
|
13739
13691
|
const r2 = o({ env: n3 });
|
13740
13692
|
t3.path = n3[r2];
|
13741
13693
|
n3[r2] = e2.exports(t3);
|
@@ -15144,7 +15096,7 @@ var require_upath = __commonJS({
|
|
15144
15096
|
_.VERSION = typeof n !== "undefined" && n !== null ? n : "NO-VERSION";
|
15145
15097
|
p = function(e3) {
|
15146
15098
|
e3 = e3.replace(/\\/g, "/");
|
15147
|
-
e3 = e3.replace(
|
15099
|
+
e3 = e3.replace(/(?<!^)\/+/g, "/");
|
15148
15100
|
return e3;
|
15149
15101
|
};
|
15150
15102
|
for (c in o) {
|
@@ -15440,9 +15392,7 @@ var require_pkg_up = __commonJS({
|
|
15440
15392
|
};
|
15441
15393
|
}, 800: (e2, r2, n2) => {
|
15442
15394
|
const t = n2(485);
|
15443
|
-
e2.exports =
|
15444
|
-
return t("package.json", { cwd: e3 });
|
15445
|
-
});
|
15395
|
+
e2.exports = async ({ cwd: e3 } = {}) => t("package.json", { cwd: e3 });
|
15446
15396
|
e2.exports.sync = ({ cwd: e3 } = {}) => t.sync("package.json", { cwd: e3 });
|
15447
15397
|
}, 147: (e2) => {
|
15448
15398
|
e2.exports = require("fs");
|
@@ -23973,7 +23923,7 @@ var require_fast_glob = __commonJS({
|
|
23973
23923
|
}
|
23974
23924
|
if (t4.nodes && t4.ranges > 0) {
|
23975
23925
|
let r4 = s.reduce(t4.nodes);
|
23976
|
-
let i2 = n(...r4,
|
23926
|
+
let i2 = n(...r4, { ...e3, wrap: false, toRegex: true });
|
23977
23927
|
if (i2.length !== 0) {
|
23978
23928
|
return r4.length > 1 && i2.length > 1 ? `(${i2})` : i2;
|
23979
23929
|
}
|
@@ -24399,13 +24349,11 @@ var require_fast_glob = __commonJS({
|
|
24399
24349
|
const a = r2(1066);
|
24400
24350
|
const u = r2(7190);
|
24401
24351
|
const c = r2(3828);
|
24402
|
-
function FastGlob(t3, e3) {
|
24403
|
-
|
24404
|
-
|
24405
|
-
|
24406
|
-
|
24407
|
-
return c.array.flatten(n2);
|
24408
|
-
});
|
24352
|
+
async function FastGlob(t3, e3) {
|
24353
|
+
assertPatternsInput(t3);
|
24354
|
+
const r3 = getWorks(t3, i.default, e3);
|
24355
|
+
const n2 = await Promise.all(r3);
|
24356
|
+
return c.array.flatten(n2);
|
24409
24357
|
}
|
24410
24358
|
(function(t3) {
|
24411
24359
|
function sync(t4, e3) {
|
@@ -25576,7 +25524,7 @@ var require_fast_glob = __commonJS({
|
|
25576
25524
|
};
|
25577
25525
|
const toRange = (t3, e3, r3, n2) => {
|
25578
25526
|
if (r3) {
|
25579
|
-
return s(t3, e3,
|
25527
|
+
return s(t3, e3, { wrap: false, ...n2 });
|
25580
25528
|
}
|
25581
25529
|
let i = String.fromCharCode(t3);
|
25582
25530
|
if (t3 === e3)
|
@@ -25642,7 +25590,7 @@ var require_fast_glob = __commonJS({
|
|
25642
25590
|
g++;
|
25643
25591
|
}
|
25644
25592
|
if (n2.toRegex === true) {
|
25645
|
-
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null,
|
25593
|
+
return r3 > 1 ? toSequence(d, n2) : toRegex(_, null, { wrap: false, ...n2 });
|
25646
25594
|
}
|
25647
25595
|
return _;
|
25648
25596
|
};
|
@@ -25684,7 +25632,7 @@ var require_fast_glob = __commonJS({
|
|
25684
25632
|
if (isObject4(r3)) {
|
25685
25633
|
return fill(t3, e3, 0, r3);
|
25686
25634
|
}
|
25687
|
-
let s2 =
|
25635
|
+
let s2 = { ...n2 };
|
25688
25636
|
if (s2.capture === true)
|
25689
25637
|
s2.wrap = true;
|
25690
25638
|
r3 = r3 || s2.step || 1;
|
@@ -26008,7 +25956,7 @@ var require_fast_glob = __commonJS({
|
|
26008
25956
|
}
|
26009
25957
|
};
|
26010
25958
|
for (let o3 = 0; o3 < e3.length; o3++) {
|
26011
|
-
let u2 = i(String(e3[o3]),
|
25959
|
+
let u2 = i(String(e3[o3]), { ...r3, onResult }, true);
|
26012
25960
|
let c2 = u2.state.negated || u2.state.negatedExtglob;
|
26013
25961
|
if (c2)
|
26014
25962
|
a++;
|
@@ -26050,7 +25998,7 @@ var require_fast_glob = __commonJS({
|
|
26050
25998
|
r3.onResult(t4);
|
26051
25999
|
s2.push(t4.output);
|
26052
26000
|
};
|
26053
|
-
let i2 = new Set(micromatch(t3, e3,
|
26001
|
+
let i2 = new Set(micromatch(t3, e3, { ...r3, onResult }));
|
26054
26002
|
for (let t4 of s2) {
|
26055
26003
|
if (!i2.has(t4)) {
|
26056
26004
|
n2.add(t4);
|
@@ -26073,7 +26021,7 @@ var require_fast_glob = __commonJS({
|
|
26073
26021
|
return true;
|
26074
26022
|
}
|
26075
26023
|
}
|
26076
|
-
return micromatch.isMatch(t3, e3,
|
26024
|
+
return micromatch.isMatch(t3, e3, { ...r3, contains: true });
|
26077
26025
|
};
|
26078
26026
|
micromatch.matchKeys = (t3, e3, r3) => {
|
26079
26027
|
if (!o.isObject(t3)) {
|
@@ -26113,7 +26061,7 @@ var require_fast_glob = __commonJS({
|
|
26113
26061
|
};
|
26114
26062
|
micromatch.capture = (t3, e3, r3) => {
|
26115
26063
|
let n2 = o.isWindows(r3);
|
26116
|
-
let s2 = i.makeRe(String(t3),
|
26064
|
+
let s2 = i.makeRe(String(t3), { ...r3, capture: true });
|
26117
26065
|
let a = s2.exec(n2 ? o.toPosixSlashes(e3) : e3);
|
26118
26066
|
if (a) {
|
26119
26067
|
return a.slice(1).map((t4) => t4 === void 0 ? "" : t4);
|
@@ -26141,7 +26089,7 @@ var require_fast_glob = __commonJS({
|
|
26141
26089
|
micromatch.braceExpand = (t3, e3) => {
|
26142
26090
|
if (typeof t3 !== "string")
|
26143
26091
|
throw new TypeError("Expected a string");
|
26144
|
-
return micromatch.braces(t3,
|
26092
|
+
return micromatch.braces(t3, { ...e3, expand: true });
|
26145
26093
|
};
|
26146
26094
|
t2.exports = micromatch;
|
26147
26095
|
}, 376: (t2, e2, r2) => {
|
@@ -26168,7 +26116,7 @@ var require_fast_glob = __commonJS({
|
|
26168
26116
|
const m = `[^.${c}]`;
|
26169
26117
|
const v = `${f}*?`;
|
26170
26118
|
const E = { DOT_LITERAL: o, PLUS_LITERAL: a, QMARK_LITERAL: u, SLASH_LITERAL: c, ONE_CHAR: l, QMARK: f, END_ANCHOR: p, DOTS_SLASH: d, NO_DOT: _, NO_DOTS: g, NO_DOT_SLASH: y, NO_DOTS_SLASH: S, QMARK_NO_DOT: m, STAR: v, START_ANCHOR: h };
|
26171
|
-
const A =
|
26119
|
+
const A = { ...E, SLASH_LITERAL: `[${s}]`, QMARK: i, STAR: `${i}*?`, DOTS_SLASH: `${o}{1,2}(?:[${s}]|$)`, NO_DOT: `(?!${o})`, NO_DOTS: `(?!(?:^|[${s}])${o}{1,2}(?:[${s}]|$))`, NO_DOT_SLASH: `(?!${o}{0,1}(?:[${s}]|$))`, NO_DOTS_SLASH: `(?!${o}{1,2}(?:[${s}]|$))`, QMARK_NO_DOT: `[^.${s}]`, START_ANCHOR: `(?:^|[${s}])`, END_ANCHOR: `(?:[${s}]|$)` };
|
26172
26120
|
const b = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" };
|
26173
26121
|
t2.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: b, REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, CHAR_0: 48, CHAR_9: 57, CHAR_UPPERCASE_A: 65, CHAR_LOWERCASE_A: 97, CHAR_UPPERCASE_Z: 90, CHAR_LOWERCASE_Z: 122, CHAR_LEFT_PARENTHESES: 40, CHAR_RIGHT_PARENTHESES: 41, CHAR_ASTERISK: 42, CHAR_AMPERSAND: 38, CHAR_AT: 64, CHAR_BACKWARD_SLASH: 92, CHAR_CARRIAGE_RETURN: 13, CHAR_CIRCUMFLEX_ACCENT: 94, CHAR_COLON: 58, CHAR_COMMA: 44, CHAR_DOT: 46, CHAR_DOUBLE_QUOTE: 34, CHAR_EQUAL: 61, CHAR_EXCLAMATION_MARK: 33, CHAR_FORM_FEED: 12, CHAR_FORWARD_SLASH: 47, CHAR_GRAVE_ACCENT: 96, CHAR_HASH: 35, CHAR_HYPHEN_MINUS: 45, CHAR_LEFT_ANGLE_BRACKET: 60, CHAR_LEFT_CURLY_BRACE: 123, CHAR_LEFT_SQUARE_BRACKET: 91, CHAR_LINE_FEED: 10, CHAR_NO_BREAK_SPACE: 160, CHAR_PERCENT: 37, CHAR_PLUS: 43, CHAR_QUESTION_MARK: 63, CHAR_RIGHT_ANGLE_BRACKET: 62, CHAR_RIGHT_CURLY_BRACE: 125, CHAR_RIGHT_SQUARE_BRACKET: 93, CHAR_SEMICOLON: 59, CHAR_SINGLE_QUOTE: 39, CHAR_SPACE: 32, CHAR_TAB: 9, CHAR_UNDERSCORE: 95, CHAR_VERTICAL_LINE: 124, CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, SEP: n.sep, extglobChars(t3) {
|
26174
26122
|
return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${t3.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } };
|
@@ -26199,7 +26147,7 @@ var require_fast_glob = __commonJS({
|
|
26199
26147
|
throw new TypeError("Expected a string");
|
26200
26148
|
}
|
26201
26149
|
t3 = c[t3] || t3;
|
26202
|
-
const r3 =
|
26150
|
+
const r3 = { ...e3 };
|
26203
26151
|
const l = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
26204
26152
|
let f = t3.length;
|
26205
26153
|
if (f > l) {
|
@@ -26291,7 +26239,7 @@ var require_fast_glob = __commonJS({
|
|
26291
26239
|
M = t4;
|
26292
26240
|
};
|
26293
26241
|
const extglobOpen = (t4, e4) => {
|
26294
|
-
const n2 =
|
26242
|
+
const n2 = { ...y[e4], conditions: 1, inner: "" };
|
26295
26243
|
n2.prev = M;
|
26296
26244
|
n2.parens = H.parens;
|
26297
26245
|
n2.output = H.output;
|
@@ -26313,7 +26261,7 @@ var require_fast_glob = __commonJS({
|
|
26313
26261
|
n2 = t4.close = `)$))${i2}`;
|
26314
26262
|
}
|
26315
26263
|
if (t4.inner.includes("*") && (s2 = remaining()) && /^\.[^\\/.]+$/.test(s2)) {
|
26316
|
-
const r4 = parse3(s2,
|
26264
|
+
const r4 = parse3(s2, { ...e3, fastpaths: false }).output;
|
26317
26265
|
n2 = t4.close = `)${r4})${i2})`;
|
26318
26266
|
}
|
26319
26267
|
if (t4.prev.type === "bos") {
|
@@ -26835,7 +26783,7 @@ var require_fast_glob = __commonJS({
|
|
26835
26783
|
return H;
|
26836
26784
|
};
|
26837
26785
|
parse3.fastpaths = (t3, e3) => {
|
26838
|
-
const r3 =
|
26786
|
+
const r3 = { ...e3 };
|
26839
26787
|
const o2 = typeof r3.maxLength === "number" ? Math.min(i, r3.maxLength) : i;
|
26840
26788
|
const a2 = t3.length;
|
26841
26789
|
if (a2 > o2) {
|
@@ -26926,7 +26874,7 @@ var require_fast_glob = __commonJS({
|
|
26926
26874
|
delete a2.state;
|
26927
26875
|
let isIgnored = () => false;
|
26928
26876
|
if (s2.ignore) {
|
26929
|
-
const t4 =
|
26877
|
+
const t4 = { ...e3, ignore: null, onMatch: null, onResult: null };
|
26930
26878
|
isIgnored = picomatch(s2.ignore, t4, r3);
|
26931
26879
|
}
|
26932
26880
|
const matcher = (r4, n3 = false) => {
|
@@ -26988,7 +26936,7 @@ var require_fast_glob = __commonJS({
|
|
26988
26936
|
picomatch.parse = (t3, e3) => {
|
26989
26937
|
if (Array.isArray(t3))
|
26990
26938
|
return t3.map((t4) => picomatch.parse(t4, e3));
|
26991
|
-
return i(t3,
|
26939
|
+
return i(t3, { ...e3, fastpaths: false });
|
26992
26940
|
};
|
26993
26941
|
picomatch.scan = (t3, e3) => s(t3, e3);
|
26994
26942
|
picomatch.compileRe = (t3, e3, r3 = false, n2 = false) => {
|
@@ -27453,7 +27401,7 @@ var require_fast_glob = __commonJS({
|
|
27453
27401
|
if (n(e3) === false) {
|
27454
27402
|
throw new TypeError("toRegexRange: expected the second argument to be a number.");
|
27455
27403
|
}
|
27456
|
-
let s =
|
27404
|
+
let s = { relaxZeros: true, ...r3 };
|
27457
27405
|
if (typeof s.strictZeros === "boolean") {
|
27458
27406
|
s.relaxZeros = s.strictZeros === false;
|
27459
27407
|
}
|
@@ -27731,19 +27679,19 @@ var require_globby = __commonJS({
|
|
27731
27679
|
}
|
27732
27680
|
return [n.posix.join(t3, "**")];
|
27733
27681
|
};
|
27734
|
-
t2.exports = (t3, e3) =>
|
27735
|
-
e3 =
|
27682
|
+
t2.exports = async (t3, e3) => {
|
27683
|
+
e3 = { cwd: process.cwd(), ...e3 };
|
27736
27684
|
if (typeof e3.cwd !== "string") {
|
27737
27685
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
27738
27686
|
}
|
27739
|
-
const r3 =
|
27740
|
-
const r4 =
|
27687
|
+
const r3 = await Promise.all([].concat(t3).map(async (t4) => {
|
27688
|
+
const r4 = await s.isDirectory(getPath(t4, e3.cwd));
|
27741
27689
|
return r4 ? getGlob(t4, e3) : t4;
|
27742
|
-
}))
|
27690
|
+
}));
|
27743
27691
|
return [].concat.apply([], r3);
|
27744
|
-
}
|
27692
|
+
};
|
27745
27693
|
t2.exports.sync = (t3, e3) => {
|
27746
|
-
e3 =
|
27694
|
+
e3 = { cwd: process.cwd(), ...e3 };
|
27747
27695
|
if (typeof e3.cwd !== "string") {
|
27748
27696
|
throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e3.cwd}\``);
|
27749
27697
|
}
|
@@ -27788,24 +27736,24 @@ var require_globby = __commonJS({
|
|
27788
27736
|
return o.join(t3, e3);
|
27789
27737
|
};
|
27790
27738
|
const getIsIgnoredPredecate = (t3, e3) => (r3) => t3.ignores(a(o.relative(e3, ensureAbsolutePathForCwd(e3, r3.path || r3))));
|
27791
|
-
const getFile = (t3, e3) =>
|
27739
|
+
const getFile = async (t3, e3) => {
|
27792
27740
|
const r3 = o.join(e3, t3);
|
27793
|
-
const n2 =
|
27741
|
+
const n2 = await u(r3, "utf8");
|
27794
27742
|
return { cwd: e3, filePath: r3, content: n2 };
|
27795
|
-
}
|
27743
|
+
};
|
27796
27744
|
const getFileSync = (t3, e3) => {
|
27797
27745
|
const r3 = o.join(e3, t3);
|
27798
27746
|
const n2 = s.readFileSync(r3, "utf8");
|
27799
27747
|
return { cwd: e3, filePath: r3, content: n2 };
|
27800
27748
|
};
|
27801
27749
|
const normalizeOptions = ({ ignore: t3 = [], cwd: e3 = a(process.cwd()) } = {}) => ({ ignore: t3, cwd: e3 });
|
27802
|
-
t2.exports = (t3) =>
|
27750
|
+
t2.exports = async (t3) => {
|
27803
27751
|
t3 = normalizeOptions(t3);
|
27804
|
-
const e3 =
|
27805
|
-
const r3 =
|
27752
|
+
const e3 = await i("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
27753
|
+
const r3 = await Promise.all(e3.map((e4) => getFile(e4, t3.cwd)));
|
27806
27754
|
const n2 = reduceIgnore(r3);
|
27807
27755
|
return getIsIgnoredPredecate(n2, t3.cwd);
|
27808
|
-
}
|
27756
|
+
};
|
27809
27757
|
t2.exports.sync = (t3) => {
|
27810
27758
|
t3 = normalizeOptions(t3);
|
27811
27759
|
const e3 = i.sync("**/.gitignore", { ignore: p.concat(t3.ignore), cwd: t3.cwd });
|
@@ -27836,7 +27784,7 @@ var require_globby = __commonJS({
|
|
27836
27784
|
let e3;
|
27837
27785
|
try {
|
27838
27786
|
e3 = n.statSync(t3.cwd);
|
27839
|
-
} catch
|
27787
|
+
} catch {
|
27840
27788
|
return;
|
27841
27789
|
}
|
27842
27790
|
if (!e3.isDirectory()) {
|
@@ -27849,13 +27797,13 @@ var require_globby = __commonJS({
|
|
27849
27797
|
assertPatternsInput(t3);
|
27850
27798
|
checkCwdOption(e3);
|
27851
27799
|
const r3 = [];
|
27852
|
-
e3 =
|
27800
|
+
e3 = { ignore: [], expandDirectories: true, ...e3 };
|
27853
27801
|
for (const [n2, s2] of t3.entries()) {
|
27854
27802
|
if (isNegative(s2)) {
|
27855
27803
|
continue;
|
27856
27804
|
}
|
27857
27805
|
const o2 = t3.slice(n2).filter((t4) => isNegative(t4)).map((t4) => t4.slice(1));
|
27858
|
-
const i2 =
|
27806
|
+
const i2 = { ...e3, ignore: e3.ignore.concat(o2) };
|
27859
27807
|
r3.push({ pattern: s2, options: i2 });
|
27860
27808
|
}
|
27861
27809
|
return r3;
|
@@ -27866,9 +27814,9 @@ var require_globby = __commonJS({
|
|
27866
27814
|
r3.cwd = t3.options.cwd;
|
27867
27815
|
}
|
27868
27816
|
if (Array.isArray(t3.options.expandDirectories)) {
|
27869
|
-
r3 =
|
27817
|
+
r3 = { ...r3, files: t3.options.expandDirectories };
|
27870
27818
|
} else if (typeof t3.options.expandDirectories === "object") {
|
27871
|
-
r3 =
|
27819
|
+
r3 = { ...r3, ...t3.options.expandDirectories };
|
27872
27820
|
}
|
27873
27821
|
return e3(t3.pattern, r3);
|
27874
27822
|
};
|
@@ -27881,22 +27829,20 @@ var require_globby = __commonJS({
|
|
27881
27829
|
}
|
27882
27830
|
return { pattern: e3, options: r3 };
|
27883
27831
|
};
|
27884
|
-
t2.exports = (t3, e3) =>
|
27832
|
+
t2.exports = async (t3, e3) => {
|
27885
27833
|
const r3 = generateGlobTasks(t3, e3);
|
27886
|
-
const getFilter = () =>
|
27887
|
-
|
27888
|
-
|
27889
|
-
|
27890
|
-
const t4 = yield Promise.all(r3.map((t5) => __async(exports, null, function* () {
|
27891
|
-
const e4 = yield getPattern(t5, c);
|
27834
|
+
const getFilter = async () => e3 && e3.gitignore ? a({ cwd: e3.cwd, ignore: e3.ignore }) : DEFAULT_FILTER;
|
27835
|
+
const getTasks = async () => {
|
27836
|
+
const t4 = await Promise.all(r3.map(async (t5) => {
|
27837
|
+
const e4 = await getPattern(t5, c);
|
27892
27838
|
return Promise.all(e4.map(globToTask(t5)));
|
27893
|
-
}))
|
27839
|
+
}));
|
27894
27840
|
return s(...t4);
|
27895
|
-
}
|
27896
|
-
const [n2, o2] =
|
27897
|
-
const p2 =
|
27841
|
+
};
|
27842
|
+
const [n2, o2] = await Promise.all([getFilter(), getTasks()]);
|
27843
|
+
const p2 = await Promise.all(o2.map((t4) => i(t4.pattern, t4.options)));
|
27898
27844
|
return s(...p2).filter((t4) => !n2(getPathString(t4)));
|
27899
|
-
}
|
27845
|
+
};
|
27900
27846
|
t2.exports.sync = (t3, e3) => {
|
27901
27847
|
const r3 = generateGlobTasks(t3, e3);
|
27902
27848
|
const n2 = [];
|
@@ -28250,21 +28196,19 @@ var require_globby = __commonJS({
|
|
28250
28196
|
"use strict";
|
28251
28197
|
const { promisify: n } = r2(837);
|
28252
28198
|
const s = r2(147);
|
28253
|
-
function isType4(t3, e3, r3) {
|
28254
|
-
|
28255
|
-
|
28256
|
-
|
28257
|
-
|
28258
|
-
|
28259
|
-
|
28260
|
-
|
28261
|
-
|
28262
|
-
|
28263
|
-
return false;
|
28264
|
-
}
|
28265
|
-
throw t4;
|
28199
|
+
async function isType4(t3, e3, r3) {
|
28200
|
+
if (typeof r3 !== "string") {
|
28201
|
+
throw new TypeError(`Expected a string, got ${typeof r3}`);
|
28202
|
+
}
|
28203
|
+
try {
|
28204
|
+
const o = await n(s[t3])(r3);
|
28205
|
+
return o[e3]();
|
28206
|
+
} catch (t4) {
|
28207
|
+
if (t4.code === "ENOENT") {
|
28208
|
+
return false;
|
28266
28209
|
}
|
28267
|
-
|
28210
|
+
throw t4;
|
28211
|
+
}
|
28268
28212
|
}
|
28269
28213
|
function isTypeSync(t3, e3, r3) {
|
28270
28214
|
if (typeof r3 !== "string") {
|
@@ -30639,15 +30583,15 @@ var require_gzip_size = __commonJS({
|
|
30639
30583
|
const i = t2(796);
|
30640
30584
|
const { promisify: a } = t2(837);
|
30641
30585
|
const s = t2(325);
|
30642
|
-
const getOptions = (e3) =>
|
30586
|
+
const getOptions = (e3) => ({ level: 9, ...e3 });
|
30643
30587
|
const p = a(i.gzip);
|
30644
|
-
e2.exports = (e3, r3) =>
|
30588
|
+
e2.exports = async (e3, r3) => {
|
30645
30589
|
if (!e3) {
|
30646
30590
|
return 0;
|
30647
30591
|
}
|
30648
|
-
const t3 =
|
30592
|
+
const t3 = await p(e3, getOptions(r3));
|
30649
30593
|
return t3.length;
|
30650
|
-
}
|
30594
|
+
};
|
30651
30595
|
e2.exports.sync = (e3, r3) => i.gzipSync(e3, getOptions(r3)).length;
|
30652
30596
|
e2.exports.stream = (e3) => {
|
30653
30597
|
const r3 = new o.PassThrough();
|
@@ -33609,12 +33553,10 @@ Expecting one of '${i3.join("', '")}'`);
|
|
33609
33553
|
this._parseCommand([], i3);
|
33610
33554
|
return this;
|
33611
33555
|
}
|
33612
|
-
parseAsync(t3, e3) {
|
33613
|
-
|
33614
|
-
|
33615
|
-
|
33616
|
-
return this;
|
33617
|
-
});
|
33556
|
+
async parseAsync(t3, e3) {
|
33557
|
+
const i3 = this._prepareUserArgs(t3, e3);
|
33558
|
+
await this._parseCommand([], i3);
|
33559
|
+
return this;
|
33618
33560
|
}
|
33619
33561
|
_executeSubCommand(t3, e3) {
|
33620
33562
|
e3 = e3.slice();
|
@@ -42285,9 +42227,10 @@ var require_parse = __commonJS({
|
|
42285
42227
|
var parse_comments = (prefix) => {
|
42286
42228
|
const comments = [];
|
42287
42229
|
while (current && (is("LineComment") || is("BlockComment"))) {
|
42288
|
-
const comment =
|
42230
|
+
const comment = {
|
42231
|
+
...current,
|
42289
42232
|
inline
|
42290
|
-
}
|
42233
|
+
};
|
42291
42234
|
comments.push(comment);
|
42292
42235
|
next();
|
42293
42236
|
}
|
@@ -49754,12 +49697,12 @@ var require_baseUI = __commonJS({
|
|
49754
49697
|
const ms = new MuteStream();
|
49755
49698
|
ms.pipe(opt.output || process.stdout);
|
49756
49699
|
const output2 = ms;
|
49757
|
-
return
|
49758
|
-
terminal: true
|
49759
|
-
|
49700
|
+
return {
|
49701
|
+
terminal: true,
|
49702
|
+
...opt,
|
49760
49703
|
input,
|
49761
49704
|
output: output2
|
49762
|
-
}
|
49705
|
+
};
|
49763
49706
|
}
|
49764
49707
|
module2.exports = UI;
|
49765
49708
|
}
|
@@ -61217,14 +61160,14 @@ var require_prompt = __commonJS({
|
|
61217
61160
|
}
|
61218
61161
|
run(questions, answers) {
|
61219
61162
|
if (_.isPlainObject(answers)) {
|
61220
|
-
this.answers =
|
61163
|
+
this.answers = { ...answers };
|
61221
61164
|
} else {
|
61222
61165
|
this.answers = {};
|
61223
61166
|
}
|
61224
61167
|
if (_.isPlainObject(questions)) {
|
61225
61168
|
questions = Object.values(questions).every(
|
61226
61169
|
(v) => _.isPlainObject(v) && v.name === void 0
|
61227
|
-
) ? Object.entries(questions).map(([name, question]) =>
|
61170
|
+
) ? Object.entries(questions).map(([name, question]) => ({ name, ...question })) : [questions];
|
61228
61171
|
}
|
61229
61172
|
const obs = Array.isArray(questions) ? from(questions) : questions;
|
61230
61173
|
this.process = obs.pipe(
|
@@ -61252,7 +61195,7 @@ var require_prompt = __commonJS({
|
|
61252
61195
|
return Promise.reject(error);
|
61253
61196
|
}
|
61254
61197
|
processQuestion(question) {
|
61255
|
-
question =
|
61198
|
+
question = { ...question };
|
61256
61199
|
return defer(() => {
|
61257
61200
|
const obs = of(question);
|
61258
61201
|
return obs.pipe(
|
@@ -64210,7 +64153,7 @@ var require_conversions = __commonJS({
|
|
64210
64153
|
return [c * 100, m * 100, y * 100, k * 100];
|
64211
64154
|
};
|
64212
64155
|
function comparativeDistance(x, y) {
|
64213
|
-
return
|
64156
|
+
return (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;
|
64214
64157
|
}
|
64215
64158
|
convert.rgb.keyword = function(rgb) {
|
64216
64159
|
const reversed = reverseKeywords[rgb];
|
@@ -64236,9 +64179,9 @@ var require_conversions = __commonJS({
|
|
64236
64179
|
let r = rgb[0] / 255;
|
64237
64180
|
let g = rgb[1] / 255;
|
64238
64181
|
let b = rgb[2] / 255;
|
64239
|
-
r = r > 0.04045 ?
|
64240
|
-
g = g > 0.04045 ?
|
64241
|
-
b = b > 0.04045 ?
|
64182
|
+
r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92;
|
64183
|
+
g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92;
|
64184
|
+
b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92;
|
64242
64185
|
const x = r * 0.4124 + g * 0.3576 + b * 0.1805;
|
64243
64186
|
const y = r * 0.2126 + g * 0.7152 + b * 0.0722;
|
64244
64187
|
const z = r * 0.0193 + g * 0.1192 + b * 0.9505;
|
@@ -64252,9 +64195,9 @@ var require_conversions = __commonJS({
|
|
64252
64195
|
x /= 95.047;
|
64253
64196
|
y /= 100;
|
64254
64197
|
z /= 108.883;
|
64255
|
-
x = x > 8856e-6 ?
|
64256
|
-
y = y > 8856e-6 ?
|
64257
|
-
z = z > 8856e-6 ?
|
64198
|
+
x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
64199
|
+
y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
|
64200
|
+
z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
64258
64201
|
const l = 116 * y - 16;
|
64259
64202
|
const a = 500 * (x - y);
|
64260
64203
|
const b = 200 * (y - z);
|
@@ -64428,9 +64371,9 @@ var require_conversions = __commonJS({
|
|
64428
64371
|
r = x * 3.2406 + y * -1.5372 + z * -0.4986;
|
64429
64372
|
g = x * -0.9689 + y * 1.8758 + z * 0.0415;
|
64430
64373
|
b = x * 0.0557 + y * -0.204 + z * 1.057;
|
64431
|
-
r = r > 31308e-7 ? 1.055 *
|
64432
|
-
g = g > 31308e-7 ? 1.055 *
|
64433
|
-
b = b > 31308e-7 ? 1.055 *
|
64374
|
+
r = r > 31308e-7 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92;
|
64375
|
+
g = g > 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92;
|
64376
|
+
b = b > 31308e-7 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92;
|
64434
64377
|
r = Math.min(Math.max(0, r), 1);
|
64435
64378
|
g = Math.min(Math.max(0, g), 1);
|
64436
64379
|
b = Math.min(Math.max(0, b), 1);
|
@@ -64443,9 +64386,9 @@ var require_conversions = __commonJS({
|
|
64443
64386
|
x /= 95.047;
|
64444
64387
|
y /= 100;
|
64445
64388
|
z /= 108.883;
|
64446
|
-
x = x > 8856e-6 ?
|
64447
|
-
y = y > 8856e-6 ?
|
64448
|
-
z = z > 8856e-6 ?
|
64389
|
+
x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
64390
|
+
y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116;
|
64391
|
+
z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
64449
64392
|
const l = 116 * y - 16;
|
64450
64393
|
const a = 500 * (x - y);
|
64451
64394
|
const b = 200 * (y - z);
|
@@ -64461,9 +64404,9 @@ var require_conversions = __commonJS({
|
|
64461
64404
|
y = (l + 16) / 116;
|
64462
64405
|
x = a / 500 + y;
|
64463
64406
|
z = y - b / 200;
|
64464
|
-
const y2 =
|
64465
|
-
const x2 =
|
64466
|
-
const z2 =
|
64407
|
+
const y2 = y ** 3;
|
64408
|
+
const x2 = x ** 3;
|
64409
|
+
const z2 = z ** 3;
|
64467
64410
|
y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787;
|
64468
64411
|
x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787;
|
64469
64412
|
z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787;
|
@@ -70367,12 +70310,13 @@ var require_ora2 = __commonJS({
|
|
70367
70310
|
text: options
|
70368
70311
|
};
|
70369
70312
|
}
|
70370
|
-
this.options =
|
70313
|
+
this.options = {
|
70371
70314
|
text: "",
|
70372
70315
|
color: "cyan",
|
70373
70316
|
stream: process.stderr,
|
70374
|
-
discardStdin: true
|
70375
|
-
|
70317
|
+
discardStdin: true,
|
70318
|
+
...options
|
70319
|
+
};
|
70376
70320
|
this.spinner = this.options.spinner;
|
70377
70321
|
this.color = this.options.color;
|
70378
70322
|
this.hideCursor = this.options.hideCursor !== false;
|
@@ -70589,14 +70533,14 @@ var require_ora2 = __commonJS({
|
|
70589
70533
|
}
|
70590
70534
|
const spinner = new Ora(options);
|
70591
70535
|
spinner.start();
|
70592
|
-
(() =>
|
70536
|
+
(async () => {
|
70593
70537
|
try {
|
70594
|
-
|
70538
|
+
await action2;
|
70595
70539
|
spinner.succeed();
|
70596
|
-
} catch
|
70540
|
+
} catch {
|
70597
70541
|
spinner.fail();
|
70598
70542
|
}
|
70599
|
-
})
|
70543
|
+
})();
|
70600
70544
|
return spinner;
|
70601
70545
|
};
|
70602
70546
|
}
|
@@ -82176,7 +82120,7 @@ var require_prompt2 = __commonJS({
|
|
82176
82120
|
if (_.isPlainObject(questions)) {
|
82177
82121
|
questions = Object.values(questions).every(
|
82178
82122
|
(v) => _.isPlainObject(v) && v.name === void 0
|
82179
|
-
) ? Object.entries(questions).map(([name, question]) =>
|
82123
|
+
) ? Object.entries(questions).map(([name, question]) => ({ name, ...question })) : [questions];
|
82180
82124
|
}
|
82181
82125
|
const obs = _.isArray(questions) ? from(questions) : questions;
|
82182
82126
|
this.process = obs.pipe(
|
@@ -99501,7 +99445,7 @@ var getGeneratorPath = (generator, distTag) => {
|
|
99501
99445
|
}
|
99502
99446
|
return generator;
|
99503
99447
|
};
|
99504
|
-
var handleTemplateFile = (context, generator, appApi) =>
|
99448
|
+
var handleTemplateFile = async (context, generator, appApi) => {
|
99505
99449
|
const { dependencies, peerDependencies, devDependencies } = context.config;
|
99506
99450
|
const tailwindVersion = "~3.2.4";
|
99507
99451
|
if (dependencies == null ? void 0 : dependencies.tailwindcss) {
|
@@ -99513,30 +99457,31 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
|
|
99513
99457
|
if (devDependencies == null ? void 0 : devDependencies.tailwindcss) {
|
99514
99458
|
devDependencies.tailwindcss = tailwindVersion;
|
99515
99459
|
}
|
99516
|
-
|
99460
|
+
await appApi.runSubGenerator(
|
99517
99461
|
getGeneratorPath(DependenceGenerator, context.config.distTag),
|
99518
99462
|
void 0,
|
99519
|
-
|
99463
|
+
{
|
99464
|
+
...context.config,
|
99520
99465
|
dependencies,
|
99521
99466
|
devDependencies,
|
99522
99467
|
peerDependencies
|
99523
|
-
}
|
99468
|
+
}
|
99524
99469
|
);
|
99525
|
-
}
|
99526
|
-
var src_default = (context, generator) =>
|
99470
|
+
};
|
99471
|
+
var src_default = async (context, generator) => {
|
99527
99472
|
const appApi = new AppAPI(context, generator);
|
99528
99473
|
const { locale } = context.config;
|
99529
99474
|
i18n2.changeLanguage({ locale });
|
99530
99475
|
appApi.i18n.changeLanguage({ locale });
|
99531
|
-
if (!
|
99476
|
+
if (!await appApi.checkEnvironment()) {
|
99532
99477
|
process.exit(1);
|
99533
99478
|
}
|
99534
99479
|
generator.logger.debug(`start run @modern-js/tailwindcss-generator`);
|
99535
99480
|
generator.logger.debug(`context=${JSON.stringify(context)}`);
|
99536
99481
|
generator.logger.debug(`context.data=${JSON.stringify(context.data)}`);
|
99537
|
-
|
99482
|
+
await handleTemplateFile(context, generator, appApi);
|
99538
99483
|
generator.logger.debug(`forge @modern-js/tailwindcss-generator succeed `);
|
99539
|
-
}
|
99484
|
+
};
|
99540
99485
|
// Annotate the CommonJS export names for ESM import in node:
|
99541
99486
|
0 && (module.exports = {
|
99542
99487
|
handleTemplateFile
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.1.
|
18
|
+
"version": "3.1.36",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -29,11 +29,11 @@
|
|
29
29
|
"@types/node": "^14",
|
30
30
|
"jest": "^29",
|
31
31
|
"typescript": "^5",
|
32
|
-
"@
|
33
|
-
"@scripts/jest-config": "2.
|
34
|
-
"@
|
35
|
-
"@modern-js/
|
36
|
-
"@modern-js/generator-common": "3.1.
|
32
|
+
"@scripts/build": "2.32.0",
|
33
|
+
"@scripts/jest-config": "2.32.0",
|
34
|
+
"@modern-js/dependence-generator": "3.1.36",
|
35
|
+
"@modern-js/generator-utils": "3.1.36",
|
36
|
+
"@modern-js/generator-common": "3.1.36"
|
37
37
|
},
|
38
38
|
"sideEffects": false,
|
39
39
|
"publishConfig": {
|