dlzn-ui 1.8.0 → 1.11.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/package.json +15 -1
- package/stylelint.config.mjs +11 -0
package/package.json
CHANGED
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
"name": "dlzn-ui",
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@antfu/eslint-config": "^9.3.0",
|
|
25
|
+
"@prettier/plugin-xml": "^3.4.2",
|
|
26
|
+
"@stylistic/stylelint-config": "^5.0.0",
|
|
25
27
|
"@tsconfig/node-lts": "^24.0.0",
|
|
26
28
|
"@types/node": "^26.1.2",
|
|
27
29
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
@@ -30,6 +32,18 @@
|
|
|
30
32
|
"eslint-config-prettier": "^10.1.8",
|
|
31
33
|
"eslint-plugin-format": "^2.0.1",
|
|
32
34
|
"eslint-plugin-prettier": "^5.5.6",
|
|
35
|
+
"jiti": "^2.7.0",
|
|
36
|
+
"postcss-html": "^2.0.0",
|
|
37
|
+
"postcss-markdown": "^2.0.0",
|
|
38
|
+
"prettier": "^3.9.6",
|
|
39
|
+
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
40
|
+
"stylelint": "^17.14.1",
|
|
41
|
+
"stylelint-config-recess-order": "^7.7.0",
|
|
42
|
+
"stylelint-config-recommended-vue": "^2.0.0",
|
|
43
|
+
"stylelint-config-standard": "^40.0.0",
|
|
44
|
+
"stylelint-define-config": "^17.14.0",
|
|
45
|
+
"stylelint-order": "^8.1.1",
|
|
46
|
+
"stylelint-use-nesting": "^6.0.2",
|
|
33
47
|
"typescript": "^6.0.3",
|
|
34
48
|
"vite": "^8.2.0",
|
|
35
49
|
"vue": "^3.5.41",
|
|
@@ -39,5 +53,5 @@
|
|
|
39
53
|
"**/*.css"
|
|
40
54
|
],
|
|
41
55
|
"type": "module",
|
|
42
|
-
"version": "1.
|
|
56
|
+
"version": "1.11.0"
|
|
43
57
|
}
|
package/stylelint.config.mjs
CHANGED
|
@@ -11,6 +11,17 @@ export default defineConfig({
|
|
|
11
11
|
'stylelint-config-recess-order',
|
|
12
12
|
'stylelint-config-recommended-vue', // 放最后一个 依赖 postcss-html
|
|
13
13
|
],
|
|
14
|
+
// 设置 ignoreFiles 会覆盖默认忽略 node_modules,需显式包含
|
|
15
|
+
// https://stylelint.io/user-guide/configure/#ignorefiles
|
|
16
|
+
ignoreFiles: [
|
|
17
|
+
'**/*.min.css',
|
|
18
|
+
'.vscode/**',
|
|
19
|
+
'.idea/**',
|
|
20
|
+
'node_modules/**',
|
|
21
|
+
'dist/**',
|
|
22
|
+
'public/**',
|
|
23
|
+
'dist-ssr/**',
|
|
24
|
+
],
|
|
14
25
|
// 格式化 md 文件中的 css 代码
|
|
15
26
|
overrides: [
|
|
16
27
|
{
|