@modern-js/tailwindcss-generator 3.1.38 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +71 -55
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -98911,7 +98911,7 @@ var require_js_yaml2 = __commonJS({
|
|
98911
98911
|
var require_debug2 = __commonJS({
|
98912
98912
|
"../../../toolkit/utils/dist/compiled/debug/index.js"(exports, module2) {
|
98913
98913
|
(() => {
|
98914
|
-
var e = {
|
98914
|
+
var e = { 434: (e2, t2, r2) => {
|
98915
98915
|
t2.formatArgs = formatArgs;
|
98916
98916
|
t2.save = save;
|
98917
98917
|
t2.load = load;
|
@@ -98985,7 +98985,7 @@ var require_debug2 = __commonJS({
|
|
98985
98985
|
} catch (e3) {
|
98986
98986
|
}
|
98987
98987
|
}
|
98988
|
-
e2.exports = r2(
|
98988
|
+
e2.exports = r2(290)(t2);
|
98989
98989
|
const { formatters: s } = e2.exports;
|
98990
98990
|
s.j = function(e3) {
|
98991
98991
|
try {
|
@@ -98994,7 +98994,7 @@ var require_debug2 = __commonJS({
|
|
98994
98994
|
return "[UnexpectedJSONParseError]: " + e4.message;
|
98995
98995
|
}
|
98996
98996
|
};
|
98997
|
-
},
|
98997
|
+
}, 290: (e2, t2, r2) => {
|
98998
98998
|
function setup(e3) {
|
98999
98999
|
createDebug.debug = createDebug;
|
99000
99000
|
createDebug.default = createDebug;
|
@@ -99144,13 +99144,13 @@ var require_debug2 = __commonJS({
|
|
99144
99144
|
return createDebug;
|
99145
99145
|
}
|
99146
99146
|
e2.exports = setup;
|
99147
|
-
},
|
99147
|
+
}, 372: (e2, t2, r2) => {
|
99148
99148
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
99149
|
-
e2.exports = r2(
|
99149
|
+
e2.exports = r2(434);
|
99150
99150
|
} else {
|
99151
|
-
e2.exports = r2(
|
99151
|
+
e2.exports = r2(970);
|
99152
99152
|
}
|
99153
|
-
},
|
99153
|
+
}, 970: (e2, t2, r2) => {
|
99154
99154
|
const s = r2(224);
|
99155
99155
|
const n = r2(837);
|
99156
99156
|
t2.init = init;
|
@@ -99163,7 +99163,7 @@ var require_debug2 = __commonJS({
|
|
99163
99163
|
}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
99164
99164
|
t2.colors = [6, 2, 3, 4, 5, 1];
|
99165
99165
|
try {
|
99166
|
-
const e3 = r2(
|
99166
|
+
const e3 = r2(332);
|
99167
99167
|
if (e3 && (e3.stderr || e3).level >= 2) {
|
99168
99168
|
t2.colors = [20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221];
|
99169
99169
|
}
|
@@ -99225,7 +99225,7 @@ var require_debug2 = __commonJS({
|
|
99225
99225
|
e3.inspectOpts[r3[s2]] = t2.inspectOpts[r3[s2]];
|
99226
99226
|
}
|
99227
99227
|
}
|
99228
|
-
e2.exports = r2(
|
99228
|
+
e2.exports = r2(290)(t2);
|
99229
99229
|
const { formatters: o } = e2.exports;
|
99230
99230
|
o.o = function(e3) {
|
99231
99231
|
this.inspectOpts.colors = this.useColors;
|
@@ -99235,13 +99235,14 @@ var require_debug2 = __commonJS({
|
|
99235
99235
|
this.inspectOpts.colors = this.useColors;
|
99236
99236
|
return n.inspect(e3, this.inspectOpts);
|
99237
99237
|
};
|
99238
|
-
},
|
99238
|
+
}, 419: (e2) => {
|
99239
99239
|
"use strict";
|
99240
|
-
e2.exports = (e3, t2
|
99240
|
+
e2.exports = (e3, t2) => {
|
99241
|
+
t2 = t2 || process.argv;
|
99241
99242
|
const r2 = e3.startsWith("-") ? "" : e3.length === 1 ? "-" : "--";
|
99242
99243
|
const s = t2.indexOf(r2 + e3);
|
99243
99244
|
const n = t2.indexOf("--");
|
99244
|
-
return s !== -1 && (n === -1
|
99245
|
+
return s !== -1 && (n === -1 ? true : s < n);
|
99245
99246
|
};
|
99246
99247
|
}, 367: (e2) => {
|
99247
99248
|
var t2 = 1e3;
|
@@ -99350,26 +99351,19 @@ var require_debug2 = __commonJS({
|
|
99350
99351
|
var n2 = t3 >= r3 * 1.5;
|
99351
99352
|
return Math.round(e3 / r3) + " " + s2 + (n2 ? "s" : "");
|
99352
99353
|
}
|
99353
|
-
},
|
99354
|
+
}, 332: (e2, t2, r2) => {
|
99354
99355
|
"use strict";
|
99355
99356
|
const s = r2(37);
|
99356
|
-
const n = r2(
|
99357
|
-
const o =
|
99358
|
-
|
99359
|
-
|
99360
|
-
|
99361
|
-
|
99362
|
-
|
99363
|
-
c = 1;
|
99357
|
+
const n = r2(419);
|
99358
|
+
const o = process.env;
|
99359
|
+
let a;
|
99360
|
+
if (n("no-color") || n("no-colors") || n("color=false")) {
|
99361
|
+
a = false;
|
99362
|
+
} else if (n("color") || n("colors") || n("color=true") || n("color=always")) {
|
99363
|
+
a = true;
|
99364
99364
|
}
|
99365
|
-
if ("FORCE_COLOR" in
|
99366
|
-
|
99367
|
-
c = 1;
|
99368
|
-
} else if (a.FORCE_COLOR === "false") {
|
99369
|
-
c = 0;
|
99370
|
-
} else {
|
99371
|
-
c = a.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(a.FORCE_COLOR, 10), 3);
|
99372
|
-
}
|
99365
|
+
if ("FORCE_COLOR" in o) {
|
99366
|
+
a = o.FORCE_COLOR.length === 0 || parseInt(o.FORCE_COLOR, 10) !== 0;
|
99373
99367
|
}
|
99374
99368
|
function translateLevel(e3) {
|
99375
99369
|
if (e3 === 0) {
|
@@ -99377,67 +99371,67 @@ var require_debug2 = __commonJS({
|
|
99377
99371
|
}
|
99378
99372
|
return { level: e3, hasBasic: true, has256: e3 >= 2, has16m: e3 >= 3 };
|
99379
99373
|
}
|
99380
|
-
function supportsColor(e3
|
99381
|
-
if (
|
99374
|
+
function supportsColor(e3) {
|
99375
|
+
if (a === false) {
|
99382
99376
|
return 0;
|
99383
99377
|
}
|
99384
|
-
if (
|
99378
|
+
if (n("color=16m") || n("color=full") || n("color=truecolor")) {
|
99385
99379
|
return 3;
|
99386
99380
|
}
|
99387
|
-
if (
|
99381
|
+
if (n("color=256")) {
|
99388
99382
|
return 2;
|
99389
99383
|
}
|
99390
|
-
if (e3 && !
|
99384
|
+
if (e3 && !e3.isTTY && a !== true) {
|
99391
99385
|
return 0;
|
99392
99386
|
}
|
99393
|
-
const
|
99394
|
-
if (a.TERM === "dumb") {
|
99395
|
-
return r3;
|
99396
|
-
}
|
99387
|
+
const t3 = a ? 1 : 0;
|
99397
99388
|
if (process.platform === "win32") {
|
99398
99389
|
const e4 = s.release().split(".");
|
99399
|
-
if (Number(e4[0]) >= 10 && Number(e4[2]) >= 10586) {
|
99390
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(e4[0]) >= 10 && Number(e4[2]) >= 10586) {
|
99400
99391
|
return Number(e4[2]) >= 14931 ? 3 : 2;
|
99401
99392
|
}
|
99402
99393
|
return 1;
|
99403
99394
|
}
|
99404
|
-
if ("CI" in
|
99405
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"
|
99395
|
+
if ("CI" in o) {
|
99396
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((e4) => e4 in o) || o.CI_NAME === "codeship") {
|
99406
99397
|
return 1;
|
99407
99398
|
}
|
99408
|
-
return
|
99399
|
+
return t3;
|
99409
99400
|
}
|
99410
|
-
if ("TEAMCITY_VERSION" in
|
99411
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
99401
|
+
if ("TEAMCITY_VERSION" in o) {
|
99402
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION) ? 1 : 0;
|
99412
99403
|
}
|
99413
|
-
if (
|
99404
|
+
if (o.COLORTERM === "truecolor") {
|
99414
99405
|
return 3;
|
99415
99406
|
}
|
99416
|
-
if ("TERM_PROGRAM" in
|
99417
|
-
const e4 = parseInt((
|
99418
|
-
switch (
|
99407
|
+
if ("TERM_PROGRAM" in o) {
|
99408
|
+
const e4 = parseInt((o.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
99409
|
+
switch (o.TERM_PROGRAM) {
|
99419
99410
|
case "iTerm.app":
|
99420
99411
|
return e4 >= 3 ? 3 : 2;
|
99421
99412
|
case "Apple_Terminal":
|
99422
99413
|
return 2;
|
99423
99414
|
}
|
99424
99415
|
}
|
99425
|
-
if (/-256(color)?$/i.test(
|
99416
|
+
if (/-256(color)?$/i.test(o.TERM)) {
|
99426
99417
|
return 2;
|
99427
99418
|
}
|
99428
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
99419
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)) {
|
99429
99420
|
return 1;
|
99430
99421
|
}
|
99431
|
-
if ("COLORTERM" in
|
99422
|
+
if ("COLORTERM" in o) {
|
99432
99423
|
return 1;
|
99433
99424
|
}
|
99434
|
-
|
99425
|
+
if (o.TERM === "dumb") {
|
99426
|
+
return t3;
|
99427
|
+
}
|
99428
|
+
return t3;
|
99435
99429
|
}
|
99436
99430
|
function getSupportLevel(e3) {
|
99437
|
-
const t3 = supportsColor(e3
|
99431
|
+
const t3 = supportsColor(e3);
|
99438
99432
|
return translateLevel(t3);
|
99439
99433
|
}
|
99440
|
-
e2.exports = { supportsColor: getSupportLevel, stdout:
|
99434
|
+
e2.exports = { supportsColor: getSupportLevel, stdout: getSupportLevel(process.stdout), stderr: getSupportLevel(process.stderr) };
|
99441
99435
|
}, 37: (e2) => {
|
99442
99436
|
"use strict";
|
99443
99437
|
e2.exports = require("os");
|
@@ -99467,7 +99461,7 @@ var require_debug2 = __commonJS({
|
|
99467
99461
|
}
|
99468
99462
|
if (typeof __nccwpck_require__ !== "undefined")
|
99469
99463
|
__nccwpck_require__.ab = __dirname + "/";
|
99470
|
-
var r = __nccwpck_require__(
|
99464
|
+
var r = __nccwpck_require__(372);
|
99471
99465
|
module2.exports = r;
|
99472
99466
|
})();
|
99473
99467
|
}
|
@@ -117305,6 +117299,27 @@ var require_watch2 = __commonJS({
|
|
117305
117299
|
}
|
117306
117300
|
});
|
117307
117301
|
|
117302
|
+
// ../../../toolkit/utils/dist/cjs/cli/config.js
|
117303
|
+
var require_config6 = __commonJS({
|
117304
|
+
"../../../toolkit/utils/dist/cjs/cli/config.js"(exports) {
|
117305
|
+
"use strict";
|
117306
|
+
Object.defineProperty(exports, "__esModule", {
|
117307
|
+
value: true
|
117308
|
+
});
|
117309
|
+
Object.defineProperty(exports, "isOverriddenConfigKey", {
|
117310
|
+
enumerable: true,
|
117311
|
+
get: function() {
|
117312
|
+
return isOverriddenConfigKey;
|
117313
|
+
}
|
117314
|
+
});
|
117315
|
+
var isOverriddenConfigKey = (key) => [
|
117316
|
+
"removeConsole",
|
117317
|
+
"enableInlineScripts",
|
117318
|
+
"enableInlineStyles"
|
117319
|
+
].includes(key);
|
117320
|
+
}
|
117321
|
+
});
|
117322
|
+
|
117308
117323
|
// ../../../toolkit/utils/dist/cjs/cli/index.js
|
117309
117324
|
var require_cli2 = __commonJS({
|
117310
117325
|
"../../../toolkit/utils/dist/cjs/cli/index.js"(exports) {
|
@@ -117332,6 +117347,7 @@ var require_cli2 = __commonJS({
|
|
117332
117347
|
_export_star._(require_require2(), exports);
|
117333
117348
|
_export_star._(require_runtimeExports2(), exports);
|
117334
117349
|
_export_star._(require_watch2(), exports);
|
117350
|
+
_export_star._(require_config6(), exports);
|
117335
117351
|
}
|
117336
117352
|
});
|
117337
117353
|
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.
|
18
|
+
"version": "3.2.0",
|
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
|
-
"@modern-js/generator
|
35
|
-
"@
|
36
|
-
"@modern-js/
|
32
|
+
"@scripts/build": "2.34.0",
|
33
|
+
"@scripts/jest-config": "2.34.0",
|
34
|
+
"@modern-js/dependence-generator": "3.2.0",
|
35
|
+
"@modern-js/generator-common": "3.2.0",
|
36
|
+
"@modern-js/generator-utils": "3.2.0"
|
37
37
|
},
|
38
38
|
"sideEffects": false,
|
39
39
|
"publishConfig": {
|