File tree Expand file tree Collapse file tree 4 files changed +324
-357
lines changed
packages/vite-plugin-checker
playground/stylelint-default Expand file tree Collapse file tree 4 files changed +324
-357
lines changed Original file line number Diff line number Diff line change 55
55
"@types/eslint" : " ^7.29.0" ,
56
56
"@vue/language-core" : " ~2.1.6" ,
57
57
"esbuild" : " ^0.25.0" ,
58
- "meow" : " ^9.0 .0" ,
58
+ "meow" : " ^13.2 .0" ,
59
59
"npm-run-all2" : " ^5.0.0" ,
60
- "stylelint" : " ^14.16 .1" ,
60
+ "stylelint" : " ^16.14 .1" ,
61
61
"tsup" : " ^6.7.0" ,
62
62
"typescript" : " ^5.5.3" ,
63
63
"vls" : " ^0.8.5" ,
67
67
"peerDependencies" : {
68
68
"@biomejs/biome" : " >=1.7" ,
69
69
"eslint" : " >=7" ,
70
- "meow" : " ^9.0 .0" ,
70
+ "meow" : " ^13.2 .0" ,
71
71
"optionator" : " ^0.9.1" ,
72
- "stylelint" : " >=13 " ,
72
+ "stylelint" : " >=16 " ,
73
73
"typescript" : " *" ,
74
74
"vite" : " >=2.0.0" ,
75
75
"vls" : " *" ,
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ export const translateOptions = async (command: string) => {
97
97
const result = meow ( {
98
98
autoHelp : false ,
99
99
autoVersion : false ,
100
+ importMeta : import . meta,
100
101
help : `
101
102
Usage: stylelint [input] [options]
102
103
Input: Files(s), glob(s), or nothing to use stdin.
@@ -182,7 +183,7 @@ export const translateOptions = async (command: string) => {
182
183
` ,
183
184
flags : {
184
185
allowEmptyInput : {
185
- alias : 'aei' ,
186
+ shortFlag : 'aei' ,
186
187
type : 'boolean' ,
187
188
} ,
188
189
cache : {
@@ -210,60 +211,60 @@ export const translateOptions = async (command: string) => {
210
211
type : 'string' ,
211
212
} ,
212
213
disableDefaultIgnores : {
213
- alias : 'di' ,
214
+ shortFlag : 'di' ,
214
215
type : 'boolean' ,
215
216
} ,
216
217
fix : {
217
218
type : 'boolean' ,
218
219
} ,
219
220
formatter : {
220
- alias : 'f' ,
221
+ shortFlag : 'f' ,
221
222
default : 'string' ,
222
223
type : 'string' ,
223
224
} ,
224
225
help : {
225
- alias : 'h' ,
226
+ shortFlag : 'h' ,
226
227
type : 'boolean' ,
227
228
} ,
228
229
ignoreDisables : {
229
- alias : 'id' ,
230
+ shortFlag : 'id' ,
230
231
type : 'boolean' ,
231
232
} ,
232
233
ignorePath : {
233
- alias : 'i' ,
234
+ shortFlag : 'i' ,
234
235
type : 'string' ,
235
236
isMultiple : true ,
236
237
} ,
237
238
ignorePattern : {
238
- alias : 'ip' ,
239
+ shortFlag : 'ip' ,
239
240
type : 'string' ,
240
241
isMultiple : true ,
241
242
} ,
242
243
maxWarnings : {
243
- alias : 'mw' ,
244
+ shortFlag : 'mw' ,
244
245
type : 'number' ,
245
246
} ,
246
247
outputFile : {
247
- alias : 'o' ,
248
+ shortFlag : 'o' ,
248
249
type : 'string' ,
249
250
} ,
250
251
printConfig : {
251
252
type : 'boolean' ,
252
253
} ,
253
254
quiet : {
254
- alias : 'q' ,
255
+ shortFlag : 'q' ,
255
256
type : 'boolean' ,
256
257
} ,
257
258
reportDescriptionlessDisables : {
258
- alias : 'rdd' ,
259
+ shortFlag : 'rdd' ,
259
260
type : 'boolean' ,
260
261
} ,
261
262
reportInvalidScopeDisables : {
262
- alias : 'risd' ,
263
+ shortFlag : 'risd' ,
263
264
type : 'boolean' ,
264
265
} ,
265
266
reportNeedlessDisables : {
266
- alias : 'rd' ,
267
+ shortFlag : 'rd' ,
267
268
type : 'boolean' ,
268
269
} ,
269
270
stdin : {
@@ -273,11 +274,11 @@ export const translateOptions = async (command: string) => {
273
274
type : 'string' ,
274
275
} ,
275
276
version : {
276
- alias : 'v' ,
277
+ shortFlag : 'v' ,
277
278
type : 'boolean' ,
278
279
} ,
279
280
globbyOptions : {
280
- alias : 'go' ,
281
+ shortFlag : 'go' ,
281
282
type : 'string' ,
282
283
} ,
283
284
} ,
Original file line number Diff line number Diff line change 16
16
"devDependencies" : {
17
17
"@types/react" : " ^18.3.18" ,
18
18
"@types/react-dom" : " ^18.3.5" ,
19
- "meow" : " ^9.0 .0" ,
20
- "stylelint" : " ^14.16 .1" ,
21
- "stylelint-config-standard" : " ^28 .0.0" ,
19
+ "meow" : " ^13.2 .0" ,
20
+ "stylelint" : " ^16.14 .1" ,
21
+ "stylelint-config-standard" : " ^36 .0.0" ,
22
22
"typescript" : " ^5.5.3" ,
23
23
"vite" : " ^5.4.14" ,
24
24
"vite-plugin-checker" : " workspace:*"
You can’t perform that action at this time.
0 commit comments