vize 0.90.0 → 0.91.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/dist/{config-CTXni-Py.d.mts → config-XMCb6V8W.d.mts} +224 -215
- package/dist/config-XMCb6V8W.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +80 -50
- package/dist/config.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/package.json +10 -9
- package/pkl/CompilerConfig.pkl +37 -0
- package/pkl/FormatterConfig.pkl +67 -0
- package/pkl/GlobalTypesConfig.pkl +15 -0
- package/pkl/LanguageServerConfig.pkl +70 -0
- package/pkl/LinterConfig.pkl +17 -0
- package/pkl/LspConfig.pkl +6 -0
- package/pkl/MuseaConfig.pkl +38 -0
- package/pkl/PklProject +16 -0
- package/pkl/PklProject.deps.json +19 -0
- package/pkl/TypeCheckerConfig.pkl +43 -0
- package/pkl/VitePluginConfig.pkl +20 -0
- package/pkl/VizeConfig.pkl +55 -0
- package/pkl/jsonschema/generate.pkl +622 -0
- package/pkl/vize.pkl +12 -1
- package/schemas/vize.config.schema.json +375 -126
- package/src/config.ts +120 -51
- package/src/index.ts +1 -0
- package/src/types/generated.ts +472 -0
- package/src/types/index.ts +19 -10
- package/src/types/rules.ts +1 -1
- package/src/types/{loader.ts → runtime.ts} +15 -20
- package/dist/config-CTXni-Py.d.mts.map +0 -1
- package/src/types/compiler.ts +0 -121
- package/src/types/core.ts +0 -83
- package/src/types/musea.ts +0 -108
- package/src/types/tools.ts +0 -266
|
@@ -1,399 +1,648 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"properties": {
|
|
9
|
-
"$schema": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "JSON Schema reference for editor autocompletion."
|
|
12
|
-
},
|
|
13
|
-
"compiler": {
|
|
14
|
-
"$ref": "#/$defs/compilerConfig"
|
|
15
|
-
},
|
|
16
|
-
"vite": {
|
|
17
|
-
"$ref": "#/$defs/vitePluginConfig"
|
|
18
|
-
},
|
|
19
|
-
"linter": {
|
|
20
|
-
"$ref": "#/$defs/linterConfig"
|
|
21
|
-
},
|
|
22
|
-
"typeChecker": {
|
|
23
|
-
"$ref": "#/$defs/typeCheckerConfig"
|
|
24
|
-
},
|
|
25
|
-
"formatter": {
|
|
26
|
-
"$ref": "#/$defs/formatterConfig"
|
|
27
|
-
},
|
|
28
|
-
"lsp": {
|
|
29
|
-
"$ref": "#/$defs/lspConfig"
|
|
30
|
-
},
|
|
31
|
-
"musea": {
|
|
32
|
-
"$ref": "#/$defs/museaConfig"
|
|
33
|
-
},
|
|
34
|
-
"globalTypes": {
|
|
35
|
-
"$ref": "#/$defs/globalTypesConfig"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"$defs": {
|
|
39
|
-
"ruleSeverity": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": ["off", "warn", "error"]
|
|
42
|
-
},
|
|
43
|
-
"lintPreset": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"enum": ["happy-path", "opinionated", "essential", "nuxt"]
|
|
46
|
-
},
|
|
47
|
-
"patternLike": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Pattern string used by non-JavaScript configs. JavaScript configs may also use RegExp values."
|
|
50
|
-
},
|
|
51
|
-
"compilerConfig": {
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"CompilerConfig": {
|
|
5
|
+
"description": "Vue compiler options",
|
|
52
6
|
"type": "object",
|
|
53
|
-
"additionalProperties": false,
|
|
54
7
|
"properties": {
|
|
55
8
|
"mode": {
|
|
9
|
+
"description": "Compilation mode",
|
|
10
|
+
"default": "module",
|
|
56
11
|
"type": "string",
|
|
57
12
|
"enum": ["module", "function"]
|
|
58
13
|
},
|
|
59
14
|
"vapor": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
"customRenderer": {
|
|
15
|
+
"description": "Enable Vapor mode compilation",
|
|
16
|
+
"default": false,
|
|
63
17
|
"type": "boolean"
|
|
64
18
|
},
|
|
65
19
|
"ssr": {
|
|
20
|
+
"description": "Enable SSR mode",
|
|
21
|
+
"default": false,
|
|
66
22
|
"type": "boolean"
|
|
67
23
|
},
|
|
68
24
|
"sourceMap": {
|
|
25
|
+
"description": "Enable source map generation",
|
|
69
26
|
"type": "boolean"
|
|
70
27
|
},
|
|
71
28
|
"prefixIdentifiers": {
|
|
29
|
+
"description": "Prefix template identifiers with _ctx",
|
|
30
|
+
"default": false,
|
|
72
31
|
"type": "boolean"
|
|
73
32
|
},
|
|
74
33
|
"hoistStatic": {
|
|
34
|
+
"description": "Hoist static nodes",
|
|
35
|
+
"default": true,
|
|
75
36
|
"type": "boolean"
|
|
76
37
|
},
|
|
77
38
|
"cacheHandlers": {
|
|
39
|
+
"description": "Cache v-on handlers",
|
|
40
|
+
"default": true,
|
|
78
41
|
"type": "boolean"
|
|
79
42
|
},
|
|
80
43
|
"isTs": {
|
|
44
|
+
"description": "Enable TypeScript parsing in <script> blocks",
|
|
45
|
+
"default": true,
|
|
81
46
|
"type": "boolean"
|
|
82
47
|
},
|
|
83
48
|
"scriptExt": {
|
|
49
|
+
"description": "Script file extension for generated output",
|
|
50
|
+
"default": "ts",
|
|
84
51
|
"type": "string",
|
|
85
52
|
"enum": ["ts", "js"]
|
|
86
53
|
},
|
|
87
54
|
"runtimeModuleName": {
|
|
55
|
+
"description": "Module name for runtime imports",
|
|
56
|
+
"default": "vue",
|
|
88
57
|
"type": "string"
|
|
89
58
|
},
|
|
90
59
|
"runtimeGlobalName": {
|
|
60
|
+
"description": "Global variable name for runtime (IIFE builds)",
|
|
61
|
+
"default": "Vue",
|
|
91
62
|
"type": "string"
|
|
92
63
|
}
|
|
93
|
-
}
|
|
64
|
+
},
|
|
65
|
+
"additionalProperties": false
|
|
94
66
|
},
|
|
95
|
-
"
|
|
67
|
+
"VitePluginConfig": {
|
|
68
|
+
"description": "Vite plugin options",
|
|
96
69
|
"type": "object",
|
|
97
|
-
"additionalProperties": false,
|
|
98
70
|
"properties": {
|
|
99
71
|
"include": {
|
|
72
|
+
"description": "Files to include in compilation (glob patterns or strings)",
|
|
100
73
|
"oneOf": [
|
|
101
|
-
{
|
|
74
|
+
{
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
102
77
|
{
|
|
103
78
|
"type": "array",
|
|
104
|
-
"items": {
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
105
82
|
}
|
|
106
83
|
]
|
|
107
84
|
},
|
|
108
85
|
"exclude": {
|
|
86
|
+
"description": "Files to exclude from compilation (glob patterns or strings)",
|
|
109
87
|
"oneOf": [
|
|
110
|
-
{
|
|
88
|
+
{
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
111
91
|
{
|
|
112
92
|
"type": "array",
|
|
113
|
-
"items": {
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
114
96
|
}
|
|
115
97
|
]
|
|
116
98
|
},
|
|
117
99
|
"scanPatterns": {
|
|
100
|
+
"description": "Glob patterns to scan for .vue files during pre-compilation",
|
|
118
101
|
"type": "array",
|
|
119
|
-
"items": {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"type": "integer",
|
|
123
|
-
"minimum": 1
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
124
105
|
},
|
|
125
106
|
"ignorePatterns": {
|
|
107
|
+
"description": "Glob patterns to ignore during pre-compilation",
|
|
126
108
|
"type": "array",
|
|
127
|
-
"items": {
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
}
|
|
128
112
|
}
|
|
129
|
-
}
|
|
113
|
+
},
|
|
114
|
+
"additionalProperties": false
|
|
130
115
|
},
|
|
131
|
-
"
|
|
116
|
+
"LinterConfig": {
|
|
117
|
+
"description": "Linter options",
|
|
132
118
|
"type": "object",
|
|
133
|
-
"additionalProperties": false,
|
|
134
119
|
"properties": {
|
|
135
120
|
"enabled": {
|
|
121
|
+
"description": "Enable linting",
|
|
136
122
|
"type": "boolean"
|
|
137
123
|
},
|
|
138
124
|
"preset": {
|
|
139
|
-
"
|
|
125
|
+
"description": "Built-in lint preset",
|
|
126
|
+
"default": "happy-path",
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": ["happy-path", "opinionated", "essential", "incremental", "nuxt"]
|
|
140
129
|
},
|
|
141
130
|
"rules": {
|
|
131
|
+
"description": "Rules to enable/disable",
|
|
142
132
|
"type": "object",
|
|
143
133
|
"additionalProperties": {
|
|
144
|
-
"
|
|
134
|
+
"type": "string",
|
|
135
|
+
"enum": ["off", "warn", "error"]
|
|
145
136
|
}
|
|
146
137
|
},
|
|
147
138
|
"categories": {
|
|
139
|
+
"description": "Category-level severity overrides",
|
|
148
140
|
"type": "object",
|
|
149
|
-
"additionalProperties": false,
|
|
150
141
|
"properties": {
|
|
151
|
-
"correctness": {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
142
|
+
"correctness": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": ["off", "warn", "error"]
|
|
145
|
+
},
|
|
146
|
+
"suspicious": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"enum": ["off", "warn", "error"]
|
|
149
|
+
},
|
|
150
|
+
"style": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": ["off", "warn", "error"]
|
|
153
|
+
},
|
|
154
|
+
"perf": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"enum": ["off", "warn", "error"]
|
|
157
|
+
},
|
|
158
|
+
"a11y": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"enum": ["off", "warn", "error"]
|
|
161
|
+
},
|
|
162
|
+
"security": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"enum": ["off", "warn", "error"]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"additionalProperties": false
|
|
158
168
|
}
|
|
159
|
-
}
|
|
169
|
+
},
|
|
170
|
+
"additionalProperties": false
|
|
160
171
|
},
|
|
161
|
-
"
|
|
172
|
+
"TypeCheckerConfig": {
|
|
173
|
+
"description": "Type checker options",
|
|
162
174
|
"type": "object",
|
|
163
|
-
"additionalProperties": false,
|
|
164
175
|
"properties": {
|
|
165
176
|
"enabled": {
|
|
177
|
+
"description": "Enable type checking",
|
|
178
|
+
"default": true,
|
|
166
179
|
"type": "boolean"
|
|
167
180
|
},
|
|
168
181
|
"strict": {
|
|
182
|
+
"description": "Enable strict mode",
|
|
183
|
+
"default": false,
|
|
169
184
|
"type": "boolean"
|
|
170
185
|
},
|
|
171
186
|
"checkProps": {
|
|
187
|
+
"description": "Check component props",
|
|
188
|
+
"default": true,
|
|
172
189
|
"type": "boolean"
|
|
173
190
|
},
|
|
174
191
|
"checkEmits": {
|
|
192
|
+
"description": "Check component emits",
|
|
193
|
+
"default": true,
|
|
175
194
|
"type": "boolean"
|
|
176
195
|
},
|
|
177
196
|
"checkTemplateBindings": {
|
|
197
|
+
"description": "Check template bindings",
|
|
198
|
+
"default": true,
|
|
199
|
+
"type": "boolean"
|
|
200
|
+
},
|
|
201
|
+
"checkReactivity": {
|
|
202
|
+
"description": "Check reactivity loss patterns",
|
|
203
|
+
"default": true,
|
|
204
|
+
"type": "boolean"
|
|
205
|
+
},
|
|
206
|
+
"checkSetupContext": {
|
|
207
|
+
"description": "Check setup context violations",
|
|
208
|
+
"default": true,
|
|
209
|
+
"type": "boolean"
|
|
210
|
+
},
|
|
211
|
+
"checkInvalidExports": {
|
|
212
|
+
"description": "Check invalid exports in <script setup>",
|
|
213
|
+
"default": true,
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"checkFallthroughAttrs": {
|
|
217
|
+
"description": "Check fallthrough attrs on multi-root templates",
|
|
218
|
+
"default": true,
|
|
178
219
|
"type": "boolean"
|
|
179
220
|
},
|
|
180
221
|
"tsconfig": {
|
|
222
|
+
"description": "Path to tsconfig.json",
|
|
181
223
|
"type": "string"
|
|
182
224
|
},
|
|
183
|
-
"
|
|
225
|
+
"tsgoPath": {
|
|
226
|
+
"description": "Path to tsgo binary",
|
|
184
227
|
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"globalsFile": {
|
|
230
|
+
"description": "Path to a .d.ts file that declares template globals",
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"servers": {
|
|
234
|
+
"description": "Number of parallel Corsa servers to use",
|
|
235
|
+
"type": "integer"
|
|
185
236
|
}
|
|
186
|
-
}
|
|
237
|
+
},
|
|
238
|
+
"additionalProperties": false
|
|
187
239
|
},
|
|
188
|
-
"
|
|
240
|
+
"FormatterConfig": {
|
|
241
|
+
"description": "Formatter options",
|
|
189
242
|
"type": "object",
|
|
190
|
-
"additionalProperties": false,
|
|
191
243
|
"properties": {
|
|
192
244
|
"printWidth": {
|
|
245
|
+
"description": "Max line width",
|
|
246
|
+
"default": 100,
|
|
193
247
|
"type": "integer"
|
|
194
248
|
},
|
|
195
249
|
"tabWidth": {
|
|
250
|
+
"description": "Indentation width",
|
|
251
|
+
"default": 2,
|
|
196
252
|
"type": "integer"
|
|
197
253
|
},
|
|
198
254
|
"useTabs": {
|
|
255
|
+
"description": "Use tabs for indentation",
|
|
256
|
+
"default": false,
|
|
199
257
|
"type": "boolean"
|
|
200
258
|
},
|
|
201
259
|
"semi": {
|
|
260
|
+
"description": "Print semicolons",
|
|
261
|
+
"default": true,
|
|
202
262
|
"type": "boolean"
|
|
203
263
|
},
|
|
204
264
|
"singleQuote": {
|
|
265
|
+
"description": "Use single quotes",
|
|
266
|
+
"default": false,
|
|
267
|
+
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"jsxSingleQuote": {
|
|
270
|
+
"description": "Use single quotes in JSX",
|
|
271
|
+
"default": false,
|
|
205
272
|
"type": "boolean"
|
|
206
273
|
},
|
|
207
274
|
"trailingComma": {
|
|
275
|
+
"description": "Trailing commas",
|
|
276
|
+
"default": "all",
|
|
208
277
|
"type": "string",
|
|
209
278
|
"enum": ["all", "none", "es5"]
|
|
279
|
+
},
|
|
280
|
+
"bracketSpacing": {
|
|
281
|
+
"description": "Print spaces between brackets in object literals",
|
|
282
|
+
"default": true,
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"bracketSameLine": {
|
|
286
|
+
"description": "Keep > on the last line of multiline tags",
|
|
287
|
+
"default": false,
|
|
288
|
+
"type": "boolean"
|
|
289
|
+
},
|
|
290
|
+
"arrowParens": {
|
|
291
|
+
"description": "Arrow parens mode",
|
|
292
|
+
"default": "always",
|
|
293
|
+
"type": "string",
|
|
294
|
+
"enum": ["always", "avoid"]
|
|
295
|
+
},
|
|
296
|
+
"endOfLine": {
|
|
297
|
+
"description": "End-of-line mode",
|
|
298
|
+
"default": "lf",
|
|
299
|
+
"type": "string",
|
|
300
|
+
"enum": ["lf", "crlf", "cr", "auto"]
|
|
301
|
+
},
|
|
302
|
+
"quoteProps": {
|
|
303
|
+
"description": "Object property quoting mode",
|
|
304
|
+
"default": "as-needed",
|
|
305
|
+
"type": "string",
|
|
306
|
+
"enum": ["as-needed", "consistent", "preserve"]
|
|
307
|
+
},
|
|
308
|
+
"singleAttributePerLine": {
|
|
309
|
+
"description": "Force one attribute per line",
|
|
310
|
+
"default": false,
|
|
311
|
+
"type": "boolean"
|
|
312
|
+
},
|
|
313
|
+
"vueIndentScriptAndStyle": {
|
|
314
|
+
"description": "Indent script and style blocks",
|
|
315
|
+
"default": false,
|
|
316
|
+
"type": "boolean"
|
|
317
|
+
},
|
|
318
|
+
"sortAttributes": {
|
|
319
|
+
"description": "Sort attributes",
|
|
320
|
+
"default": true,
|
|
321
|
+
"type": "boolean"
|
|
322
|
+
},
|
|
323
|
+
"attributeSortOrder": {
|
|
324
|
+
"description": "Attribute ordering strategy",
|
|
325
|
+
"default": "alphabetical",
|
|
326
|
+
"type": "string",
|
|
327
|
+
"enum": ["alphabetical", "as-written"]
|
|
328
|
+
},
|
|
329
|
+
"mergeBindAndNonBindAttrs": {
|
|
330
|
+
"description": "Merge bind and non-bind attrs for sorting",
|
|
331
|
+
"default": false,
|
|
332
|
+
"type": "boolean"
|
|
333
|
+
},
|
|
334
|
+
"maxAttributesPerLine": {
|
|
335
|
+
"description": "Maximum attributes per line before wrapping",
|
|
336
|
+
"type": "integer"
|
|
337
|
+
},
|
|
338
|
+
"attributeGroups": {
|
|
339
|
+
"description": "Custom attribute groups",
|
|
340
|
+
"type": "array",
|
|
341
|
+
"items": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"items": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"normalizeDirectiveShorthands": {
|
|
349
|
+
"description": "Normalize directive shorthands",
|
|
350
|
+
"default": true,
|
|
351
|
+
"type": "boolean"
|
|
352
|
+
},
|
|
353
|
+
"sortBlocks": {
|
|
354
|
+
"description": "Sort SFC blocks in canonical order",
|
|
355
|
+
"default": true,
|
|
356
|
+
"type": "boolean"
|
|
210
357
|
}
|
|
211
|
-
}
|
|
358
|
+
},
|
|
359
|
+
"additionalProperties": false
|
|
212
360
|
},
|
|
213
|
-
"
|
|
361
|
+
"LanguageServerConfig": {
|
|
362
|
+
"description": "Language server options",
|
|
214
363
|
"type": "object",
|
|
215
|
-
"additionalProperties": false,
|
|
216
364
|
"properties": {
|
|
217
365
|
"enabled": {
|
|
366
|
+
"description": "Enable the language server",
|
|
218
367
|
"type": "boolean"
|
|
219
368
|
},
|
|
220
369
|
"lint": {
|
|
221
|
-
"
|
|
222
|
-
"
|
|
370
|
+
"description": "Enable lint diagnostics",
|
|
371
|
+
"type": "boolean"
|
|
223
372
|
},
|
|
224
373
|
"diagnostics": {
|
|
225
|
-
"
|
|
226
|
-
"
|
|
374
|
+
"description": "Deprecated alias for lint",
|
|
375
|
+
"type": "boolean"
|
|
227
376
|
},
|
|
228
377
|
"typecheck": {
|
|
229
|
-
"
|
|
230
|
-
"
|
|
378
|
+
"description": "Enable project type checking diagnostics",
|
|
379
|
+
"type": "boolean"
|
|
231
380
|
},
|
|
232
381
|
"editor": {
|
|
233
|
-
"
|
|
234
|
-
"
|
|
382
|
+
"description": "Enable editor-oriented IDE features",
|
|
383
|
+
"type": "boolean"
|
|
235
384
|
},
|
|
236
385
|
"completion": {
|
|
386
|
+
"description": "Enable completions",
|
|
237
387
|
"type": "boolean"
|
|
238
388
|
},
|
|
239
389
|
"hover": {
|
|
390
|
+
"description": "Enable hover information",
|
|
240
391
|
"type": "boolean"
|
|
241
392
|
},
|
|
242
393
|
"definition": {
|
|
394
|
+
"description": "Enable go-to-definition",
|
|
243
395
|
"type": "boolean"
|
|
244
396
|
},
|
|
245
397
|
"references": {
|
|
398
|
+
"description": "Enable reference search",
|
|
246
399
|
"type": "boolean"
|
|
247
400
|
},
|
|
248
401
|
"documentSymbols": {
|
|
402
|
+
"description": "Enable document symbols",
|
|
249
403
|
"type": "boolean"
|
|
250
404
|
},
|
|
251
405
|
"workspaceSymbols": {
|
|
406
|
+
"description": "Enable workspace symbols",
|
|
252
407
|
"type": "boolean"
|
|
253
408
|
},
|
|
254
409
|
"formatting": {
|
|
410
|
+
"description": "Enable formatting via the language server",
|
|
255
411
|
"type": "boolean"
|
|
256
412
|
},
|
|
257
413
|
"codeActions": {
|
|
414
|
+
"description": "Enable code actions",
|
|
258
415
|
"type": "boolean"
|
|
259
416
|
},
|
|
260
417
|
"rename": {
|
|
418
|
+
"description": "Enable rename support",
|
|
261
419
|
"type": "boolean"
|
|
262
420
|
},
|
|
263
421
|
"codeLens": {
|
|
422
|
+
"description": "Enable code lenses",
|
|
264
423
|
"type": "boolean"
|
|
265
424
|
},
|
|
266
425
|
"semanticTokens": {
|
|
426
|
+
"description": "Enable semantic tokens",
|
|
267
427
|
"type": "boolean"
|
|
268
428
|
},
|
|
269
429
|
"documentLinks": {
|
|
430
|
+
"description": "Enable document links",
|
|
270
431
|
"type": "boolean"
|
|
271
432
|
},
|
|
272
433
|
"foldingRanges": {
|
|
434
|
+
"description": "Enable folding ranges",
|
|
273
435
|
"type": "boolean"
|
|
274
436
|
},
|
|
275
437
|
"inlayHints": {
|
|
438
|
+
"description": "Enable inlay hints",
|
|
276
439
|
"type": "boolean"
|
|
277
440
|
},
|
|
278
441
|
"fileRename": {
|
|
442
|
+
"description": "Enable file rename edits",
|
|
279
443
|
"type": "boolean"
|
|
280
444
|
},
|
|
281
445
|
"corsa": {
|
|
446
|
+
"description": "Enable Corsa-backed IDE features",
|
|
447
|
+
"type": "boolean"
|
|
448
|
+
},
|
|
449
|
+
"tsgo": {
|
|
450
|
+
"description": "Deprecated alias for corsa",
|
|
282
451
|
"type": "boolean"
|
|
283
452
|
}
|
|
284
|
-
}
|
|
453
|
+
},
|
|
454
|
+
"additionalProperties": false
|
|
285
455
|
},
|
|
286
|
-
"
|
|
456
|
+
"MuseaViewport": {
|
|
287
457
|
"type": "object",
|
|
288
|
-
"additionalProperties": false,
|
|
289
458
|
"properties": {
|
|
290
459
|
"width": {
|
|
291
|
-
"
|
|
460
|
+
"description": "Viewport width",
|
|
461
|
+
"type": "integer"
|
|
292
462
|
},
|
|
293
463
|
"height": {
|
|
294
|
-
"
|
|
464
|
+
"description": "Viewport height",
|
|
465
|
+
"type": "integer"
|
|
295
466
|
},
|
|
296
467
|
"name": {
|
|
468
|
+
"description": "Viewport name",
|
|
297
469
|
"type": "string"
|
|
298
470
|
}
|
|
299
471
|
},
|
|
472
|
+
"additionalProperties": false,
|
|
300
473
|
"required": ["width", "height"]
|
|
301
474
|
},
|
|
302
|
-
"
|
|
475
|
+
"MuseaVrtConfig": {
|
|
476
|
+
"description": "VRT (Visual Regression Testing) configuration",
|
|
303
477
|
"type": "object",
|
|
304
|
-
"additionalProperties": false,
|
|
305
478
|
"properties": {
|
|
306
479
|
"threshold": {
|
|
480
|
+
"description": "Threshold for pixel comparison (0-1)",
|
|
481
|
+
"default": 0.1,
|
|
307
482
|
"type": "number"
|
|
308
483
|
},
|
|
309
484
|
"outDir": {
|
|
485
|
+
"description": "Output directory for screenshots",
|
|
486
|
+
"default": "__musea_snapshots__",
|
|
310
487
|
"type": "string"
|
|
311
488
|
},
|
|
312
489
|
"viewports": {
|
|
490
|
+
"description": "Viewport sizes",
|
|
313
491
|
"type": "array",
|
|
314
492
|
"items": {
|
|
315
|
-
"$ref": "
|
|
493
|
+
"$ref": "#/definitions/MuseaViewport"
|
|
316
494
|
}
|
|
317
495
|
}
|
|
318
|
-
}
|
|
496
|
+
},
|
|
497
|
+
"additionalProperties": false
|
|
319
498
|
},
|
|
320
|
-
"
|
|
499
|
+
"MuseaA11yConfig": {
|
|
500
|
+
"description": "A11y configuration",
|
|
321
501
|
"type": "object",
|
|
322
|
-
"additionalProperties": false,
|
|
323
502
|
"properties": {
|
|
324
503
|
"enabled": {
|
|
504
|
+
"description": "Enable a11y checking",
|
|
505
|
+
"default": false,
|
|
325
506
|
"type": "boolean"
|
|
326
507
|
},
|
|
327
508
|
"rules": {
|
|
509
|
+
"description": "Axe-core rules to enable/disable",
|
|
328
510
|
"type": "object",
|
|
329
511
|
"additionalProperties": {
|
|
330
512
|
"type": "boolean"
|
|
331
513
|
}
|
|
332
514
|
}
|
|
333
|
-
}
|
|
515
|
+
},
|
|
516
|
+
"additionalProperties": false
|
|
334
517
|
},
|
|
335
|
-
"
|
|
518
|
+
"MuseaAutogenConfig": {
|
|
519
|
+
"description": "Autogen configuration",
|
|
336
520
|
"type": "object",
|
|
337
|
-
"additionalProperties": false,
|
|
338
521
|
"properties": {
|
|
339
522
|
"enabled": {
|
|
523
|
+
"description": "Enable auto-generation of variants",
|
|
524
|
+
"default": false,
|
|
340
525
|
"type": "boolean"
|
|
341
526
|
},
|
|
342
527
|
"maxVariants": {
|
|
528
|
+
"description": "Max variants to generate per component",
|
|
529
|
+
"default": 10,
|
|
343
530
|
"type": "integer"
|
|
344
531
|
}
|
|
345
|
-
}
|
|
532
|
+
},
|
|
533
|
+
"additionalProperties": false
|
|
346
534
|
},
|
|
347
|
-
"
|
|
535
|
+
"MuseaConfig": {
|
|
536
|
+
"description": "Musea component gallery options",
|
|
348
537
|
"type": "object",
|
|
349
|
-
"additionalProperties": false,
|
|
350
538
|
"properties": {
|
|
351
539
|
"include": {
|
|
540
|
+
"description": "Glob patterns for art files",
|
|
352
541
|
"type": "array",
|
|
353
|
-
"items": {
|
|
542
|
+
"items": {
|
|
543
|
+
"type": "string"
|
|
544
|
+
}
|
|
354
545
|
},
|
|
355
546
|
"exclude": {
|
|
547
|
+
"description": "Glob patterns to exclude",
|
|
356
548
|
"type": "array",
|
|
357
|
-
"items": {
|
|
549
|
+
"items": {
|
|
550
|
+
"type": "string"
|
|
551
|
+
}
|
|
358
552
|
},
|
|
359
553
|
"basePath": {
|
|
554
|
+
"description": "Base path for gallery",
|
|
555
|
+
"default": "/__musea__",
|
|
360
556
|
"type": "string"
|
|
361
557
|
},
|
|
362
558
|
"storybookCompat": {
|
|
559
|
+
"description": "Enable Storybook compatibility",
|
|
560
|
+
"default": false,
|
|
363
561
|
"type": "boolean"
|
|
364
562
|
},
|
|
365
563
|
"inlineArt": {
|
|
564
|
+
"description": "Enable inline art detection in .vue files",
|
|
565
|
+
"default": false,
|
|
366
566
|
"type": "boolean"
|
|
367
567
|
},
|
|
368
568
|
"vrt": {
|
|
369
|
-
"$ref": "
|
|
569
|
+
"$ref": "#/definitions/MuseaVrtConfig"
|
|
370
570
|
},
|
|
371
571
|
"a11y": {
|
|
372
|
-
"$ref": "
|
|
572
|
+
"$ref": "#/definitions/MuseaA11yConfig"
|
|
373
573
|
},
|
|
374
574
|
"autogen": {
|
|
375
|
-
"$ref": "
|
|
575
|
+
"$ref": "#/definitions/MuseaAutogenConfig"
|
|
376
576
|
}
|
|
377
|
-
}
|
|
577
|
+
},
|
|
578
|
+
"additionalProperties": false
|
|
378
579
|
},
|
|
379
|
-
"
|
|
580
|
+
"GlobalTypeDeclaration": {
|
|
581
|
+
"description": "Global type declaration",
|
|
380
582
|
"type": "object",
|
|
381
|
-
"additionalProperties": false,
|
|
382
583
|
"properties": {
|
|
383
584
|
"type": {
|
|
585
|
+
"description": "TypeScript type string",
|
|
384
586
|
"type": "string"
|
|
385
587
|
},
|
|
386
588
|
"defaultValue": {
|
|
589
|
+
"description": "Default value",
|
|
387
590
|
"type": "string"
|
|
388
591
|
}
|
|
389
592
|
},
|
|
593
|
+
"additionalProperties": false,
|
|
390
594
|
"required": ["type"]
|
|
391
595
|
},
|
|
392
|
-
"
|
|
596
|
+
"GlobalTypesConfig": {
|
|
597
|
+
"description": "Global type declarations",
|
|
393
598
|
"type": "object",
|
|
394
599
|
"additionalProperties": {
|
|
395
|
-
"oneOf": [
|
|
600
|
+
"oneOf": [
|
|
601
|
+
{
|
|
602
|
+
"type": "string"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"$ref": "#/definitions/GlobalTypeDeclaration"
|
|
606
|
+
}
|
|
607
|
+
]
|
|
396
608
|
}
|
|
397
609
|
}
|
|
398
|
-
}
|
|
610
|
+
},
|
|
611
|
+
"title": "VizeConfig",
|
|
612
|
+
"description": "Configuration file for vize - High-performance Vue.js toolchain",
|
|
613
|
+
"type": "object",
|
|
614
|
+
"properties": {
|
|
615
|
+
"$schema": {
|
|
616
|
+
"description": "JSON Schema reference for editor autocompletion",
|
|
617
|
+
"type": "string"
|
|
618
|
+
},
|
|
619
|
+
"compiler": {
|
|
620
|
+
"$ref": "#/definitions/CompilerConfig"
|
|
621
|
+
},
|
|
622
|
+
"vite": {
|
|
623
|
+
"$ref": "#/definitions/VitePluginConfig"
|
|
624
|
+
},
|
|
625
|
+
"linter": {
|
|
626
|
+
"$ref": "#/definitions/LinterConfig"
|
|
627
|
+
},
|
|
628
|
+
"typeChecker": {
|
|
629
|
+
"$ref": "#/definitions/TypeCheckerConfig"
|
|
630
|
+
},
|
|
631
|
+
"formatter": {
|
|
632
|
+
"$ref": "#/definitions/FormatterConfig"
|
|
633
|
+
},
|
|
634
|
+
"languageServer": {
|
|
635
|
+
"$ref": "#/definitions/LanguageServerConfig"
|
|
636
|
+
},
|
|
637
|
+
"lsp": {
|
|
638
|
+
"$ref": "#/definitions/LanguageServerConfig"
|
|
639
|
+
},
|
|
640
|
+
"musea": {
|
|
641
|
+
"$ref": "#/definitions/MuseaConfig"
|
|
642
|
+
},
|
|
643
|
+
"globalTypes": {
|
|
644
|
+
"$ref": "#/definitions/GlobalTypesConfig"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"additionalProperties": false
|
|
399
648
|
}
|