tailwindcss 0.0.0-insiders.4e21639 → 0.0.0-insiders.4e62334
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/CHANGELOG.md +435 -3
- package/LICENSE +1 -2
- package/README.md +13 -6
- package/colors.d.ts +3 -0
- package/colors.js +2 -1
- package/defaultConfig.d.ts +3 -0
- package/defaultConfig.js +2 -1
- package/defaultTheme.d.ts +4 -0
- package/defaultTheme.js +2 -1
- package/lib/cli-peer-dependencies.js +20 -7
- package/lib/cli.js +460 -259
- package/lib/constants.js +27 -20
- package/lib/corePluginList.js +9 -3
- package/lib/corePlugins.js +1840 -1753
- package/lib/css/preflight.css +8 -9
- package/lib/featureFlags.js +29 -20
- package/lib/index.js +22 -11
- package/lib/lib/cacheInvalidation.js +90 -0
- package/lib/lib/collapseAdjacentRules.js +27 -9
- package/lib/lib/collapseDuplicateDeclarations.js +58 -4
- package/lib/lib/defaultExtractor.js +231 -0
- package/lib/lib/detectNesting.js +13 -10
- package/lib/lib/evaluateTailwindFunctions.js +119 -52
- package/lib/lib/expandApplyAtRules.js +440 -161
- package/lib/lib/expandTailwindAtRules.js +130 -128
- package/lib/lib/generateRules.js +410 -171
- package/lib/lib/getModuleDependencies.js +11 -8
- package/lib/lib/normalizeTailwindDirectives.js +43 -32
- package/lib/lib/offsets.js +199 -0
- package/lib/lib/partitionApplyAtRules.js +56 -0
- package/lib/lib/regex.js +60 -0
- package/lib/lib/resolveDefaultsAtRules.js +91 -55
- package/lib/lib/setupContextUtils.js +453 -347
- package/lib/lib/setupTrackingContext.js +52 -44
- package/lib/lib/sharedState.js +48 -9
- package/lib/lib/substituteScreenAtRules.js +13 -8
- package/{nesting → lib/postcss-plugins/nesting}/README.md +2 -2
- package/lib/postcss-plugins/nesting/index.js +19 -0
- package/lib/postcss-plugins/nesting/plugin.js +87 -0
- package/lib/processTailwindFeatures.js +36 -25
- package/lib/public/colors.js +247 -245
- package/lib/public/create-plugin.js +6 -4
- package/lib/public/default-config.js +7 -5
- package/lib/public/default-theme.js +7 -5
- package/lib/public/resolve-config.js +8 -5
- package/lib/util/bigSign.js +4 -1
- package/lib/util/buildMediaQuery.js +16 -25
- package/lib/util/cloneDeep.js +7 -6
- package/lib/util/cloneNodes.js +21 -3
- package/lib/util/color.js +54 -40
- package/lib/util/configurePlugins.js +4 -1
- package/lib/util/createPlugin.js +6 -6
- package/lib/util/createUtilityPlugin.js +12 -14
- package/lib/util/dataTypes.js +119 -102
- package/lib/util/defaults.js +10 -1
- package/lib/util/escapeClassName.js +7 -4
- package/lib/util/escapeCommas.js +5 -2
- package/lib/util/flattenColorPalette.js +9 -12
- package/lib/util/formatVariantSelector.js +223 -40
- package/lib/util/getAllConfigs.js +27 -8
- package/lib/util/hashConfig.js +6 -3
- package/lib/util/isKeyframeRule.js +5 -2
- package/lib/util/isPlainObject.js +5 -2
- package/lib/util/isValidArbitraryValue.js +72 -0
- package/lib/util/log.js +22 -12
- package/lib/util/nameClass.js +17 -8
- package/lib/util/negateValue.js +22 -7
- package/lib/util/normalizeConfig.js +99 -54
- package/lib/util/normalizeScreens.js +73 -0
- package/lib/util/parseAnimationValue.js +42 -40
- package/lib/util/parseBoxShadowValue.js +30 -23
- package/lib/util/parseDependency.js +18 -15
- package/lib/util/parseObjectStyles.js +10 -7
- package/lib/util/pluginUtils.js +51 -42
- package/lib/util/prefixSelector.js +10 -8
- package/lib/util/removeAlphaVariables.js +29 -0
- package/lib/util/resolveConfig.js +91 -66
- package/lib/util/resolveConfigPath.js +11 -9
- package/lib/util/responsive.js +8 -5
- package/lib/util/splitAtTopLevelOnly.js +43 -0
- package/lib/util/tap.js +4 -1
- package/lib/util/toColorValue.js +5 -3
- package/lib/util/toPath.js +24 -3
- package/lib/util/transformThemeValue.js +37 -29
- package/lib/util/validateConfig.js +24 -0
- package/lib/util/withAlphaVariable.js +23 -15
- package/nesting/index.js +2 -12
- package/package.json +43 -43
- package/peers/index.js +11543 -8114
- package/plugin.d.ts +11 -0
- package/plugin.js +2 -1
- package/resolveConfig.d.ts +3 -0
- package/resolveConfig.js +2 -1
- package/scripts/generate-types.js +105 -0
- package/scripts/type-utils.js +27 -0
- package/src/cli-peer-dependencies.js +7 -1
- package/src/cli.js +293 -36
- package/src/corePluginList.js +1 -1
- package/src/corePlugins.js +428 -285
- package/src/css/preflight.css +8 -9
- package/src/featureFlags.js +9 -5
- package/src/index.js +14 -6
- package/src/lib/cacheInvalidation.js +52 -0
- package/src/lib/collapseAdjacentRules.js +21 -2
- package/src/lib/collapseDuplicateDeclarations.js +66 -1
- package/src/lib/defaultExtractor.js +208 -0
- package/src/lib/evaluateTailwindFunctions.js +84 -10
- package/src/lib/expandApplyAtRules.js +488 -153
- package/src/lib/expandTailwindAtRules.js +82 -80
- package/src/lib/generateRules.js +352 -120
- package/src/lib/normalizeTailwindDirectives.js +7 -1
- package/src/lib/offsets.js +239 -0
- package/src/lib/partitionApplyAtRules.js +52 -0
- package/src/lib/regex.js +74 -0
- package/src/lib/resolveDefaultsAtRules.js +59 -17
- package/src/lib/setupContextUtils.js +337 -174
- package/src/lib/setupTrackingContext.js +13 -8
- package/src/lib/sharedState.js +42 -4
- package/src/lib/substituteScreenAtRules.js +6 -3
- package/src/postcss-plugins/nesting/README.md +42 -0
- package/src/postcss-plugins/nesting/index.js +13 -0
- package/src/postcss-plugins/nesting/plugin.js +80 -0
- package/src/processTailwindFeatures.js +12 -2
- package/src/util/buildMediaQuery.js +14 -18
- package/src/util/cloneNodes.js +19 -2
- package/src/util/color.js +31 -14
- package/src/util/dataTypes.js +28 -19
- package/src/util/defaults.js +6 -0
- package/src/util/formatVariantSelector.js +237 -23
- package/src/util/getAllConfigs.js +19 -0
- package/src/util/isValidArbitraryValue.js +61 -0
- package/src/util/log.js +11 -7
- package/src/util/nameClass.js +1 -1
- package/src/util/negateValue.js +10 -2
- package/src/util/normalizeConfig.js +16 -3
- package/src/util/normalizeScreens.js +45 -0
- package/src/util/parseBoxShadowValue.js +4 -3
- package/src/util/pluginUtils.js +14 -2
- package/src/util/prefixSelector.js +7 -5
- package/src/util/removeAlphaVariables.js +24 -0
- package/src/util/resolveConfig.js +71 -17
- package/src/util/splitAtTopLevelOnly.js +45 -0
- package/src/util/toPath.js +23 -1
- package/src/util/transformThemeValue.js +13 -3
- package/src/util/validateConfig.js +13 -0
- package/src/util/withAlphaVariable.js +1 -1
- package/stubs/defaultConfig.stub.js +24 -3
- package/stubs/simpleConfig.stub.js +1 -0
- package/types/config.d.ts +334 -0
- package/types/generated/.gitkeep +0 -0
- package/types/generated/colors.d.ts +276 -0
- package/types/generated/corePluginList.d.ts +1 -0
- package/types/generated/default-theme.d.ts +331 -0
- package/types/index.d.ts +7 -0
- package/lib/lib/setupWatchingContext.js +0 -288
- package/nesting/plugin.js +0 -41
- package/src/lib/setupWatchingContext.js +0 -311
package/lib/util/toPath.js
CHANGED
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Parse a path string into an array of path segments.
|
|
3
|
+
*
|
|
4
|
+
* Square bracket notation `a[b]` may be used to "escape" dots that would otherwise be interpreted as path separators.
|
|
5
|
+
*
|
|
6
|
+
* Example:
|
|
7
|
+
* a -> ['a']
|
|
8
|
+
* a.b.c -> ['a', 'b', 'c']
|
|
9
|
+
* a[b].c -> ['a', 'b', 'c']
|
|
10
|
+
* a[b.c].e.f -> ['a', 'b.c', 'e', 'f']
|
|
11
|
+
* a[b][c][d] -> ['a', 'b', 'c', 'd']
|
|
12
|
+
*
|
|
13
|
+
* @param {string|string[]} path
|
|
14
|
+
**/ "use strict";
|
|
2
15
|
Object.defineProperty(exports, "__esModule", {
|
|
3
16
|
value: true
|
|
4
17
|
});
|
|
5
|
-
exports
|
|
18
|
+
Object.defineProperty(exports, "toPath", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: ()=>toPath
|
|
21
|
+
});
|
|
6
22
|
function toPath(path) {
|
|
7
23
|
if (Array.isArray(path)) return path;
|
|
8
|
-
|
|
24
|
+
let openBrackets = path.split("[").length - 1;
|
|
25
|
+
let closedBrackets = path.split("]").length - 1;
|
|
26
|
+
if (openBrackets !== closedBrackets) {
|
|
27
|
+
throw new Error(`Path is invalid. Has unbalanced brackets: ${path}`);
|
|
28
|
+
}
|
|
29
|
+
return path.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
9
30
|
}
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
exports
|
|
6
|
-
|
|
5
|
+
Object.defineProperty(exports, "default", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>transformThemeValue
|
|
8
|
+
});
|
|
9
|
+
const _postcss = /*#__PURE__*/ _interopRequireDefault(require("postcss"));
|
|
10
|
+
const _isPlainObject = /*#__PURE__*/ _interopRequireDefault(require("./isPlainObject"));
|
|
7
11
|
function _interopRequireDefault(obj) {
|
|
8
12
|
return obj && obj.__esModule ? obj : {
|
|
9
13
|
default: obj
|
|
@@ -11,53 +15,57 @@ function _interopRequireDefault(obj) {
|
|
|
11
15
|
}
|
|
12
16
|
function transformThemeValue(themeSection) {
|
|
13
17
|
if ([
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
"fontSize",
|
|
19
|
+
"outline"
|
|
16
20
|
].includes(themeSection)) {
|
|
17
21
|
return (value)=>{
|
|
18
|
-
if (typeof value ===
|
|
19
|
-
});
|
|
22
|
+
if (typeof value === "function") value = value({});
|
|
20
23
|
if (Array.isArray(value)) value = value[0];
|
|
21
24
|
return value;
|
|
22
25
|
};
|
|
23
26
|
}
|
|
27
|
+
if (themeSection === "fontFamily") {
|
|
28
|
+
return (value)=>{
|
|
29
|
+
if (typeof value === "function") value = value({});
|
|
30
|
+
let families = Array.isArray(value) && (0, _isPlainObject.default)(value[1]) ? value[0] : value;
|
|
31
|
+
return Array.isArray(families) ? families.join(", ") : families;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
24
34
|
if ([
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
'animation',
|
|
35
|
+
"boxShadow",
|
|
36
|
+
"transitionProperty",
|
|
37
|
+
"transitionDuration",
|
|
38
|
+
"transitionDelay",
|
|
39
|
+
"transitionTimingFunction",
|
|
40
|
+
"backgroundImage",
|
|
41
|
+
"backgroundSize",
|
|
42
|
+
"backgroundColor",
|
|
43
|
+
"cursor",
|
|
44
|
+
"animation",
|
|
36
45
|
].includes(themeSection)) {
|
|
37
46
|
return (value)=>{
|
|
38
|
-
if (typeof value ===
|
|
39
|
-
|
|
40
|
-
if (Array.isArray(value)) value = value.join(', ');
|
|
47
|
+
if (typeof value === "function") value = value({});
|
|
48
|
+
if (Array.isArray(value)) value = value.join(", ");
|
|
41
49
|
return value;
|
|
42
50
|
};
|
|
43
51
|
}
|
|
44
52
|
// For backwards compatibility reasons, before we switched to underscores
|
|
45
53
|
// instead of commas for arbitrary values.
|
|
46
54
|
if ([
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
55
|
+
"gridTemplateColumns",
|
|
56
|
+
"gridTemplateRows",
|
|
57
|
+
"objectPosition"
|
|
50
58
|
].includes(themeSection)) {
|
|
51
59
|
return (value)=>{
|
|
52
|
-
if (typeof value ===
|
|
53
|
-
|
|
54
|
-
if (typeof value === 'string') value = _postcss.default.list.comma(value).join(' ');
|
|
60
|
+
if (typeof value === "function") value = value({});
|
|
61
|
+
if (typeof value === "string") value = _postcss.default.list.comma(value).join(" ");
|
|
55
62
|
return value;
|
|
56
63
|
};
|
|
57
64
|
}
|
|
58
|
-
return (value)=>{
|
|
59
|
-
if (typeof value ===
|
|
60
|
-
|
|
65
|
+
return (value, opts = {})=>{
|
|
66
|
+
if (typeof value === "function") {
|
|
67
|
+
value = value(opts);
|
|
68
|
+
}
|
|
61
69
|
return value;
|
|
62
70
|
};
|
|
63
71
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "validateConfig", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: ()=>validateConfig
|
|
8
|
+
});
|
|
9
|
+
const _log = /*#__PURE__*/ _interopRequireDefault(require("./log"));
|
|
10
|
+
function _interopRequireDefault(obj) {
|
|
11
|
+
return obj && obj.__esModule ? obj : {
|
|
12
|
+
default: obj
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function validateConfig(config) {
|
|
16
|
+
if (config.content.files.length === 0) {
|
|
17
|
+
_log.default.warn("content-problems", [
|
|
18
|
+
"The `content` option in your Tailwind CSS configuration is missing or empty.",
|
|
19
|
+
"Configure your content sources or your generated CSS will be missing styles.",
|
|
20
|
+
"https://tailwindcss.com/docs/content-configuration",
|
|
21
|
+
]);
|
|
22
|
+
}
|
|
23
|
+
return config;
|
|
24
|
+
}
|
|
@@ -2,29 +2,39 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
withAlphaValue: ()=>withAlphaValue,
|
|
13
|
+
default: ()=>withAlphaVariable
|
|
14
|
+
});
|
|
15
|
+
const _color = require("./color");
|
|
8
16
|
function withAlphaValue(color, alphaValue, defaultValue) {
|
|
9
|
-
if (typeof color ===
|
|
17
|
+
if (typeof color === "function") {
|
|
10
18
|
return color({
|
|
11
19
|
opacityValue: alphaValue
|
|
12
20
|
});
|
|
13
21
|
}
|
|
14
|
-
let parsed = (0, _color
|
|
22
|
+
let parsed = (0, _color.parseColor)(color, {
|
|
23
|
+
loose: true
|
|
24
|
+
});
|
|
15
25
|
if (parsed === null) {
|
|
16
26
|
return defaultValue;
|
|
17
27
|
}
|
|
18
|
-
return (0, _color
|
|
28
|
+
return (0, _color.formatColor)({
|
|
19
29
|
...parsed,
|
|
20
30
|
alpha: alphaValue
|
|
21
31
|
});
|
|
22
32
|
}
|
|
23
33
|
function withAlphaVariable({ color , property , variable }) {
|
|
24
34
|
let properties = [].concat(property);
|
|
25
|
-
if (typeof color ===
|
|
35
|
+
if (typeof color === "function") {
|
|
26
36
|
return {
|
|
27
|
-
[variable]:
|
|
37
|
+
[variable]: "1",
|
|
28
38
|
...Object.fromEntries(properties.map((p)=>{
|
|
29
39
|
return [
|
|
30
40
|
p,
|
|
@@ -36,28 +46,26 @@ function withAlphaVariable({ color , property , variable }) {
|
|
|
36
46
|
}))
|
|
37
47
|
};
|
|
38
48
|
}
|
|
39
|
-
const parsed = (0, _color
|
|
49
|
+
const parsed = (0, _color.parseColor)(color);
|
|
40
50
|
if (parsed === null) {
|
|
41
51
|
return Object.fromEntries(properties.map((p)=>[
|
|
42
52
|
p,
|
|
43
53
|
color
|
|
44
|
-
]
|
|
45
|
-
));
|
|
54
|
+
]));
|
|
46
55
|
}
|
|
47
56
|
if (parsed.alpha !== undefined) {
|
|
48
57
|
// Has an alpha value, return color as-is
|
|
49
58
|
return Object.fromEntries(properties.map((p)=>[
|
|
50
59
|
p,
|
|
51
60
|
color
|
|
52
|
-
]
|
|
53
|
-
));
|
|
61
|
+
]));
|
|
54
62
|
}
|
|
55
63
|
return {
|
|
56
|
-
[variable]:
|
|
64
|
+
[variable]: "1",
|
|
57
65
|
...Object.fromEntries(properties.map((p)=>{
|
|
58
66
|
return [
|
|
59
67
|
p,
|
|
60
|
-
(0, _color
|
|
68
|
+
(0, _color.formatColor)({
|
|
61
69
|
...parsed,
|
|
62
70
|
alpha: `var(${variable})`
|
|
63
71
|
})
|
package/nesting/index.js
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
let nesting = require('
|
|
2
|
-
|
|
3
|
-
module.exports = (opts) => {
|
|
4
|
-
return {
|
|
5
|
-
postcssPlugin: 'tailwindcss/nesting',
|
|
6
|
-
Once(root, { result }) {
|
|
7
|
-
return nesting(opts)(root, result)
|
|
8
|
-
},
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
module.exports.postcss = true
|
|
1
|
+
let nesting = require('../lib/postcss-plugins/nesting')
|
|
2
|
+
module.exports = (nesting.__esModule ? nesting : { default: nesting }).default
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-insiders.
|
|
3
|
+
"version": "0.0.0-insiders.4e62334",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
|
-
"
|
|
7
|
+
"types": "types/index.d.ts",
|
|
8
8
|
"repository": "https://github.com/tailwindlabs/tailwindcss.git",
|
|
9
9
|
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
|
|
10
10
|
"homepage": "https://tailwindcss.com",
|
|
@@ -12,24 +12,21 @@
|
|
|
12
12
|
"tailwind": "lib/cli.js",
|
|
13
13
|
"tailwindcss": "lib/cli.js"
|
|
14
14
|
},
|
|
15
|
-
"contributors": [
|
|
16
|
-
"Adam Wathan <adam.wathan@gmail.com>",
|
|
17
|
-
"Jonathan Reinink <jonathan@reinink.ca>",
|
|
18
|
-
"David Hemphill <davidlee.hemphill@gmail.com>"
|
|
19
|
-
],
|
|
20
15
|
"scripts": {
|
|
21
|
-
"preswcify": "npm run generate
|
|
16
|
+
"preswcify": "npm run generate && rimraf lib",
|
|
22
17
|
"swcify": "swc src --out-dir lib --copy-files",
|
|
23
18
|
"postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js",
|
|
24
19
|
"rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",
|
|
25
20
|
"prepublishOnly": "npm install --force && npm run swcify",
|
|
26
21
|
"style": "eslint .",
|
|
27
|
-
"pretest": "npm run generate
|
|
28
|
-
"test": "
|
|
22
|
+
"pretest": "npm run generate",
|
|
23
|
+
"test": "jest",
|
|
29
24
|
"test:integrations": "npm run test --prefix ./integrations",
|
|
30
25
|
"install:integrations": "node scripts/install-integrations.js",
|
|
31
26
|
"posttest": "npm run style",
|
|
32
|
-
"generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js"
|
|
27
|
+
"generate:plugin-list": "node -r @swc/register scripts/create-plugin-list.js",
|
|
28
|
+
"generate:types": "node -r @swc/register scripts/generate-types.js",
|
|
29
|
+
"generate": "npm run generate:plugin-list && npm run generate:types"
|
|
33
30
|
},
|
|
34
31
|
"files": [
|
|
35
32
|
"src/*",
|
|
@@ -39,54 +36,55 @@
|
|
|
39
36
|
"scripts/*.js",
|
|
40
37
|
"stubs/*.stub.js",
|
|
41
38
|
"nesting/*",
|
|
39
|
+
"types/**/*",
|
|
40
|
+
"*.d.ts",
|
|
42
41
|
"*.css",
|
|
43
42
|
"*.js"
|
|
44
43
|
],
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@swc/cli": "^0.1.
|
|
47
|
-
"@swc/core": "^1.2.
|
|
48
|
-
"@swc/jest": "^0.
|
|
49
|
-
"@swc/register": "^0.1.
|
|
50
|
-
"autoprefixer": "^10.4.
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"eslint": "^8.0
|
|
55
|
-
"eslint-
|
|
56
|
-
"
|
|
57
|
-
"jest": "^
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"rimraf": "^3.0.0"
|
|
45
|
+
"@swc/cli": "^0.1.57",
|
|
46
|
+
"@swc/core": "^1.2.244",
|
|
47
|
+
"@swc/jest": "^0.2.22",
|
|
48
|
+
"@swc/register": "^0.1.10",
|
|
49
|
+
"autoprefixer": "^10.4.8",
|
|
50
|
+
"cssnano": "^5.1.13",
|
|
51
|
+
"esbuild": "^0.15.7",
|
|
52
|
+
"eslint": "^8.23.0",
|
|
53
|
+
"eslint-config-prettier": "^8.5.0",
|
|
54
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
55
|
+
"jest": "^28.1.3",
|
|
56
|
+
"jest-diff": "^28.1.3",
|
|
57
|
+
"prettier": "^2.7.1",
|
|
58
|
+
"prettier-plugin-tailwindcss": "^0.1.13",
|
|
59
|
+
"rimraf": "^3.0.0",
|
|
60
|
+
"source-map-js": "^1.0.2"
|
|
63
61
|
},
|
|
64
62
|
"peerDependencies": {
|
|
65
|
-
"autoprefixer": "^10.0.2",
|
|
66
63
|
"postcss": "^8.0.9"
|
|
67
64
|
},
|
|
68
65
|
"dependencies": {
|
|
69
|
-
"arg": "^5.0.
|
|
70
|
-
"
|
|
71
|
-
"chokidar": "^3.5.2",
|
|
66
|
+
"arg": "^5.0.2",
|
|
67
|
+
"chokidar": "^3.5.3",
|
|
72
68
|
"color-name": "^1.1.4",
|
|
73
|
-
"
|
|
74
|
-
"detective": "^5.2.0",
|
|
69
|
+
"detective": "^5.2.1",
|
|
75
70
|
"didyoumean": "^1.2.2",
|
|
76
71
|
"dlv": "^1.1.3",
|
|
77
|
-
"fast-glob": "^3.2.
|
|
72
|
+
"fast-glob": "^3.2.11",
|
|
78
73
|
"glob-parent": "^6.0.2",
|
|
79
74
|
"is-glob": "^4.0.3",
|
|
75
|
+
"lilconfig": "^2.0.6",
|
|
80
76
|
"normalize-path": "^3.0.0",
|
|
81
|
-
"object-hash": "^
|
|
82
|
-
"
|
|
83
|
-
"postcss
|
|
77
|
+
"object-hash": "^3.0.0",
|
|
78
|
+
"picocolors": "^1.0.0",
|
|
79
|
+
"postcss": "^8.4.16",
|
|
80
|
+
"postcss-import": "^14.1.0",
|
|
81
|
+
"postcss-js": "^4.0.0",
|
|
82
|
+
"postcss-load-config": "^3.1.4",
|
|
84
83
|
"postcss-nested": "5.0.6",
|
|
85
|
-
"postcss-selector-parser": "^6.0.
|
|
86
|
-
"postcss-value-parser": "^4.
|
|
84
|
+
"postcss-selector-parser": "^6.0.10",
|
|
85
|
+
"postcss-value-parser": "^4.2.0",
|
|
87
86
|
"quick-lru": "^5.1.1",
|
|
88
|
-
"resolve": "^1.
|
|
89
|
-
"tmp": "^0.2.1"
|
|
87
|
+
"resolve": "^1.22.1"
|
|
90
88
|
},
|
|
91
89
|
"browserslist": [
|
|
92
90
|
"> 1%",
|
|
@@ -101,7 +99,9 @@
|
|
|
101
99
|
],
|
|
102
100
|
"testPathIgnorePatterns": [
|
|
103
101
|
"/node_modules/",
|
|
104
|
-
"/integrations/"
|
|
102
|
+
"/integrations/",
|
|
103
|
+
"/standalone-cli/",
|
|
104
|
+
"\\.test\\.skip\\.js$"
|
|
105
105
|
],
|
|
106
106
|
"transform": {
|
|
107
107
|
"\\.js$": "@swc/jest"
|