@modern-js/plugin-tailwindcss 2.31.1 → 2.32.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/CHANGELOG.md +29 -0
- package/LICENSE +1 -1
- package/dist/cjs/cli.js +2 -5
- package/dist/esm/cli.js +2 -5
- package/dist/esm-node/cli.js +2 -5
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# @modern-js/plugin-tailwindcss
|
2
2
|
|
3
|
+
## 2.32.0
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 6076166: fix: packaging errors found by publint
|
8
|
+
|
9
|
+
fix: 修复 publint 检测到的 packaging 问题
|
10
|
+
|
11
|
+
- b31e9dd: chore(plugin-tailwindcss): use glob shorthand in the default config
|
12
|
+
|
13
|
+
chore(plugin-tailwindcss): 在默认配置中使用 glob 缩写
|
14
|
+
|
15
|
+
- Updated dependencies [e5a3fb4]
|
16
|
+
- Updated dependencies [6076166]
|
17
|
+
- Updated dependencies [a030aff]
|
18
|
+
- Updated dependencies [92591c6]
|
19
|
+
- Updated dependencies [3c91100]
|
20
|
+
- Updated dependencies [5255eba]
|
21
|
+
- @modern-js/runtime@2.32.0
|
22
|
+
- @modern-js/utils@2.32.0
|
23
|
+
|
24
|
+
## 2.31.2
|
25
|
+
|
26
|
+
### Patch Changes
|
27
|
+
|
28
|
+
- Updated dependencies [15d30abdc66]
|
29
|
+
- @modern-js/utils@2.31.2
|
30
|
+
- @modern-js/runtime@2.31.2
|
31
|
+
|
3
32
|
## 2.31.1
|
4
33
|
|
5
34
|
### Patch Changes
|
package/LICENSE
CHANGED
package/dist/cjs/cli.js
CHANGED
@@ -32,16 +32,13 @@ const getRandomTwConfigFileName = (internalDirectory) => {
|
|
32
32
|
};
|
33
33
|
function getDefaultContent(appDirectory) {
|
34
34
|
const defaultContent = [
|
35
|
-
"./src/**/*.js"
|
36
|
-
"./src/**/*.jsx",
|
37
|
-
"./src/**/*.ts",
|
38
|
-
"./src/**/*.tsx"
|
35
|
+
"./src/**/*.{js,jsx,ts,tsx}"
|
39
36
|
];
|
40
37
|
if (_utils.fs.existsSync(_path.default.join(appDirectory, "storybook"))) {
|
41
38
|
defaultContent.push("./storybook/**/*");
|
42
39
|
}
|
43
40
|
if (_utils.fs.existsSync(_path.default.join(appDirectory, "config/html"))) {
|
44
|
-
defaultContent.push("./config/html/**/*.html
|
41
|
+
defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
|
45
42
|
}
|
46
43
|
return defaultContent;
|
47
44
|
}
|
package/dist/esm/cli.js
CHANGED
@@ -11,16 +11,13 @@ export var getRandomTwConfigFileName = function(internalDirectory) {
|
|
11
11
|
};
|
12
12
|
function getDefaultContent(appDirectory) {
|
13
13
|
var defaultContent = [
|
14
|
-
"./src/**/*.js"
|
15
|
-
"./src/**/*.jsx",
|
16
|
-
"./src/**/*.ts",
|
17
|
-
"./src/**/*.tsx"
|
14
|
+
"./src/**/*.{js,jsx,ts,tsx}"
|
18
15
|
];
|
19
16
|
if (fs.existsSync(path.join(appDirectory, "storybook"))) {
|
20
17
|
defaultContent.push("./storybook/**/*");
|
21
18
|
}
|
22
19
|
if (fs.existsSync(path.join(appDirectory, "config/html"))) {
|
23
|
-
defaultContent.push("./config/html/**/*.html
|
20
|
+
defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
|
24
21
|
}
|
25
22
|
return defaultContent;
|
26
23
|
}
|
package/dist/esm-node/cli.js
CHANGED
@@ -9,16 +9,13 @@ export const getRandomTwConfigFileName = (internalDirectory) => {
|
|
9
9
|
};
|
10
10
|
function getDefaultContent(appDirectory) {
|
11
11
|
const defaultContent = [
|
12
|
-
"./src/**/*.js"
|
13
|
-
"./src/**/*.jsx",
|
14
|
-
"./src/**/*.ts",
|
15
|
-
"./src/**/*.tsx"
|
12
|
+
"./src/**/*.{js,jsx,ts,tsx}"
|
16
13
|
];
|
17
14
|
if (fs.existsSync(path.join(appDirectory, "storybook"))) {
|
18
15
|
defaultContent.push("./storybook/**/*");
|
19
16
|
}
|
20
17
|
if (fs.existsSync(path.join(appDirectory, "config/html"))) {
|
21
|
-
defaultContent.push("./config/html/**/*.html
|
18
|
+
defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
|
22
19
|
}
|
23
20
|
return defaultContent;
|
24
21
|
}
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.32.0",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"default": "./dist/cjs/cli.js"
|
34
34
|
},
|
35
35
|
"./runtime-design-token": {
|
36
|
-
"jsnext:source": "./src/design-token/index.
|
36
|
+
"jsnext:source": "./src/design-token/index.ts",
|
37
37
|
"node": "./dist/cjs/design-token/index.js",
|
38
38
|
"default": "./dist/esm/design-token/index.js"
|
39
39
|
}
|
@@ -49,27 +49,27 @@
|
|
49
49
|
"babel-plugin-macros": "3.1.0",
|
50
50
|
"hoist-non-react-statics": "^3.3.2",
|
51
51
|
"@swc/helpers": "0.5.1",
|
52
|
-
"@modern-js/utils": "2.
|
52
|
+
"@modern-js/utils": "2.32.0"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
55
55
|
"@types/jest": "^29",
|
56
56
|
"@types/node": "^14",
|
57
57
|
"typescript": "^5",
|
58
|
-
"tailwindcss": "^3.
|
58
|
+
"tailwindcss": "^3.3.3",
|
59
59
|
"jest": "^29",
|
60
60
|
"react": "^18",
|
61
61
|
"postcss": "8.4.27",
|
62
|
-
"@modern-js/core": "2.
|
63
|
-
"@modern-js/module-tools": "2.
|
64
|
-
"@modern-js/runtime": "2.
|
65
|
-
"@modern-js/types": "2.
|
66
|
-
"@modern-js/app-tools": "2.
|
67
|
-
"@scripts/
|
68
|
-
"@scripts/
|
62
|
+
"@modern-js/core": "2.32.0",
|
63
|
+
"@modern-js/module-tools": "2.32.0",
|
64
|
+
"@modern-js/runtime": "2.32.0",
|
65
|
+
"@modern-js/types": "2.32.0",
|
66
|
+
"@modern-js/app-tools": "2.32.0",
|
67
|
+
"@scripts/jest-config": "2.32.0",
|
68
|
+
"@scripts/build": "2.32.0"
|
69
69
|
},
|
70
70
|
"peerDependencies": {
|
71
71
|
"tailwindcss": ">= 2.0.0 || >= 3.0.0",
|
72
|
-
"@modern-js/runtime": "^2.
|
72
|
+
"@modern-js/runtime": "^2.32.0"
|
73
73
|
},
|
74
74
|
"peerDependenciesMeta": {
|
75
75
|
"@modern-js/runtime": {
|