@modern-js/plugin-tailwindcss 2.39.2 → 2.41.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/dist/cjs/cli.js
CHANGED
@@ -72,19 +72,6 @@ const tailwindcssPlugin = ({ pluginName } = {
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
},
|
75
|
-
validateSchema() {
|
76
|
-
return [
|
77
|
-
{
|
78
|
-
target: "tools.tailwindcss",
|
79
|
-
schema: {
|
80
|
-
typeof: [
|
81
|
-
"object",
|
82
|
-
"function"
|
83
|
-
]
|
84
|
-
}
|
85
|
-
}
|
86
|
-
];
|
87
|
-
},
|
88
75
|
config() {
|
89
76
|
let tailwindConfig;
|
90
77
|
const initTailwindConfig = () => {
|
@@ -99,35 +99,6 @@ const designTokenPlugin = ({ pluginName } = {
|
|
99
99
|
plugins
|
100
100
|
};
|
101
101
|
},
|
102
|
-
validateSchema() {
|
103
|
-
return [
|
104
|
-
// Legacy Features
|
105
|
-
{
|
106
|
-
target: "source.designSystem",
|
107
|
-
schema: {
|
108
|
-
typeof: [
|
109
|
-
"object"
|
110
|
-
]
|
111
|
-
}
|
112
|
-
},
|
113
|
-
{
|
114
|
-
target: "source.designSystem.supportStyledComponents",
|
115
|
-
schema: {
|
116
|
-
type: [
|
117
|
-
"boolean"
|
118
|
-
]
|
119
|
-
}
|
120
|
-
},
|
121
|
-
{
|
122
|
-
target: "designSystem",
|
123
|
-
schema: {
|
124
|
-
typeof: [
|
125
|
-
"object"
|
126
|
-
]
|
127
|
-
}
|
128
|
-
}
|
129
|
-
];
|
130
|
-
},
|
131
102
|
addRuntimeExports() {
|
132
103
|
pluginsExportsUtils.addExport(`export { default as designToken } from '${pluginName}/runtime-design-token'`);
|
133
104
|
}
|
package/dist/esm/cli.js
CHANGED
@@ -59,19 +59,6 @@ var tailwindcssPlugin = function() {
|
|
59
59
|
}
|
60
60
|
}
|
61
61
|
},
|
62
|
-
validateSchema: function validateSchema() {
|
63
|
-
return [
|
64
|
-
{
|
65
|
-
target: "tools.tailwindcss",
|
66
|
-
schema: {
|
67
|
-
typeof: [
|
68
|
-
"object",
|
69
|
-
"function"
|
70
|
-
]
|
71
|
-
}
|
72
|
-
}
|
73
|
-
];
|
74
|
-
},
|
75
62
|
config: function config() {
|
76
63
|
var tailwindConfig;
|
77
64
|
var initTailwindConfig = function() {
|
@@ -77,35 +77,6 @@ var designTokenPlugin = function() {
|
|
77
77
|
plugins
|
78
78
|
};
|
79
79
|
},
|
80
|
-
validateSchema: function validateSchema() {
|
81
|
-
return [
|
82
|
-
// Legacy Features
|
83
|
-
{
|
84
|
-
target: "source.designSystem",
|
85
|
-
schema: {
|
86
|
-
typeof: [
|
87
|
-
"object"
|
88
|
-
]
|
89
|
-
}
|
90
|
-
},
|
91
|
-
{
|
92
|
-
target: "source.designSystem.supportStyledComponents",
|
93
|
-
schema: {
|
94
|
-
type: [
|
95
|
-
"boolean"
|
96
|
-
]
|
97
|
-
}
|
98
|
-
},
|
99
|
-
{
|
100
|
-
target: "designSystem",
|
101
|
-
schema: {
|
102
|
-
typeof: [
|
103
|
-
"object"
|
104
|
-
]
|
105
|
-
}
|
106
|
-
}
|
107
|
-
];
|
108
|
-
},
|
109
80
|
addRuntimeExports: function addRuntimeExports() {
|
110
81
|
pluginsExportsUtils.addExport("export { default as designToken } from '".concat(pluginName, "/runtime-design-token'"));
|
111
82
|
}
|
package/dist/esm-node/cli.js
CHANGED
@@ -38,19 +38,6 @@ const tailwindcssPlugin = ({ pluginName } = {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
},
|
41
|
-
validateSchema() {
|
42
|
-
return [
|
43
|
-
{
|
44
|
-
target: "tools.tailwindcss",
|
45
|
-
schema: {
|
46
|
-
typeof: [
|
47
|
-
"object",
|
48
|
-
"function"
|
49
|
-
]
|
50
|
-
}
|
51
|
-
}
|
52
|
-
];
|
53
|
-
},
|
54
41
|
config() {
|
55
42
|
let tailwindConfig;
|
56
43
|
const initTailwindConfig = () => {
|
@@ -76,35 +76,6 @@ const designTokenPlugin = ({ pluginName } = {
|
|
76
76
|
plugins
|
77
77
|
};
|
78
78
|
},
|
79
|
-
validateSchema() {
|
80
|
-
return [
|
81
|
-
// Legacy Features
|
82
|
-
{
|
83
|
-
target: "source.designSystem",
|
84
|
-
schema: {
|
85
|
-
typeof: [
|
86
|
-
"object"
|
87
|
-
]
|
88
|
-
}
|
89
|
-
},
|
90
|
-
{
|
91
|
-
target: "source.designSystem.supportStyledComponents",
|
92
|
-
schema: {
|
93
|
-
type: [
|
94
|
-
"boolean"
|
95
|
-
]
|
96
|
-
}
|
97
|
-
},
|
98
|
-
{
|
99
|
-
target: "designSystem",
|
100
|
-
schema: {
|
101
|
-
typeof: [
|
102
|
-
"object"
|
103
|
-
]
|
104
|
-
}
|
105
|
-
}
|
106
|
-
];
|
107
|
-
},
|
108
79
|
addRuntimeExports() {
|
109
80
|
pluginsExportsUtils.addExport(`export { default as designToken } from '${pluginName}/runtime-design-token'`);
|
110
81
|
}
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.41.0",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -48,9 +48,9 @@
|
|
48
48
|
"dependencies": {
|
49
49
|
"babel-plugin-macros": "3.1.0",
|
50
50
|
"hoist-non-react-statics": "^3.3.2",
|
51
|
-
"@swc/helpers": "0.5.
|
52
|
-
"@modern-js/utils": "2.
|
53
|
-
"@modern-js/node-bundle-require": "2.
|
51
|
+
"@swc/helpers": "0.5.3",
|
52
|
+
"@modern-js/utils": "2.41.0",
|
53
|
+
"@modern-js/node-bundle-require": "2.41.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@types/jest": "^29",
|
@@ -60,17 +60,17 @@
|
|
60
60
|
"jest": "^29",
|
61
61
|
"react": "^18",
|
62
62
|
"postcss": "8.4.31",
|
63
|
-
"@modern-js/core": "2.
|
64
|
-
"@modern-js/
|
65
|
-
"@modern-js/
|
66
|
-
"@modern-js/types": "2.
|
67
|
-
"@scripts/build": "2.
|
68
|
-
"@
|
69
|
-
"@
|
63
|
+
"@modern-js/core": "2.41.0",
|
64
|
+
"@modern-js/module-tools": "2.41.0",
|
65
|
+
"@modern-js/runtime": "2.41.0",
|
66
|
+
"@modern-js/types": "2.41.0",
|
67
|
+
"@scripts/build": "2.41.0",
|
68
|
+
"@modern-js/app-tools": "2.41.0",
|
69
|
+
"@scripts/jest-config": "2.41.0"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
72
72
|
"tailwindcss": ">= 2.0.0 || >= 3.0.0",
|
73
|
-
"@modern-js/runtime": "^2.
|
73
|
+
"@modern-js/runtime": "^2.41.0"
|
74
74
|
},
|
75
75
|
"peerDependenciesMeta": {
|
76
76
|
"@modern-js/runtime": {
|