@modern-js/tailwindcss-generator 3.7.20 → 3.7.22
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/dist/index.js +9 -118
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -1746,9 +1746,9 @@ var require_ms = __commonJS({
|
|
1746
1746
|
}
|
1747
1747
|
});
|
1748
1748
|
|
1749
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
1749
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js
|
1750
1750
|
var require_common = __commonJS({
|
1751
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
1751
|
+
"../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js"(exports, module2) {
|
1752
1752
|
"use strict";
|
1753
1753
|
function setup(env) {
|
1754
1754
|
createDebug.debug = createDebug;
|
@@ -1910,9 +1910,9 @@ var require_common = __commonJS({
|
|
1910
1910
|
}
|
1911
1911
|
});
|
1912
1912
|
|
1913
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
1913
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js
|
1914
1914
|
var require_browser = __commonJS({
|
1915
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
1915
|
+
"../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js"(exports, module2) {
|
1916
1916
|
"use strict";
|
1917
1917
|
exports.formatArgs = formatArgs;
|
1918
1918
|
exports.save = save;
|
@@ -2081,118 +2081,9 @@ var require_browser = __commonJS({
|
|
2081
2081
|
}
|
2082
2082
|
});
|
2083
2083
|
|
2084
|
-
// ../../../../node_modules/.pnpm/
|
2085
|
-
var require_has_flag2 = __commonJS({
|
2086
|
-
"../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
2087
|
-
"use strict";
|
2088
|
-
module2.exports = (flag, argv) => {
|
2089
|
-
argv = argv || process.argv;
|
2090
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
2091
|
-
const pos2 = argv.indexOf(prefix + flag);
|
2092
|
-
const terminatorPos = argv.indexOf("--");
|
2093
|
-
return pos2 !== -1 && (terminatorPos === -1 ? true : pos2 < terminatorPos);
|
2094
|
-
};
|
2095
|
-
}
|
2096
|
-
});
|
2097
|
-
|
2098
|
-
// ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
2099
|
-
var require_supports_color2 = __commonJS({
|
2100
|
-
"../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
2101
|
-
"use strict";
|
2102
|
-
var os = require("os");
|
2103
|
-
var hasFlag = require_has_flag2();
|
2104
|
-
var env = process.env;
|
2105
|
-
var forceColor;
|
2106
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
2107
|
-
forceColor = false;
|
2108
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
2109
|
-
forceColor = true;
|
2110
|
-
}
|
2111
|
-
if ("FORCE_COLOR" in env) {
|
2112
|
-
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
2113
|
-
}
|
2114
|
-
function translateLevel(level) {
|
2115
|
-
if (level === 0) {
|
2116
|
-
return false;
|
2117
|
-
}
|
2118
|
-
return {
|
2119
|
-
level,
|
2120
|
-
hasBasic: true,
|
2121
|
-
has256: level >= 2,
|
2122
|
-
has16m: level >= 3
|
2123
|
-
};
|
2124
|
-
}
|
2125
|
-
function supportsColor(stream) {
|
2126
|
-
if (forceColor === false) {
|
2127
|
-
return 0;
|
2128
|
-
}
|
2129
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
2130
|
-
return 3;
|
2131
|
-
}
|
2132
|
-
if (hasFlag("color=256")) {
|
2133
|
-
return 2;
|
2134
|
-
}
|
2135
|
-
if (stream && !stream.isTTY && forceColor !== true) {
|
2136
|
-
return 0;
|
2137
|
-
}
|
2138
|
-
const min = forceColor ? 1 : 0;
|
2139
|
-
if (process.platform === "win32") {
|
2140
|
-
const osRelease = os.release().split(".");
|
2141
|
-
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
2142
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
2143
|
-
}
|
2144
|
-
return 1;
|
2145
|
-
}
|
2146
|
-
if ("CI" in env) {
|
2147
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in env) || env.CI_NAME === "codeship") {
|
2148
|
-
return 1;
|
2149
|
-
}
|
2150
|
-
return min;
|
2151
|
-
}
|
2152
|
-
if ("TEAMCITY_VERSION" in env) {
|
2153
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
2154
|
-
}
|
2155
|
-
if (env.COLORTERM === "truecolor") {
|
2156
|
-
return 3;
|
2157
|
-
}
|
2158
|
-
if ("TERM_PROGRAM" in env) {
|
2159
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
2160
|
-
switch (env.TERM_PROGRAM) {
|
2161
|
-
case "iTerm.app":
|
2162
|
-
return version >= 3 ? 3 : 2;
|
2163
|
-
case "Apple_Terminal":
|
2164
|
-
return 2;
|
2165
|
-
}
|
2166
|
-
}
|
2167
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
2168
|
-
return 2;
|
2169
|
-
}
|
2170
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
2171
|
-
return 1;
|
2172
|
-
}
|
2173
|
-
if ("COLORTERM" in env) {
|
2174
|
-
return 1;
|
2175
|
-
}
|
2176
|
-
if (env.TERM === "dumb") {
|
2177
|
-
return min;
|
2178
|
-
}
|
2179
|
-
return min;
|
2180
|
-
}
|
2181
|
-
function getSupportLevel(stream) {
|
2182
|
-
const level = supportsColor(stream);
|
2183
|
-
return translateLevel(level);
|
2184
|
-
}
|
2185
|
-
module2.exports = {
|
2186
|
-
supportsColor: getSupportLevel,
|
2187
|
-
stdout: getSupportLevel(process.stdout),
|
2188
|
-
stderr: getSupportLevel(process.stderr)
|
2189
|
-
};
|
2190
|
-
}
|
2191
|
-
});
|
2192
|
-
|
2193
|
-
// ../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js
|
2084
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js
|
2194
2085
|
var require_node = __commonJS({
|
2195
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
2086
|
+
"../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js"(exports, module2) {
|
2196
2087
|
"use strict";
|
2197
2088
|
var tty = require("tty");
|
2198
2089
|
var util2 = require("util");
|
@@ -2209,7 +2100,7 @@ var require_node = __commonJS({
|
|
2209
2100
|
);
|
2210
2101
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
2211
2102
|
try {
|
2212
|
-
const supportsColor =
|
2103
|
+
const supportsColor = require_supports_color();
|
2213
2104
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
2214
2105
|
exports.colors = [
|
2215
2106
|
20,
|
@@ -2365,9 +2256,9 @@ var require_node = __commonJS({
|
|
2365
2256
|
}
|
2366
2257
|
});
|
2367
2258
|
|
2368
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
2259
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js
|
2369
2260
|
var require_src = __commonJS({
|
2370
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
2261
|
+
"../../../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js"(exports, module2) {
|
2371
2262
|
"use strict";
|
2372
2263
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
2373
2264
|
module2.exports = require_browser();
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "3.7.
|
18
|
+
"version": "3.7.22",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"main": "./dist/index.js",
|
21
21
|
"files": [
|
@@ -31,11 +31,11 @@
|
|
31
31
|
"@types/node": "^14",
|
32
32
|
"jest": "^29",
|
33
33
|
"typescript": "^5",
|
34
|
-
"@modern-js/generator
|
35
|
-
"@
|
36
|
-
"@modern-js/
|
37
|
-
"@
|
38
|
-
"@scripts/jest-config": "2.65.
|
34
|
+
"@modern-js/dependence-generator": "3.7.22",
|
35
|
+
"@modern-js/generator-common": "3.7.22",
|
36
|
+
"@modern-js/generator-utils": "3.7.22",
|
37
|
+
"@scripts/build": "2.65.4",
|
38
|
+
"@scripts/jest-config": "2.65.4"
|
39
39
|
},
|
40
40
|
"sideEffects": false,
|
41
41
|
"publishConfig": {
|