@vef-framework/dev 1.0.122 → 1.0.124

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.
Files changed (118) hide show
  1. package/bin/vef.js +1 -1
  2. package/cjs/cli.cjs +228 -0
  3. package/cjs/commitlint-config.cjs +14 -0
  4. package/cjs/config.cjs +82 -0
  5. package/cjs/constants.cjs +27 -0
  6. package/cjs/eslint-config.cjs +413 -0
  7. package/cjs/index.cjs +16 -0
  8. package/cjs/json/monaco.nls.json.cjs +7 -0
  9. package/cjs/json/monaco.theme.github-light.json.cjs +7 -0
  10. package/cjs/modules.d.cjs +4 -0
  11. package/cjs/plugin-app-config.cjs +37 -0
  12. package/cjs/plugin-conventional-config.cjs +116 -0
  13. package/cjs/plugin-eslint.cjs +23 -0
  14. package/cjs/plugin-html.cjs +85 -0
  15. package/cjs/plugin-icons.cjs +21 -0
  16. package/{lib → cjs}/plugin-initialization.cjs +26 -2
  17. package/cjs/plugin-injection.cjs +20 -0
  18. package/cjs/plugin-inspect.cjs +14 -0
  19. package/{lib → cjs}/plugin-monaco-nls.cjs +59 -2
  20. package/cjs/plugin-react-swc.cjs +13 -0
  21. package/cjs/plugin-router.cjs +47 -0
  22. package/cjs/plugin-stylelint.cjs +23 -0
  23. package/cjs/plugin-svgr.cjs +58 -0
  24. package/cjs/plugin-tailwind.cjs +11 -0
  25. package/cjs/plugin-tailwindcss.cjs +24 -0
  26. package/cjs/plugin-tsconfig-paths.cjs +13 -0
  27. package/cjs/plugin-visualizer.cjs +15 -0
  28. package/cjs/plugin-webfont.cjs +14 -0
  29. package/cjs/stylelint-config.cjs +67 -0
  30. package/cjs/tailwind-config.cjs +395 -0
  31. package/cjs/types.cjs +4 -0
  32. package/esm/cli.js +226 -0
  33. package/esm/commitlint-config.js +12 -0
  34. package/esm/config.js +80 -0
  35. package/esm/constants.js +15 -0
  36. package/esm/eslint-config.js +411 -0
  37. package/esm/index.js +8 -0
  38. package/esm/json/monaco.nls.json.js +3 -0
  39. package/esm/json/monaco.theme.github-light.json.js +3 -0
  40. package/esm/modules.d.js +2 -0
  41. package/esm/plugin-app-config.js +35 -0
  42. package/esm/plugin-conventional-config.js +114 -0
  43. package/esm/plugin-eslint.js +21 -0
  44. package/esm/plugin-html.js +83 -0
  45. package/esm/plugin-icons.js +18 -0
  46. package/{es → esm}/plugin-initialization.js +24 -2
  47. package/esm/plugin-injection.js +18 -0
  48. package/esm/plugin-inspect.js +12 -0
  49. package/{es → esm}/plugin-monaco-nls.js +56 -2
  50. package/esm/plugin-react-swc.js +11 -0
  51. package/esm/plugin-router.js +45 -0
  52. package/esm/plugin-stylelint.js +21 -0
  53. package/esm/plugin-svgr.js +56 -0
  54. package/esm/plugin-tailwind.js +9 -0
  55. package/esm/plugin-tailwindcss.js +22 -0
  56. package/esm/plugin-tsconfig-paths.js +11 -0
  57. package/esm/plugin-visualizer.js +13 -0
  58. package/esm/plugin-webfont.js +12 -0
  59. package/esm/stylelint-config.js +65 -0
  60. package/esm/tailwind-config.js +393 -0
  61. package/esm/types.js +2 -0
  62. package/package.json +19 -18
  63. package/template/_package.json +5 -5
  64. package/es/cli.js +0 -4
  65. package/es/commitlint-config.js +0 -1
  66. package/es/config.js +0 -1
  67. package/es/constants.js +0 -1
  68. package/es/eslint-config.js +0 -1
  69. package/es/index.js +0 -1
  70. package/es/json/monaco.nls.json.js +0 -15920
  71. package/es/json/monaco.theme.github-light.json.js +0 -349
  72. package/es/modules.d.js +0 -1
  73. package/es/plugin-app-config.js +0 -1
  74. package/es/plugin-conventional-config.js +0 -11
  75. package/es/plugin-eslint.js +0 -1
  76. package/es/plugin-html.js +0 -16
  77. package/es/plugin-icons.js +0 -1
  78. package/es/plugin-injection.js +0 -2
  79. package/es/plugin-inspect.js +0 -1
  80. package/es/plugin-react-swc.js +0 -1
  81. package/es/plugin-router.js +0 -10
  82. package/es/plugin-stylelint.js +0 -1
  83. package/es/plugin-svgr.js +0 -1
  84. package/es/plugin-tailwind.js +0 -1
  85. package/es/plugin-tailwindcss.js +0 -2
  86. package/es/plugin-tsconfig-paths.js +0 -1
  87. package/es/plugin-visualizer.js +0 -1
  88. package/es/plugin-webfont.js +0 -1
  89. package/es/stylelint-config.js +0 -1
  90. package/es/tailwind-config.js +0 -1
  91. package/lib/cli.cjs +0 -4
  92. package/lib/commitlint-config.cjs +0 -1
  93. package/lib/config.cjs +0 -1
  94. package/lib/constants.cjs +0 -1
  95. package/lib/eslint-config.cjs +0 -1
  96. package/lib/index.cjs +0 -1
  97. package/lib/json/monaco.nls.json.cjs +0 -15920
  98. package/lib/json/monaco.theme.github-light.json.cjs +0 -349
  99. package/lib/modules.d.cjs +0 -1
  100. package/lib/plugin-app-config.cjs +0 -1
  101. package/lib/plugin-conventional-config.cjs +0 -11
  102. package/lib/plugin-eslint.cjs +0 -1
  103. package/lib/plugin-html.cjs +0 -16
  104. package/lib/plugin-icons.cjs +0 -1
  105. package/lib/plugin-injection.cjs +0 -2
  106. package/lib/plugin-inspect.cjs +0 -1
  107. package/lib/plugin-react-swc.cjs +0 -1
  108. package/lib/plugin-router.cjs +0 -10
  109. package/lib/plugin-stylelint.cjs +0 -1
  110. package/lib/plugin-svgr.cjs +0 -1
  111. package/lib/plugin-tailwind.cjs +0 -1
  112. package/lib/plugin-tailwindcss.cjs +0 -2
  113. package/lib/plugin-tsconfig-paths.cjs +0 -1
  114. package/lib/plugin-visualizer.cjs +0 -1
  115. package/lib/plugin-webfont.cjs +0 -1
  116. package/lib/stylelint-config.cjs +0 -1
  117. package/lib/tailwind-config.cjs +0 -1
  118. package/lib/types.cjs +0 -1
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ import propertyGroups from 'stylelint-config-recess-order/groups';
3
+
4
+ "use strict";
5
+ function defineStylelintConfig() {
6
+ return {
7
+ extends: [
8
+ "stylelint-config-standard-scss",
9
+ "stylelint-config-recommended"
10
+ ],
11
+ plugins: ["stylelint-order"],
12
+ rules: {
13
+ "order/order": [
14
+ "dollar-variables",
15
+ "at-variables",
16
+ "custom-properties",
17
+ "less-mixins",
18
+ "declarations",
19
+ "at-rules",
20
+ "rules"
21
+ ],
22
+ "order/properties-order": propertyGroups.map((group) => ({
23
+ ...group,
24
+ emptyLineBefore: "always",
25
+ noEmptyLineBetween: true
26
+ })),
27
+ "declaration-empty-line-before": null,
28
+ "at-rule-no-unknown": null,
29
+ "function-no-unknown": null,
30
+ "number-max-precision": null,
31
+ "color-hex-length": "long",
32
+ "color-hex-alpha": "never",
33
+ "color-named": "never",
34
+ "unit-allowed-list": [
35
+ "px",
36
+ "em",
37
+ "rem",
38
+ "%",
39
+ "vw",
40
+ "vh",
41
+ "fr",
42
+ "deg",
43
+ "rad",
44
+ "grad",
45
+ "turn",
46
+ "ms",
47
+ "s"
48
+ ],
49
+ "scss/function-no-unknown": [
50
+ true,
51
+ {
52
+ ignoreFunctions: []
53
+ }
54
+ ],
55
+ "scss/at-rule-no-unknown": [
56
+ true,
57
+ {
58
+ ignoreAtRules: ["config"]
59
+ }
60
+ ]
61
+ }
62
+ };
63
+ }
64
+
65
+ export { defineStylelintConfig };
@@ -0,0 +1,393 @@
1
+ "use strict";
2
+ import containerQueries from '@tailwindcss/container-queries';
3
+ import colors from 'tailwindcss/colors';
4
+
5
+ "use strict";
6
+ function defineTailwindConfig() {
7
+ return {
8
+ content: ["./src/**/*.{ts,tsx}"],
9
+ plugins: [containerQueries],
10
+ theme: {
11
+ colors: {
12
+ "inherit": "inherit",
13
+ "current": "currentColor",
14
+ "transparent": "transparent",
15
+ "black": "#000000",
16
+ "white": "var(--vef-color-white)",
17
+ "primary": "var(--vef-color-primary)",
18
+ "primary-hover": "var(--vef-color-primary-hover)",
19
+ "primary-active": "var(--vef-color-primary-active)",
20
+ "success": "var(--vef-color-success)",
21
+ "success-hover": "var(--vef-color-success-hover)",
22
+ "success-active": "var(--vef-color-success-active)",
23
+ "warning": "var(--vef-color-warning)",
24
+ "warning-hover": "var(--vef-color-warning-hover)",
25
+ "warning-active": "var(--vef-color-warning-active)",
26
+ "error": "var(--vef-color-error)",
27
+ "error-hover": "var(--vef-color-error-hover)",
28
+ "error-active": "var(--vef-color-error-active)",
29
+ "info": "var(--vef-color-info)",
30
+ "info-hover": "var(--vef-color-info-hover)",
31
+ "info-active": "var(--vef-color-info-active)",
32
+ "link": "var(--vef-color-link)",
33
+ "link-hover": "var(--vef-color-link-hover)",
34
+ "link-active": "var(--vef-color-link-active)",
35
+ "blue": {
36
+ DEFAULT: "var(--vef-blue-6)",
37
+ 1: "var(--vef-blue-1)",
38
+ 2: "var(--vef-blue-2)",
39
+ 3: "var(--vef-blue-3)",
40
+ 4: "var(--vef-blue-4)",
41
+ 5: "var(--vef-blue-5)",
42
+ 6: "var(--vef-blue-6)",
43
+ 7: "var(--vef-blue-7)",
44
+ 8: "var(--vef-blue-8)",
45
+ 9: "var(--vef-blue-9)",
46
+ 10: "var(--vef-blue-10)"
47
+ },
48
+ "purple": {
49
+ DEFAULT: "var(--vef-purple-6)",
50
+ 1: "var(--vef-purple-1)",
51
+ 2: "var(--vef-purple-2)",
52
+ 3: "var(--vef-purple-3)",
53
+ 4: "var(--vef-purple-4)",
54
+ 5: "var(--vef-purple-5)",
55
+ 6: "var(--vef-purple-6)",
56
+ 7: "var(--vef-purple-7)",
57
+ 8: "var(--vef-purple-8)",
58
+ 9: "var(--vef-purple-9)",
59
+ 10: "var(--vef-purple-10)"
60
+ },
61
+ "cyan": {
62
+ DEFAULT: "var(--vef-cyan-6)",
63
+ 1: "var(--vef-cyan-1)",
64
+ 2: "var(--vef-cyan-2)",
65
+ 3: "var(--vef-cyan-3)",
66
+ 4: "var(--vef-cyan-4)",
67
+ 5: "var(--vef-cyan-5)",
68
+ 6: "var(--vef-cyan-6)",
69
+ 7: "var(--vef-cyan-7)",
70
+ 8: "var(--vef-cyan-8)",
71
+ 9: "var(--vef-cyan-9)",
72
+ 10: "var(--vef-cyan-10)"
73
+ },
74
+ "green": {
75
+ DEFAULT: "var(--vef-green-6)",
76
+ 1: "var(--vef-green-1)",
77
+ 2: "var(--vef-green-2)",
78
+ 3: "var(--vef-green-3)",
79
+ 4: "var(--vef-green-4)",
80
+ 5: "var(--vef-green-5)",
81
+ 6: "var(--vef-green-6)",
82
+ 7: "var(--vef-green-7)",
83
+ 8: "var(--vef-green-8)",
84
+ 9: "var(--vef-green-9)",
85
+ 10: "var(--vef-green-10)"
86
+ },
87
+ "magenta": {
88
+ DEFAULT: "var(--vef-magenta-6)",
89
+ 1: "var(--vef-magenta-1)",
90
+ 2: "var(--vef-magenta-2)",
91
+ 3: "var(--vef-magenta-3)",
92
+ 4: "var(--vef-magenta-4)",
93
+ 5: "var(--vef-magenta-5)",
94
+ 6: "var(--vef-magenta-6)",
95
+ 7: "var(--vef-magenta-7)",
96
+ 8: "var(--vef-magenta-8)",
97
+ 9: "var(--vef-magenta-9)",
98
+ 10: "var(--vef-magenta-10)"
99
+ },
100
+ "pink": {
101
+ DEFAULT: "var(--vef-pink-6)",
102
+ 1: "var(--vef-pink-1)",
103
+ 2: "var(--vef-pink-2)",
104
+ 3: "var(--vef-pink-3)",
105
+ 4: "var(--vef-pink-4)",
106
+ 5: "var(--vef-pink-5)",
107
+ 6: "var(--vef-pink-6)",
108
+ 7: "var(--vef-pink-7)",
109
+ 8: "var(--vef-pink-8)",
110
+ 9: "var(--vef-pink-9)",
111
+ 10: "var(--vef-pink-10)"
112
+ },
113
+ "red": {
114
+ DEFAULT: "var(--vef-red-6)",
115
+ 1: "var(--vef-red-1)",
116
+ 2: "var(--vef-red-2)",
117
+ 3: "var(--vef-red-3)",
118
+ 4: "var(--vef-red-4)",
119
+ 5: "var(--vef-red-5)",
120
+ 6: "var(--vef-red-6)",
121
+ 7: "var(--vef-red-7)",
122
+ 8: "var(--vef-red-8)",
123
+ 9: "var(--vef-red-9)",
124
+ 10: "var(--vef-red-10)"
125
+ },
126
+ "orange": {
127
+ DEFAULT: "var(--vef-orange-6)",
128
+ 1: "var(--vef-orange-1)",
129
+ 2: "var(--vef-orange-2)",
130
+ 3: "var(--vef-orange-3)",
131
+ 4: "var(--vef-orange-4)",
132
+ 5: "var(--vef-orange-5)",
133
+ 6: "var(--vef-orange-6)",
134
+ 7: "var(--vef-orange-7)",
135
+ 8: "var(--vef-orange-8)",
136
+ 9: "var(--vef-orange-9)",
137
+ 10: "var(--vef-orange-10)"
138
+ },
139
+ "yellow": {
140
+ DEFAULT: "var(--vef-yellow-6)",
141
+ 1: "var(--vef-yellow-1)",
142
+ 2: "var(--vef-yellow-2)",
143
+ 3: "var(--vef-yellow-3)",
144
+ 4: "var(--vef-yellow-4)",
145
+ 5: "var(--vef-yellow-5)",
146
+ 6: "var(--vef-yellow-6)",
147
+ 7: "var(--vef-yellow-7)",
148
+ 8: "var(--vef-yellow-8)",
149
+ 9: "var(--vef-yellow-9)",
150
+ 10: "var(--vef-yellow-10)"
151
+ },
152
+ "volcano": {
153
+ DEFAULT: "var(--vef-volcano-6)",
154
+ 1: "var(--vef-volcano-1)",
155
+ 2: "var(--vef-volcano-2)",
156
+ 3: "var(--vef-volcano-3)",
157
+ 4: "var(--vef-volcano-4)",
158
+ 5: "var(--vef-volcano-5)",
159
+ 6: "var(--vef-volcano-6)",
160
+ 7: "var(--vef-volcano-7)",
161
+ 8: "var(--vef-volcano-8)",
162
+ 9: "var(--vef-volcano-9)",
163
+ 10: "var(--vef-volcano-10)"
164
+ },
165
+ "geekblue": {
166
+ DEFAULT: "var(--vef-geekblue-6)",
167
+ 1: "var(--vef-geekblue-1)",
168
+ 2: "var(--vef-geekblue-2)",
169
+ 3: "var(--vef-geekblue-3)",
170
+ 4: "var(--vef-geekblue-4)",
171
+ 5: "var(--vef-geekblue-5)",
172
+ 6: "var(--vef-geekblue-6)",
173
+ 7: "var(--vef-geekblue-7)",
174
+ 8: "var(--vef-geekblue-8)",
175
+ 9: "var(--vef-geekblue-9)",
176
+ 10: "var(--vef-geekblue-10)"
177
+ },
178
+ "gold": {
179
+ DEFAULT: "var(--vef-gold-6)",
180
+ 1: "var(--vef-gold-1)",
181
+ 2: "var(--vef-gold-2)",
182
+ 3: "var(--vef-gold-3)",
183
+ 4: "var(--vef-gold-4)",
184
+ 5: "var(--vef-gold-5)",
185
+ 6: "var(--vef-gold-6)",
186
+ 7: "var(--vef-gold-7)",
187
+ 8: "var(--vef-gold-8)",
188
+ 9: "var(--vef-gold-9)",
189
+ 10: "var(--vef-gold-10)"
190
+ },
191
+ "lime": {
192
+ DEFAULT: "var(--vef-lime-6)",
193
+ 1: "var(--vef-lime-1)",
194
+ 2: "var(--vef-lime-2)",
195
+ 3: "var(--vef-lime-3)",
196
+ 4: "var(--vef-lime-4)",
197
+ 5: "var(--vef-lime-5)",
198
+ 6: "var(--vef-lime-6)",
199
+ 7: "var(--vef-lime-7)",
200
+ 8: "var(--vef-lime-8)",
201
+ 9: "var(--vef-lime-9)",
202
+ 10: "var(--vef-lime-10)"
203
+ },
204
+ "slate": {
205
+ DEFAULT: colors.slate[500],
206
+ 1: colors.slate[50],
207
+ 2: colors.slate[100],
208
+ 3: colors.slate[200],
209
+ 4: colors.slate[300],
210
+ 5: colors.slate[400],
211
+ 6: colors.slate[500],
212
+ 7: colors.slate[600],
213
+ 8: colors.slate[700],
214
+ 9: colors.slate[800],
215
+ 10: colors.slate[900]
216
+ }
217
+ },
218
+ extend: {
219
+ textColor: {
220
+ "primary-alt": "var(--vef-color-primary-text)",
221
+ "primary-alt-hover": "var(--vef-color-primary-text-hover)",
222
+ "primary-alt-active": "var(--vef-color-primary-text-active)",
223
+ "success-alt": "var(--vef-color-success-text)",
224
+ "success-alt-hover": "var(--vef-color-success-text-hover)",
225
+ "success-alt-active": "var(--vef-color-success-text-active)",
226
+ "warning-alt": "var(--vef-color-warning-text)",
227
+ "warning-alt-hover": "var(--vef-color-warning-text-hover)",
228
+ "warning-alt-active": "var(--vef-color-warning-text-active)",
229
+ "error-alt": "var(--vef-color-error-text)",
230
+ "error-alt-hover": "var(--vef-color-error-text-hover)",
231
+ "error-alt-active": "var(--vef-color-error-text-active)",
232
+ "info-alt": "var(--vef-color-info-text)",
233
+ "info-alt-hover": "var(--vef-color-info-text-hover)",
234
+ "info-alt-active": "var(--vef-color-info-text-active)",
235
+ "base": "var(--vef-color-text-base)",
236
+ "default": "var(--vef-color-text)",
237
+ "secondary": "var(--vef-color-text-secondary)",
238
+ "tertiary": "var(--vef-color-text-tertiary)",
239
+ "quaternary": "var(--vef-color-text-quaternary)",
240
+ "placeholder": "var(--vef-color-text-placeholder)",
241
+ "disabled": "var(--vef-color-text-disabled)",
242
+ "heading": "var(--vef-color-text-heading)",
243
+ "label": "var(--vef-color-text-label)",
244
+ "description": "var(--vef-color-text-description)",
245
+ "light-solid": "var(--vef-color-text-light-solid)",
246
+ "highlight": "var(--vef-color-highlight)",
247
+ "icon": "var(--vef-color-icon)",
248
+ "icon-hover": "var(--vef-color-icon-hover)"
249
+ },
250
+ outlineColor: {
251
+ error: "var(--vef-color-error-outline)",
252
+ warning: "var(--vef-color-warning-outline)"
253
+ },
254
+ backgroundColor: {
255
+ "primary-alt": "var(--vef-color-primary-bg)",
256
+ "primary-alt-hover": "var(--vef-color-primary-bg-hover)",
257
+ "success-alt": "var(--vef-color-success-bg)",
258
+ "success-alt-hover": "var(--vef-color-success-bg-hover)",
259
+ "warning-alt": "var(--vef-color-warning-bg)",
260
+ "warning-alt-hover": "var(--vef-color-warning-bg-hover)",
261
+ "error-alt": "var(--vef-color-error-bg)",
262
+ "error-alt-hover": "var(--vef-color-error-bg-hover)",
263
+ "info-alt": "var(--vef-color-info-bg)",
264
+ "info-alt-hover": "var(--vef-color-info-bg-hover)",
265
+ "base": "var(--vef-color-bg-base)",
266
+ "layout": "var(--vef-color-bg-layout)",
267
+ "spotlight": "var(--vef-color-bg-spotlight)",
268
+ "solid": "var(--vef-color-bg-solid)",
269
+ "solid-hover": "var(--vef-color-bg-solid-hover)",
270
+ "solid-active": "var(--vef-color-bg-solid-active)",
271
+ "container": "var(--vef-color-bg-container)",
272
+ "container-disabled": "var(--vef-color-bg-container-disabled)",
273
+ "elevated": "var(--vef-color-bg-elevated)",
274
+ "blur": "var(--vef-color-bg-blur)",
275
+ "fill": "var(--vef-color-fill)",
276
+ "fill-secondary": "var(--vef-color-fill-secondary)",
277
+ "fill-tertiary": "var(--vef-color-fill-tertiary)",
278
+ "fill-quaternary": "var(--vef-color-fill-quaternary)",
279
+ "fill-content": "var(--vef-color-fill-content)",
280
+ "fill-content-hover": "var(--vef-color-fill-content-hover)",
281
+ "fill-alt": "var(--vef-color-fill-alter)",
282
+ "mask": "var(--vef-color-bg-mask)",
283
+ "text-hover": "var(--vef-color-bg-text-hover)",
284
+ "text-active": "var(--vef-color-bg-text-active)",
285
+ "control-item-hover": "var(--vef-control-item-bg-hover)",
286
+ "control-item-active": "var(--vef-control-item-bg-active)",
287
+ "control-item-active-hover": "var(--vef-control-item-bg-active-hover)",
288
+ "control-item-active-disabled": "var(--vef-control-item-bg-active-disabled)"
289
+ },
290
+ borderColor: {
291
+ "primary-alt": "var(--vef-color-primary-border)",
292
+ "primary-alt-hover": "var(--vef-color-primary-border-hover)",
293
+ "success-alt": "var(--vef-color-success-border)",
294
+ "success-alt-hover": "var(--vef-color-success-border-hover)",
295
+ "warning-alt": "var(--vef-color-warning-border)",
296
+ "warning-alt-hover": "var(--vef-color-warning-border-hover)",
297
+ "error-alt": "var(--vef-color-error-border)",
298
+ "error-alt-hover": "var(--vef-color-error-border-hover)",
299
+ "info-alt": "var(--vef-color-info-border)",
300
+ "info-alt-hover": "var(--vef-color-info-border-hover)",
301
+ "base": "var(--vef-color-border)",
302
+ "secondary": "var(--vef-color-border-secondary)"
303
+ },
304
+ fontFamily: {
305
+ base: "var(--vef-font-family)",
306
+ code: "var(--vef-font-family-code)"
307
+ },
308
+ fontSize: {
309
+ base: "var(--vef-font-size)",
310
+ sm: "var(--vef-font-size-sm)",
311
+ lg: "var(--vef-font-size-lg)",
312
+ xl: "var(--vef-font-size-xl)",
313
+ heading1: "var(--vef-font-size-heading-1)",
314
+ heading2: "var(--vef-font-size-heading-2)",
315
+ heading3: "var(--vef-font-size-heading-3)",
316
+ heading4: "var(--vef-font-size-heading-4)",
317
+ heading5: "var(--vef-font-size-heading-5)"
318
+ },
319
+ fontWeight: {
320
+ strong: "var(--vef-font-weight-strong)"
321
+ },
322
+ borderWidth: {
323
+ base: "var(--vef-line-width)",
324
+ bold: "var(--vef-line-width-bold)"
325
+ },
326
+ borderRadius: {
327
+ DEFAULT: "var(--vef-border-radius)",
328
+ xs: "var(--vef-border-radius-xs)",
329
+ sm: "var(--vef-border-radius-sm)",
330
+ lg: "var(--vef-border-radius-lg)",
331
+ outer: "var(--vef-border-radius-outer)"
332
+ },
333
+ height: {
334
+ "control": "var(--vef-control-height)",
335
+ "control-sm": "var(--vef-control-height-sm)",
336
+ "control-xs": "var(--vef-control-height-xs)",
337
+ "control-lg": "var(--vef-control-height-lg)",
338
+ "font": "var(--vef-font-height)",
339
+ "font-sm": "var(--vef-font-height-sm)",
340
+ "font-lg": "var(--vef-font-height-lg)"
341
+ },
342
+ lineHeight: {
343
+ "base": "var(--vef-line-height)",
344
+ "sm": "var(--vef-line-height-sm)",
345
+ "lg": "var(--vef-line-height-lg)",
346
+ "heading-1": "var(--vef-line-height-heading-1)",
347
+ "heading-2": "var(--vef-line-height-heading-2)",
348
+ "heading-3": "var(--vef-line-height-heading-3)",
349
+ "heading-4": "var(--vef-line-height-heading-4)",
350
+ "heading-5": "var(--vef-line-height-heading-5)"
351
+ },
352
+ spacing: {
353
+ base: "var(--vef-margin)",
354
+ xxs: "var(--vef-margin-xxs)",
355
+ xs: "var(--vef-margin-xs)",
356
+ sm: "var(--vef-margin-sm)",
357
+ md: "var(--vef-margin-md)",
358
+ lg: "var(--vef-margin-lg)",
359
+ xl: "var(--vef-margin-xl)",
360
+ xxl: "var(--vef-margin-xxl)"
361
+ },
362
+ boxShadow: {
363
+ base: "var(--vef-box-shadow)",
364
+ secondary: "var(--vef-box-shadow-secondary)",
365
+ tertiary: "var(--vef-box-shadow-tertiary)",
366
+ card: "var(--vef-box-shadow-card)",
367
+ elevated: "0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"
368
+ },
369
+ transitionDuration: {
370
+ fast: "var(--vef-motion-duration-fast)",
371
+ mid: "var(--vef-motion-duration-mid)",
372
+ slow: "var(--vef-motion-duration-slow)"
373
+ },
374
+ transitionTimingFunction: {
375
+ "ease-out-circ": "var(--vef-motion-ease-out-circ)",
376
+ "ease-in-out-circ": "var(--vef-motion-ease-in-out-circ)",
377
+ "ease-out": "var(--vef-motion-ease-out)",
378
+ "ease-in-out": "var(--vef-motion-ease-in-out)",
379
+ "ease-out-back": "var(--vef-motion-ease-out-back)",
380
+ "ease-in-back": "var(--vef-motion-ease-in-back)",
381
+ "ease-in-quint": "var(--vef-motion-ease-in-quint)",
382
+ "ease-out-quint": "var(--vef-motion-ease-out-quint)"
383
+ },
384
+ zIndex: {
385
+ base: "var(--vef-z-index-base)",
386
+ popup: "var(--vef-z-index-popup)"
387
+ }
388
+ }
389
+ }
390
+ };
391
+ }
392
+
393
+ export { defineTailwindConfig };
package/esm/types.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ "use strict";
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@vef-framework/dev",
3
3
  "type": "module",
4
- "version": "1.0.122",
4
+ "version": "1.0.124",
5
5
  "private": false,
6
- "packageManager": "pnpm@9.15.0",
7
6
  "description": "The development tools of the VEF framework",
8
7
  "author": "Venus",
9
8
  "keywords": [
@@ -15,8 +14,8 @@
15
14
  "exports": {
16
15
  ".": {
17
16
  "types": "./types/index.d.ts",
18
- "import": "./es/index.js",
19
- "require": "./lib/index.cjs"
17
+ "import": "./esm/index.js",
18
+ "require": "./cjs/index.cjs"
20
19
  },
21
20
  "./client": {
22
21
  "types": "./client.d.ts"
@@ -24,7 +23,7 @@
24
23
  "./tsconfig.app.json": "./tsconfig.app.json",
25
24
  "./tsconfig.build.json": "./tsconfig.build.json"
26
25
  },
27
- "main": "es/index.js",
26
+ "main": "cjs/index.cjs",
28
27
  "types": "types/index.d.ts",
29
28
  "bin": {
30
29
  "vef": "bin/vef.js"
@@ -36,21 +35,21 @@
36
35
  "node": ">=20"
37
36
  },
38
37
  "dependencies": {
39
- "@antfu/eslint-config": "4.8.1",
38
+ "@antfu/eslint-config": "4.10.1",
40
39
  "@commitlint/cli": "19.8.0",
41
40
  "@commitlint/config-conventional": "19.8.0",
42
41
  "@commitlint/format": "19.8.0",
43
42
  "@commitlint/types": "19.8.0",
44
- "@eslint-react/eslint-plugin": "1.31.0",
45
- "@iconify-json/hugeicons": "^1.2.3",
46
- "@iconify-json/lucide": "^1.2.28",
43
+ "@eslint-react/eslint-plugin": "1.34.1",
44
+ "@iconify-json/hugeicons": "^1.2.4",
45
+ "@iconify-json/lucide": "^1.2.30",
47
46
  "@iconify-json/mingcute": "^1.2.3",
48
47
  "@iconify-json/tabler": "^1.2.17",
49
48
  "@svgr/plugin-svgo": "^8.1.0",
50
49
  "@tailwindcss/container-queries": "^0.1.1",
51
- "@tailwindcss/vite": "^4.0.12",
52
- "@tanstack/eslint-plugin-router": "^1.114.3",
53
- "@tanstack/router-plugin": "^1.114.3",
50
+ "@tailwindcss/vite": "^4.0.14",
51
+ "@tanstack/eslint-plugin-router": "^1.114.12",
52
+ "@tanstack/router-plugin": "^1.114.23",
54
53
  "@vitejs/plugin-react-swc": "^3.8.0",
55
54
  "browserslist": "^4.24.4",
56
55
  "chalk": "^5.4.1",
@@ -66,23 +65,23 @@
66
65
  "fs-extra": "^11.3.0",
67
66
  "html-minifier-terser": "^7.2.0",
68
67
  "husky": "9.1.7",
69
- "lint-staged": "^15.4.3",
68
+ "lint-staged": "^15.5.0",
70
69
  "local-pkg": "^1.1.1",
71
70
  "ora": "^8.2.0",
72
71
  "prompts": "^2.4.2",
73
- "radashi": "12.3.4",
72
+ "radashi": "12.4.0",
74
73
  "rollup-plugin-visualizer": "^5.14.0",
75
74
  "sass-embedded": "^1.85.1",
76
- "stylelint": "^16.15.0",
75
+ "stylelint": "^16.16.0",
77
76
  "stylelint-config-recess-order": "^6.0.0",
78
77
  "stylelint-config-recommended": "^15.0.0",
79
78
  "stylelint-config-standard-scss": "^14.0.0",
80
79
  "stylelint-order": "^6.0.4",
81
- "tailwindcss": "^4.0.12",
80
+ "tailwindcss": "^4.0.14",
82
81
  "tslib": "2.8.1",
83
82
  "unplugin-config": "^0.1.5",
84
83
  "unplugin-icons": "^22.1.0",
85
- "vite": "6.2.1",
84
+ "vite": "6.2.2",
86
85
  "vite-plugin-eslint2": "^5.0.3",
87
86
  "vite-plugin-inspect": "^11.0.0",
88
87
  "vite-plugin-stylelint": "^6.0.0",
@@ -92,5 +91,7 @@
92
91
  },
93
92
  "publishConfig": {
94
93
  "access": "public"
95
- }
94
+ },
95
+ "module": "esm/index.js",
96
+ "packageManager": "pnpm@10.6.3"
96
97
  }
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tanstack/react-router": "^1.0.0",
21
- "@vef-framework/components": "1.0.122",
22
- "@vef-framework/core": "1.0.122",
23
- "@vef-framework/hooks": "1.0.122",
24
- "@vef-framework/shared": "1.0.122",
25
- "@vef-framework/starter": "1.0.122",
21
+ "@vef-framework/components": "1.0.124",
22
+ "@vef-framework/core": "1.0.124",
23
+ "@vef-framework/hooks": "1.0.124",
24
+ "@vef-framework/shared": "1.0.124",
25
+ "@vef-framework/starter": "1.0.124",
26
26
  "react": "18.3.1",
27
27
  "react-dom": "18.3.1"
28
28
  },
package/es/cli.js DELETED
@@ -1,4 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */import chalk from"chalk";import{program}from"commander";import consola from"consola";import{execa}from"execa";import fsExtra from"fs-extra";import{resolve}from"node:path";import process from"node:process";import ora from"ora";import prompts from"prompts";import{loadConfigFromFile,createServer,build,preview}from"vite";const{exists,readJsonSync,writeFile,readJson,writeJson,copy,readFile,move}=fsExtra,currentDir=process.cwd();function readPackageVersion(){const packageJsonPath=resolve(import.meta.dirname,"../package.json");return readJsonSync(packageJsonPath,{encoding:"utf-8"}).version}const frameworkVersion=readPackageVersion();async function importHoistPatterns(){return(await import("../bin/hoist-patterns.js")).default}function resolveEnvMode(command,userMode){return userMode||(command==="build"?"production":"development")}async function loadVefConfig(configPath,command,mode){const vefConfigPath=resolve(currentDir,configPath||"vef.config.ts");if(!await exists(vefConfigPath))throw consola.error(`Config file not found: ${vefConfigPath}, it is required for VEF Framework`),new Error(`Config file not found: ${vefConfigPath}`);return(await loadConfigFromFile({command,mode},vefConfigPath))?.config??{}}function handleError(phase,error){consola.error(`Error during ${phase}:`,error),process.exit(1)}program.name("vef").description(chalk.magenta("VEF Framework CLI")).addHelpText("before",chalk.blue("VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus.")).addHelpText("before",chalk.bgGreenBright(`Version: ${frameworkVersion}`)).version(frameworkVersion).option("--mode <mode>","Specify running mode (will override default NODE_ENV)"),program.command("dev").description("Start dev server").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("serve",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"serve",mode),server=await createServer({...config,mode,configFile:!1,logLevel:"info"});await server.listen(),server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("dev server startup",e)}}),program.command("build").description("Build for production").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode);await build({...config,mode,configFile:!1,logLevel:"info"}),consola.success("Build completed successfully!")}catch(e){handleError("build",e)}}),program.command("preview").description("Preview the build").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode),server=await preview({...config,mode,configFile:!1,logLevel:"info"});server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("preview server startup",e)}}),program.command("prepare").description("Sets up the project for development mode").action(async()=>{await exists(resolve(currentDir,".husky"))||((await import("husky")).default(),consola.success("Successfully set up husky")),await exists(resolve(currentDir,".husky/pre-commit"))||(await writeFile(resolve(currentDir,".husky/pre-commit"),"pnpm dlx lint-staged"),consola.success("Successfully set up pre-commit hook")),await exists(resolve(currentDir,".husky/commit-msg"))||(await writeFile(resolve(currentDir,".husky/commit-msg"),"pnpm dlx commitlint --edit $1"),consola.success("Successfully set up commit-msg hook"));const packageJson=await readJson(resolve(currentDir,"package.json"),{encoding:"utf-8"}),{scripts}=packageJson;let changed=!1;scripts.prepare||(scripts.prepare="vef prepare",changed=!0),changed&&(await writeJson(resolve(currentDir,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully set up prepare script and lint-staged"))}),program.command("install").description("Install the dependencies of the project").action(async()=>{const hoistedPatterns=await importHoistPatterns();await execa({cwd:currentDir,stdio:"inherit"})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])])}),program.command("update").description("Update the dependencies of the vef framework to latest version").action(async()=>{await execa({cwd:currentDir,stdio:"inherit"})("pnpm",["update","@vef-framework/*"])}),program.command("init").description("Initialize an empty VEF project").action(async()=>{console.log(chalk.blue(`Welcome to use the cli tool of VEF Framework
2
- `));const result=await prompts([{type:"text",name:"appName",message:"What is the name of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App name is required"},{type:"text",name:"appTitle",message:"What is the title of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App title is required"}]),{appName,appTitle}=result;await copy(resolve(import.meta.dirname,"../template"),resolve(currentDir,appName)),consola.success("Successfully copied template files"),await move(resolve(currentDir,appName,"_gitignore"),resolve(currentDir,appName,".gitignore")),await move(resolve(currentDir,appName,"_tsconfig.json"),resolve(currentDir,appName,"tsconfig.json")),await move(resolve(currentDir,appName,"_package.json"),resolve(currentDir,appName,"package.json"));const packageJson=await readJson(resolve(currentDir,appName,"package.json"),{encoding:"utf-8"});packageJson.name=appName,await writeJson(resolve(currentDir,appName,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully replaced name and title in package.json");const replacedEnvContent=(await readFile(resolve(currentDir,appName,"env/.env"),{encoding:"utf-8"})).replace(/APP_NAME=.*$/m,`APP_NAME=${appName}`).replace(/APP_TITLE=.*$/m,`APP_TITLE=${appTitle}`);await writeFile(resolve(currentDir,appName,"env/.env"),replacedEnvContent),consola.success("Successfully replaced name and title in .env file");const spinner=ora("Initializing git repository...").start();try{await execa`git --version`,await execa({cwd:resolve(currentDir,appName)})`git init`,spinner.succeed("Successfully initialized git repository")}catch(e){spinner.fail("Failed to initialize git repository"),handleError("init",e)}spinner.start("Installing dependencies...");try{const hoistedPatterns=await importHoistPatterns();await execa({cwd:resolve(currentDir,appName)})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])]),spinner.succeed("Successfully installed dependencies")}catch(e){spinner.fail("Failed to install dependencies"),handleError("init",e)}consola.success(chalk.green(`
3
- 🎉🎉🎉 VEF project created successfully !`)),console.log(chalk.blue(`
4
- ✨ Next steps:`)),console.log(chalk.cyan(` cd ${appName}`)),console.log(chalk.cyan(" pnpm dev"))}),program.parse();/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */function defineCommitlintConfig(){return{extends:["@commitlint/config-conventional"],formatter:"@commitlint/format"}}/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */export{defineCommitlintConfig};
package/es/config.js DELETED
@@ -1 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */import consola from"consola";import fsExtra from"fs-extra";import{resolve}from"node:path";import{defineConfig as defineConfig$1,loadEnv}from"vite";import{ENV_DIR,ENV_BUILD_PREFIX}from"./constants.js";import{createAppConfigPlugin}from"./plugin-app-config.js";import{createConventionalConfigPlugin}from"./plugin-conventional-config.js";import{createEslintPlugin}from"./plugin-eslint.js";import{createHtmlPlugin}from"./plugin-html.js";import{createIconsPlugin}from"./plugin-icons.js";import{createInitializationPlugin}from"./plugin-initialization.js";import{createInjectionPlugin}from"./plugin-injection.js";import{createInspectPlugin}from"./plugin-inspect.js";import{createReactSwcPlugin}from"./plugin-react-swc.js";import{createRouterPlugin}from"./plugin-router.js";import{createStylelintPlugin}from"./plugin-stylelint.js";import{createSvgrPlugin}from"./plugin-svgr.js";import{createTailwindPlugin}from"./plugin-tailwind.js";import{createTailwindcssPlugin}from"./plugin-tailwindcss.js";import{createTsconfigPathsPlugin}from"./plugin-tsconfig-paths.js";import{createVisualizerPlugin}from"./plugin-visualizer.js";import{createWebfontPlugin}from"./plugin-webfont.js";const{readJson}=fsExtra;function defineConfig({projectDir,proxies,visualizer=!1,routerHistory="browser",autoCodeSplitting=!0}){return defineConfig$1(async({mode})=>{const env=loadEnv(mode,ENV_DIR,ENV_BUILD_PREFIX);Object.keys(env).length>0&&(consola.info("Loaded environment variables:"),console.table(env));const appVersion=await getAppVersion(projectDir);return{plugins:[createInspectPlugin(),createConventionalConfigPlugin({appVersion,projectDir,basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,serverPort:Number(env.VEF_BUILD_SERVER_PORT),proxies}),createReactSwcPlugin(),createTsconfigPathsPlugin(projectDir),createHtmlPlugin(),createTailwindPlugin(),createTailwindcssPlugin(),createInjectionPlugin(),createAppConfigPlugin({basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,appName:env.VEF_APP_NAME}),createInitializationPlugin(),createIconsPlugin(projectDir),createSvgrPlugin(),createWebfontPlugin(),createRouterPlugin(projectDir,routerHistory,autoCodeSplitting),createEslintPlugin(),createStylelintPlugin(),visualizer?createVisualizerPlugin(projectDir):void 0].filter(Boolean)}})}async function getAppVersion(projectDir){return(await readJson(resolve(projectDir,"package.json"),{encoding:"utf-8"})).version}/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */export{defineConfig};
package/es/constants.js DELETED
@@ -1 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */const PUBLIC_DIR="public",ENV_DIR="env",ASSETS_DIR="assets",ENV_APP_PREFIX="VEF_APP_",ENV_BUILD_PREFIX="VEF_BUILD_",SRC_DIR="src",DEFAULT_OUTPUT_DIR="dist",DEFAULT_SERVER_PORT=3833,DEFAULT_APP_NAME="APP",PAGES_DIR="pages",ROUTER_DIR="router";/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */export{ASSETS_DIR,DEFAULT_APP_NAME,DEFAULT_OUTPUT_DIR,DEFAULT_SERVER_PORT,ENV_APP_PREFIX,ENV_BUILD_PREFIX,ENV_DIR,PAGES_DIR,PUBLIC_DIR,ROUTER_DIR,SRC_DIR};
@@ -1 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */import{antfu}from"@antfu/eslint-config";import pluginRouter from"@tanstack/eslint-plugin-router";function defineEslintConfig(){return antfu({ignores:["**/node_modules","**/dist","**/public"],stylistic:{indent:2,jsx:!0,quotes:"double",semi:!0,overrides:{"style/line-comment-position":["error",{position:"above"}],"style/jsx-self-closing-comp":["error",{component:!0,html:!0}],"style/jsx-newline":["error",{prevent:!0,allowMultilines:!0}],"style/jsx-props-no-multi-spaces":"error","style/jsx-sort-props":["error",{callbacksLast:!0,shorthandFirst:!0,shorthandLast:!1,multiline:"last",ignoreCase:!0,noSortAlphabetically:!1,reservedFirst:["key","ref"]}],"style/newline-per-chained-call":["error",{ignoreChainWithDepth:3}],"style/object-property-newline":"error","style/brace-style":["error","1tbs"],"style/arrow-parens":["error","as-needed"],"style/multiline-comment-style":["error","separate-lines",{checkJSDoc:!1}],"style/implicit-arrow-linebreak":["error","beside"],"style/no-extra-semi":"error","style/array-element-newline":["error",{consistent:!0,multiline:!0,minItems:7}],"style/function-call-argument-newline":["error","consistent"],"style/padding-line-between-statements":["error",{blankLine:"always",prev:"*",next:["block","multiline-block-like","type","interface","enum","function","function-overload"]},{blankLine:"always",prev:["block","multiline-block-like","type","interface","enum","function","function-overload"],next:"*"}],"style/jsx-pascal-case":["error",{allowAllCaps:!1,allowLeadingUnderscore:!1,allowNamespace:!1,ignore:[]}],"style/switch-colon-spacing":["error",{before:!1,after:!0}],"style/object-curly-newline":["error",{ObjectExpression:{multiline:!0,consistent:!0,minProperties:3},ObjectPattern:{multiline:!0,consistent:!0,minProperties:3},ImportDeclaration:{consistent:!0,multiline:!0},ExportDeclaration:{consistent:!0,multiline:!0}}],"style/no-extra-parens":["error","all",{nestedBinaryExpressions:!1,ternaryOperandBinaryExpressions:!1,ignoreJSX:"multi-line"}]}},javascript:{overrides:{"no-duplicate-imports":"off","prefer-object-spread":"error","func-style":["error","declaration",{allowArrowFunctions:!0}],curly:["error","all"],"no-useless-escape":"error","no-useless-concat":"error","no-unused-private-class-members":"error","no-unsafe-optional-chaining":"error","no-dupe-else-if":"error","no-eq-null":"error","no-extra-label":"error","no-negated-condition":"error","no-invalid-this":"error","arrow-body-style":["error","as-needed"],"prefer-object-has-own":"error","prefer-numeric-literals":"error","prefer-named-capture-group":"error","prefer-destructuring":"error","object-shorthand":"error","require-atomic-updates":"error","require-await":"error",camelcase:["error",{properties:"always",ignoreGlobals:!0}],"no-promise-executor-return":["error",{allowVoid:!0}],"sort-imports":"off","no-console":"off"}},typescript:{overrides:{"ts/no-unused-expressions":["error",{enforceForJSX:!0}],"ts/no-unused-vars":["error",{args:"after-used",caughtErrors:"all",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0}],"ts/array-type":["error",{default:"array-simple",readonly:"array-simple"}],"ts/consistent-type-assertions":["error",{assertionStyle:"as",objectLiteralTypeAssertions:"allow"}],"ts/consistent-type-definitions":["error","interface"],"ts/max-params":["error",{max:5}]}},react:{overrides:{"react-naming-convention/component-name":["error","PascalCase"],"react-naming-convention/filename-extension":["error",{allow:"as-needed",extensions:[".tsx"]}],"react-hooks-extra/no-redundant-custom-hook":"error","react-hooks-extra/no-unnecessary-use-memo":"error","react-hooks-extra/no-unnecessary-use-callback":"error","react-naming-convention/use-state":"error","react-refresh/only-export-components":"error","react-hooks/exhaustive-deps":["error",{additionalHooks:"^use(Deep|Shallow)"}],"react/no-clone-element":"off","react/no-class-component":"error","react/no-children-prop":"off","react/no-children-to-array":"off","react/no-children-for-each":"off","react/no-children-count":"off"}},vue:!1,jsx:!0,regexp:!0,jsonc:!0,yaml:!0,toml:!0,markdown:{overrides:{"markdown/fenced-code-language":"error","markdown/no-duplicate-headings":"error","markdown/no-empty-links":"error"}},test:!0,formatters:{markdown:"prettier",prettierOptions:{singleQuote:!1,semi:!0,tabWidth:2,useTabs:!1,trailingComma:"all",endOfLine:"lf",printWidth:160,proseWrap:"never",arrowParens:"avoid",htmlWhitespaceSensitivity:"strict",bracketSameLine:!0,bracketSpacing:!0,quoteProps:"as-needed",jsxSingleQuote:!1,singleAttributePerLine:!1}}},{rules:{"unicorn/filename-case":["error",{case:"kebabCase",ignore:["README.md"]}],"unicorn/prefer-date-now":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-object-from-entries":"error","unicorn/prefer-default-parameters":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/no-array-push-push":"error","unicorn/no-empty-file":"error","unicorn/no-array-for-each":"error","unicorn/no-for-loop":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-polyfills":"error","unicorn/no-useless-undefined":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-spread":"error","unicorn/no-console-spaces":"error","unicorn/no-unused-properties":"error","unicorn/no-useless-promise-resolve-reject":"error","import/order":"off","import/first":"error","import/export":"error","import/no-named-as-default":"off","import/no-named-default":"off","perfectionist/sort-imports":["error",{type:"natural"}],"perfectionist/sort-exports":["error",{type:"natural"}],"perfectionist/sort-named-imports":["error",{type:"natural",groupKind:"values-first"}],"perfectionist/sort-named-exports":["error",{type:"natural",groupKind:"values-first"}],"eslint-comments/no-unlimited-disable":"off"}},{ignores:["**/*.md","**/*.md/*.{ts,tsx}","**/src/pages/__root.{ts,tsx}"],rules:{"react-naming-convention/filename":["error",{rule:"kebab-case"}]}},...pluginRouter.configs["flat/recommended"])}/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */export{defineEslintConfig};
package/es/index.js DELETED
@@ -1 +0,0 @@
1
- /*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.960Z, made by Venus. */import{defineCommitlintConfig}from"./commitlint-config.js";import{defineConfig}from"./config.js";import{defineEslintConfig}from"./eslint-config.js";import{defineStylelintConfig}from"./stylelint-config.js";import{defineTailwindConfig}from"./tailwind-config.js";/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */export{defineCommitlintConfig,defineConfig,defineEslintConfig,defineStylelintConfig,defineTailwindConfig};