create-project-template-cli 1.0.1 → 1.0.4

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 (38) hide show
  1. package/README.md +112 -5
  2. package/index.js +133 -133
  3. package/package.json +9 -4
  4. package/template/react-shadcn/.husky/commit-msg +4 -4
  5. package/template/react-shadcn/.stylelintignore +19 -19
  6. package/template/react-shadcn/.stylelintrc.cjs +258 -258
  7. package/template/react-shadcn/.vscode/extensions.json +7 -7
  8. package/template/react-shadcn/README.md +75 -75
  9. package/template/react-shadcn/commitlint.config.cjs +90 -90
  10. package/template/react-shadcn/components.json +22 -22
  11. package/template/react-shadcn/eslint.config.js +58 -58
  12. package/template/react-shadcn/index.html +13 -13
  13. package/template/react-shadcn/lint-staged.config.cjs +4 -4
  14. package/template/react-shadcn/package.json +62 -62
  15. package/template/react-shadcn/pnpm-lock.yaml +4514 -4514
  16. package/template/react-shadcn/src/App.css +23 -23
  17. package/template/react-shadcn/src/App.tsx +20 -20
  18. package/template/react-shadcn/src/assets/css/tailwindcss.css +120 -120
  19. package/template/react-shadcn/src/components/ui/button.tsx +58 -58
  20. package/template/react-shadcn/src/components/ui/card.tsx +92 -92
  21. package/template/react-shadcn/src/components/ui/input.tsx +21 -21
  22. package/template/react-shadcn/src/components/ui/label.tsx +22 -22
  23. package/template/react-shadcn/src/components/ui/navigation-menu.tsx +168 -168
  24. package/template/react-shadcn/src/lib/utils.ts +6 -6
  25. package/template/react-shadcn/src/main.tsx +11 -11
  26. package/template/react-shadcn/src/router/index.tsx +71 -71
  27. package/template/react-shadcn/src/views/404/index.scss +133 -133
  28. package/template/react-shadcn/src/views/404/index.tsx +26 -26
  29. package/template/react-shadcn/src/views/Index/index.tsx +7 -7
  30. package/template/react-shadcn/src/views/index.tsx +58 -58
  31. package/template/react-shadcn/tsconfig.app.json +33 -33
  32. package/template/react-shadcn/tsconfig.json +13 -13
  33. package/template/react-shadcn/tsconfig.node.json +32 -32
  34. package/template/react-shadcn/vite.config.ts +36 -36
  35. package/template/vue-tailwindcss/src/axios/index.ts +1 -1
  36. package/utils.js +73 -73
  37. package/template/react-shadcn/.gitignore +0 -24
  38. package/template/vue-tailwindcss/.gitignore +0 -30
@@ -1,258 +1,258 @@
1
- module.exports = {
2
- extends: [
3
- "stylelint-config-standard",
4
- "stylelint-config-standard-scss",
5
- "stylelint-config-recommended-scss",
6
- ],
7
- plugins: ["stylelint-scss", "stylelint-order"],
8
- rules: {
9
- "no-irregular-whitespace": true,
10
- // 指定样式的排序
11
- "order/properties-order": [
12
- [
13
- "content",
14
- "position",
15
- "top",
16
- "right",
17
- "bottom",
18
- "left",
19
- "z-index",
20
- "display",
21
- "vertical-align",
22
- "flex",
23
- "flex-grow",
24
- "flex-shrink",
25
- "flex-basis",
26
- "flex-direction",
27
- "flex-flow",
28
- "flex-wrap",
29
- "grid",
30
- "grid-area",
31
- "grid-template",
32
- "grid-template-areas",
33
- "grid-template-rows",
34
- "grid-template-columns",
35
- "grid-row",
36
- "grid-row-start",
37
- "grid-row-end",
38
- "grid-column",
39
- "grid-column-start",
40
- "grid-column-end",
41
- "grid-auto-rows",
42
- "grid-auto-columns",
43
- "grid-auto-flow",
44
- "grid-gap",
45
- "grid-row-gap",
46
- "grid-column-gap",
47
- "gap",
48
- "row-gap",
49
- "column-gap",
50
- "align-content",
51
- "align-items",
52
- "align-self",
53
- "justify-content",
54
- "justify-items",
55
- "justify-self",
56
- "order",
57
- "float",
58
- "clear",
59
- "object-fit",
60
- "overflow",
61
- "overflow-x",
62
- "overflow-y",
63
- "overflow-scrolling",
64
- "clip",
65
-
66
- //
67
- "box-sizing",
68
- "width",
69
- "min-width",
70
- "max-width",
71
- "height",
72
- "min-height",
73
- "max-height",
74
- "margin",
75
- "margin-top",
76
- "margin-right",
77
- "margin-bottom",
78
- "margin-left",
79
- "padding",
80
- "padding-top",
81
- "padding-right",
82
- "padding-bottom",
83
- "padding-left",
84
- "border",
85
- "border-spacing",
86
- "border-collapse",
87
- "border-width",
88
- "border-style",
89
- "border-color",
90
- "border-top",
91
- "border-top-width",
92
- "border-top-style",
93
- "border-top-color",
94
- "border-right",
95
- "border-right-width",
96
- "border-right-style",
97
- "border-right-color",
98
- "border-bottom",
99
- "border-bottom-width",
100
- "border-bottom-style",
101
- "border-bottom-color",
102
- "border-left",
103
- "border-left-width",
104
- "border-left-style",
105
- "border-left-color",
106
- "border-radius",
107
- "border-top-left-radius",
108
- "border-top-right-radius",
109
- "border-bottom-right-radius",
110
- "border-bottom-left-radius",
111
- "border-image",
112
- "border-image-source",
113
- "border-image-slice",
114
- "border-image-width",
115
- "border-image-outset",
116
- "border-image-repeat",
117
- "border-top-image",
118
- "border-right-image",
119
- "border-bottom-image",
120
- "border-left-image",
121
- "border-corner-image",
122
- "border-top-left-image",
123
- "border-top-right-image",
124
- "border-bottom-right-image",
125
- "border-bottom-left-image",
126
-
127
- //
128
- "background",
129
- "background-color",
130
- "background-image",
131
- "background-attachment",
132
- "background-position",
133
- "background-position-x",
134
- "background-position-y",
135
- "background-clip",
136
- "background-origin",
137
- "background-size",
138
- "background-repeat",
139
- "color",
140
- "box-decoration-break",
141
- "box-shadow",
142
- "outline",
143
- "outline-width",
144
- "outline-style",
145
- "outline-color",
146
- "outline-offset",
147
- "table-layout",
148
- "caption-side",
149
- "empty-cells",
150
- "list-style",
151
- "list-style-position",
152
- "list-style-type",
153
- "list-style-image",
154
-
155
- //
156
- "font",
157
- "font-weight",
158
- "font-style",
159
- "font-variant",
160
- "font-size-adjust",
161
- "font-stretch",
162
- "font-size",
163
- "font-family",
164
- "src",
165
- "line-height",
166
- "letter-spacing",
167
- "quotes",
168
- "counter-increment",
169
- "counter-reset",
170
- "-ms-writing-mode",
171
- "text-align",
172
- "text-align-last",
173
- "text-decoration",
174
- "text-emphasis",
175
- "text-emphasis-position",
176
- "text-emphasis-style",
177
- "text-emphasis-color",
178
- "text-indent",
179
- "text-justify",
180
- "text-outline",
181
- "text-transform",
182
- "text-wrap",
183
- "text-overflow",
184
- "text-overflow-ellipsis",
185
- "text-overflow-mode",
186
- "text-shadow",
187
- "white-space",
188
- "word-spacing",
189
- "word-wrap",
190
- "word-break",
191
- "overflow-wrap",
192
- "tab-size",
193
- "hyphens",
194
- "interpolation-mode",
195
-
196
- //
197
- "opacity",
198
- "visibility",
199
- "filter",
200
- "resize",
201
- "cursor",
202
- "pointer-events",
203
- "user-select",
204
-
205
- //
206
- "unicode-bidi",
207
- "direction",
208
- "columns",
209
- "column-span",
210
- "column-width",
211
- "column-count",
212
- "column-fill",
213
- "column-gap",
214
- "column-rule",
215
- "column-rule-width",
216
- "column-rule-style",
217
- "column-rule-color",
218
- "break-before",
219
- "break-inside",
220
- "break-after",
221
- "page-break-before",
222
- "page-break-inside",
223
- "page-break-after",
224
- "orphans",
225
- "widows",
226
- "zoom",
227
- "max-zoom",
228
- "min-zoom",
229
- "user-zoom",
230
- "orientation",
231
- "fill",
232
- "stroke",
233
-
234
- //
235
- "transition",
236
- "transition-delay",
237
- "transition-timing-function",
238
- "transition-duration",
239
- "transition-property",
240
- "transform",
241
- "transform-origin",
242
- "animation",
243
- "animation-name",
244
- "animation-duration",
245
- "animation-play-state",
246
- "animation-timing-function",
247
- "animation-delay",
248
- "animation-iteration-count",
249
- "animation-direction",
250
- "animation-fill-mode",
251
- ],
252
- {
253
- unspecified: "bottom",
254
- severity: "error",
255
- },
256
- ],
257
- },
258
- };
1
+ module.exports = {
2
+ extends: [
3
+ "stylelint-config-standard",
4
+ "stylelint-config-standard-scss",
5
+ "stylelint-config-recommended-scss",
6
+ ],
7
+ plugins: ["stylelint-scss", "stylelint-order"],
8
+ rules: {
9
+ "no-irregular-whitespace": true,
10
+ // 指定样式的排序
11
+ "order/properties-order": [
12
+ [
13
+ "content",
14
+ "position",
15
+ "top",
16
+ "right",
17
+ "bottom",
18
+ "left",
19
+ "z-index",
20
+ "display",
21
+ "vertical-align",
22
+ "flex",
23
+ "flex-grow",
24
+ "flex-shrink",
25
+ "flex-basis",
26
+ "flex-direction",
27
+ "flex-flow",
28
+ "flex-wrap",
29
+ "grid",
30
+ "grid-area",
31
+ "grid-template",
32
+ "grid-template-areas",
33
+ "grid-template-rows",
34
+ "grid-template-columns",
35
+ "grid-row",
36
+ "grid-row-start",
37
+ "grid-row-end",
38
+ "grid-column",
39
+ "grid-column-start",
40
+ "grid-column-end",
41
+ "grid-auto-rows",
42
+ "grid-auto-columns",
43
+ "grid-auto-flow",
44
+ "grid-gap",
45
+ "grid-row-gap",
46
+ "grid-column-gap",
47
+ "gap",
48
+ "row-gap",
49
+ "column-gap",
50
+ "align-content",
51
+ "align-items",
52
+ "align-self",
53
+ "justify-content",
54
+ "justify-items",
55
+ "justify-self",
56
+ "order",
57
+ "float",
58
+ "clear",
59
+ "object-fit",
60
+ "overflow",
61
+ "overflow-x",
62
+ "overflow-y",
63
+ "overflow-scrolling",
64
+ "clip",
65
+
66
+ //
67
+ "box-sizing",
68
+ "width",
69
+ "min-width",
70
+ "max-width",
71
+ "height",
72
+ "min-height",
73
+ "max-height",
74
+ "margin",
75
+ "margin-top",
76
+ "margin-right",
77
+ "margin-bottom",
78
+ "margin-left",
79
+ "padding",
80
+ "padding-top",
81
+ "padding-right",
82
+ "padding-bottom",
83
+ "padding-left",
84
+ "border",
85
+ "border-spacing",
86
+ "border-collapse",
87
+ "border-width",
88
+ "border-style",
89
+ "border-color",
90
+ "border-top",
91
+ "border-top-width",
92
+ "border-top-style",
93
+ "border-top-color",
94
+ "border-right",
95
+ "border-right-width",
96
+ "border-right-style",
97
+ "border-right-color",
98
+ "border-bottom",
99
+ "border-bottom-width",
100
+ "border-bottom-style",
101
+ "border-bottom-color",
102
+ "border-left",
103
+ "border-left-width",
104
+ "border-left-style",
105
+ "border-left-color",
106
+ "border-radius",
107
+ "border-top-left-radius",
108
+ "border-top-right-radius",
109
+ "border-bottom-right-radius",
110
+ "border-bottom-left-radius",
111
+ "border-image",
112
+ "border-image-source",
113
+ "border-image-slice",
114
+ "border-image-width",
115
+ "border-image-outset",
116
+ "border-image-repeat",
117
+ "border-top-image",
118
+ "border-right-image",
119
+ "border-bottom-image",
120
+ "border-left-image",
121
+ "border-corner-image",
122
+ "border-top-left-image",
123
+ "border-top-right-image",
124
+ "border-bottom-right-image",
125
+ "border-bottom-left-image",
126
+
127
+ //
128
+ "background",
129
+ "background-color",
130
+ "background-image",
131
+ "background-attachment",
132
+ "background-position",
133
+ "background-position-x",
134
+ "background-position-y",
135
+ "background-clip",
136
+ "background-origin",
137
+ "background-size",
138
+ "background-repeat",
139
+ "color",
140
+ "box-decoration-break",
141
+ "box-shadow",
142
+ "outline",
143
+ "outline-width",
144
+ "outline-style",
145
+ "outline-color",
146
+ "outline-offset",
147
+ "table-layout",
148
+ "caption-side",
149
+ "empty-cells",
150
+ "list-style",
151
+ "list-style-position",
152
+ "list-style-type",
153
+ "list-style-image",
154
+
155
+ //
156
+ "font",
157
+ "font-weight",
158
+ "font-style",
159
+ "font-variant",
160
+ "font-size-adjust",
161
+ "font-stretch",
162
+ "font-size",
163
+ "font-family",
164
+ "src",
165
+ "line-height",
166
+ "letter-spacing",
167
+ "quotes",
168
+ "counter-increment",
169
+ "counter-reset",
170
+ "-ms-writing-mode",
171
+ "text-align",
172
+ "text-align-last",
173
+ "text-decoration",
174
+ "text-emphasis",
175
+ "text-emphasis-position",
176
+ "text-emphasis-style",
177
+ "text-emphasis-color",
178
+ "text-indent",
179
+ "text-justify",
180
+ "text-outline",
181
+ "text-transform",
182
+ "text-wrap",
183
+ "text-overflow",
184
+ "text-overflow-ellipsis",
185
+ "text-overflow-mode",
186
+ "text-shadow",
187
+ "white-space",
188
+ "word-spacing",
189
+ "word-wrap",
190
+ "word-break",
191
+ "overflow-wrap",
192
+ "tab-size",
193
+ "hyphens",
194
+ "interpolation-mode",
195
+
196
+ //
197
+ "opacity",
198
+ "visibility",
199
+ "filter",
200
+ "resize",
201
+ "cursor",
202
+ "pointer-events",
203
+ "user-select",
204
+
205
+ //
206
+ "unicode-bidi",
207
+ "direction",
208
+ "columns",
209
+ "column-span",
210
+ "column-width",
211
+ "column-count",
212
+ "column-fill",
213
+ "column-gap",
214
+ "column-rule",
215
+ "column-rule-width",
216
+ "column-rule-style",
217
+ "column-rule-color",
218
+ "break-before",
219
+ "break-inside",
220
+ "break-after",
221
+ "page-break-before",
222
+ "page-break-inside",
223
+ "page-break-after",
224
+ "orphans",
225
+ "widows",
226
+ "zoom",
227
+ "max-zoom",
228
+ "min-zoom",
229
+ "user-zoom",
230
+ "orientation",
231
+ "fill",
232
+ "stroke",
233
+
234
+ //
235
+ "transition",
236
+ "transition-delay",
237
+ "transition-timing-function",
238
+ "transition-duration",
239
+ "transition-property",
240
+ "transform",
241
+ "transform-origin",
242
+ "animation",
243
+ "animation-name",
244
+ "animation-duration",
245
+ "animation-play-state",
246
+ "animation-timing-function",
247
+ "animation-delay",
248
+ "animation-iteration-count",
249
+ "animation-direction",
250
+ "animation-fill-mode",
251
+ ],
252
+ {
253
+ unspecified: "bottom",
254
+ severity: "error",
255
+ },
256
+ ],
257
+ },
258
+ };
@@ -1,7 +1,7 @@
1
- {
2
- "recommendations": [
3
- "dbaeumer.vscode-eslint",
4
- "esbenp.prettier-vscode",
5
- "stylelint.vscode-stylelint"
6
- ]
7
- }
1
+ {
2
+ "recommendations": [
3
+ "dbaeumer.vscode-eslint",
4
+ "esbenp.prettier-vscode",
5
+ "stylelint.vscode-stylelint"
6
+ ]
7
+ }