vize 0.345.0 → 0.347.7
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/README.md +1 -1
- package/dist/cli.mjs +41 -20
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-D1VKwrsv.d.mts → config-B0NHKCD3.d.mts} +5 -1
- package/dist/config-B0NHKCD3.d.mts.map +1 -0
- package/dist/config.d.mts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +7 -4
- package/pkl/LanguageServerConfig.pkl +3 -0
- package/pkl/jsonschema/MuseaSchemaDefinitions.pkl +119 -0
- package/pkl/jsonschema/generate.pkl +10 -120
- package/pkl/vize.pkl +1 -0
- package/schemas/vize.config.schema.json +4 -0
- package/src/init/args.ts +1 -1
- package/src/init/plan-project.ts +19 -20
- package/src/init/select.ts +7 -4
- package/src/init/templates.ts +19 -0
- package/src/setup/config.ts +4 -1
- package/src/types/generated.ts +4 -0
- package/dist/config-D1VKwrsv.d.mts.map +0 -1
|
@@ -417,6 +417,10 @@ interface LanguageServerConfig {
|
|
|
417
417
|
* Enable completions
|
|
418
418
|
*/
|
|
419
419
|
completion?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* Enable TypeScript signature help
|
|
422
|
+
*/
|
|
423
|
+
signatureHelp?: boolean;
|
|
420
424
|
/**
|
|
421
425
|
* Enable hover information
|
|
422
426
|
*/
|
|
@@ -725,4 +729,4 @@ declare function resolveConfigExport(exported: UserConfigExport, env?: ConfigEnv
|
|
|
725
729
|
declare function normalizeGlobalTypes(config: GlobalTypesConfig): Record<string, GlobalTypeDeclaration>;
|
|
726
730
|
//#endregion
|
|
727
731
|
export { MuseaConfig as A, GlobalTypeDeclaration as C, LinterConfig as D, LintPreset as E, VitePluginConfig as F, VizeConfig as I, VizeConfigEntry as L, RuleCategory as M, RuleSeverity as N, MuseaA11yConfig as O, TypeCheckerConfig as P, VueVersion as R, FormatterConfig as S, LanguageServerConfig as T, VueConfig as _, loadConfig as a, CompilerCompatibilityConfig as b, LspConfig as c, MaybePromise as d, ResolvedVizeConfig as f, UserConfigInput as g, UserConfigExport as h, defineConfig as i, MuseaVrtConfig as j, MuseaAutogenConfig as k, ConfigEnv as l, UserConfigEntry as m, VIZE_CONFIG_JSON_SCHEMA_PATH as n, normalizeGlobalTypes as o, UserConfig as p, VIZE_CONFIG_PKL_SCHEMA_PATH as r, resolveConfigExport as s, CONFIG_FILE_NAMES as t, LoadConfigOptions as u, LintRuleName as v, GlobalTypesConfig as w, CompilerConfig as x, LintRulesConfig as y };
|
|
728
|
-
//# sourceMappingURL=config-
|
|
732
|
+
//# sourceMappingURL=config-B0NHKCD3.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-B0NHKCD3.d.mts","names":[],"sources":["../src/types/generated.ts","../src/types/rules.ts","../src/types/runtime.ts","../src/types/index.ts","../src/config.ts"],"mappings":";;AAOA;;;;KAAY,UAAA;AAAA,KAQA,YAAA;AAAA,KAEA,YAAA;;;;KAKA,UAAA;;;;UAKK,UAAA;EALL;;;EASV,IAAA;EAToB;AAKtB;;EAQE,QAAA;EAiBW;;;EAbX,KAAA;EAyBY;;;EArBZ,OAAA;EAyBc;;;EArBd,OAAA;EAhBA;;;EAoBA,OAAA;EACA,QAAA,GAAW,cAAA;EACX,aAAA;IAAA,CACG,CAAA;MAAA,CAGM,CAAA;IAAA;EAAA;EAIT,IAAA,GAAO,gBAAA;EACP,MAAA,GAAS,YAAA;EACT,WAAA,GAAc,iBAAA;EACd,SAAA,GAAY,eAAA;EACZ,cAAA,GAAiB,oBAAA;EACjB,GAAA,GAAM,oBAAA;EACN,KAAA,GAAQ,WAAA;EACR,WAAA,GAAc,iBAAA;EAJF;;;EAQZ,OAAA,GAAU,eAAA;AAAA;;;;UAKK,cAAA;EALf;;;EASA,IAAA;EAJe;;;EAQf,KAAA;EAJA;;;EAQA,OAAA;EAQA;;;EAJA,SAAA;EAoBA;;;EAhBA,cAAA;EA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AA;;;AJnIX;iBIwMgB,oBAAA,CACd,MAAA,EAAQ,iBAAA,GACP,MAAA,SAAe,qBAAA"}
|
package/dist/config.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as loadConfig, i as defineConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-
|
|
1
|
+
import { a as loadConfig, i as defineConfig, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES } from "./config-B0NHKCD3.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MuseaConfig, C as GlobalTypeDeclaration, D as LinterConfig, E as LintPreset, F as VitePluginConfig, I as VizeConfig, L as VizeConfigEntry, M as RuleCategory, N as RuleSeverity, O as MuseaA11yConfig, P as TypeCheckerConfig, R as VueVersion, S as FormatterConfig, T as LanguageServerConfig, _ as VueConfig, a as loadConfig, b as CompilerCompatibilityConfig, c as LspConfig, d as MaybePromise, f as ResolvedVizeConfig, g as UserConfigInput, h as UserConfigExport, i as defineConfig, j as MuseaVrtConfig, k as MuseaAutogenConfig, l as ConfigEnv, m as UserConfigEntry, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as UserConfig, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LoadConfigOptions, v as LintRuleName, w as GlobalTypesConfig, x as CompilerConfig, y as LintRulesConfig } from "./config-
|
|
1
|
+
import { A as MuseaConfig, C as GlobalTypeDeclaration, D as LinterConfig, E as LintPreset, F as VitePluginConfig, I as VizeConfig, L as VizeConfigEntry, M as RuleCategory, N as RuleSeverity, O as MuseaA11yConfig, P as TypeCheckerConfig, R as VueVersion, S as FormatterConfig, T as LanguageServerConfig, _ as VueConfig, a as loadConfig, b as CompilerCompatibilityConfig, c as LspConfig, d as MaybePromise, f as ResolvedVizeConfig, g as UserConfigInput, h as UserConfigExport, i as defineConfig, j as MuseaVrtConfig, k as MuseaAutogenConfig, l as ConfigEnv, m as UserConfigEntry, n as VIZE_CONFIG_JSON_SCHEMA_PATH, o as normalizeGlobalTypes, p as UserConfig, r as VIZE_CONFIG_PKL_SCHEMA_PATH, s as resolveConfigExport, t as CONFIG_FILE_NAMES, u as LoadConfigOptions, v as LintRuleName, w as GlobalTypesConfig, x as CompilerConfig, y as LintRulesConfig } from "./config-B0NHKCD3.mjs";
|
|
2
2
|
export { CONFIG_FILE_NAMES, type CompilerCompatibilityConfig, type CompilerConfig, type ConfigEnv, type FormatterConfig, type GlobalTypeDeclaration, type GlobalTypesConfig, type LanguageServerConfig, type LintPreset, type LintRuleName, type LintRulesConfig, type LinterConfig, type LoadConfigOptions, type LspConfig, type MaybePromise, type MuseaA11yConfig, type MuseaAutogenConfig, type MuseaConfig, type MuseaVrtConfig, type ResolvedVizeConfig, type RuleCategory, type RuleSeverity, type TypeCheckerConfig, type UserConfig, type UserConfigEntry, type UserConfigExport, type UserConfigInput, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, type VitePluginConfig, type VizeConfig, type VizeConfigEntry, type VueConfig, type VueVersion, defineConfig, loadConfig, normalizeGlobalTypes, resolveConfigExport };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.347.7",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@vizejs/native": "0.
|
|
56
|
+
"@vizejs/native": "0.347.7",
|
|
57
57
|
"oxc-transform": "0.130.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
82
|
+
"@typescript/native-preview": "7.0.0-dev.20260603.1"
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
85
|
"node": ">=22"
|
|
@@ -89,6 +89,9 @@
|
|
|
89
89
|
"node",
|
|
90
90
|
"./bin/vize",
|
|
91
91
|
"content-mapper"
|
|
92
|
+
],
|
|
93
|
+
"compilerOptions": [
|
|
94
|
+
"noUnusedLocals"
|
|
92
95
|
]
|
|
93
96
|
},
|
|
94
97
|
"scripts": {
|
|
@@ -97,6 +100,6 @@
|
|
|
97
100
|
"check:fix": "vp check --fix src tests vite.config.ts",
|
|
98
101
|
"fmt": "vp fmt --write src tests vite.config.ts",
|
|
99
102
|
"generate:rule-types": "vp run --workspace-root generate:rule-types",
|
|
100
|
-
"test": "vp pack && vp test run tests/corsa-runtime.test.ts tests/setup.test.ts tests/setup-oxlint-config.test.ts tests/init.test.ts tests/init-frameworks.test.ts tests/init-prompt.test.ts"
|
|
103
|
+
"test": "vp pack && vp test run tests/corsa-runtime.test.ts tests/setup.test.ts tests/setup-oxlint-config.test.ts tests/init.test.ts tests/init-frameworks.test.ts tests/init-tsconfig.test.ts tests/init-prompt.test.ts"
|
|
101
104
|
}
|
|
102
105
|
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/// Musea gallery definitions used by the secondary JSON Schema compatibility output.
|
|
2
|
+
module vize.jsonschema.MuseaSchemaDefinitions
|
|
3
|
+
|
|
4
|
+
import "@json_schema/JsonSchema.pkl"
|
|
5
|
+
|
|
6
|
+
viewportDef: JsonSchema = new JsonSchema {
|
|
7
|
+
type = "object"
|
|
8
|
+
properties {
|
|
9
|
+
["width"] = new JsonSchema {
|
|
10
|
+
type = "integer"
|
|
11
|
+
description = "Viewport width"
|
|
12
|
+
}
|
|
13
|
+
["height"] = new JsonSchema {
|
|
14
|
+
type = "integer"
|
|
15
|
+
description = "Viewport height"
|
|
16
|
+
}
|
|
17
|
+
["name"] = new JsonSchema {
|
|
18
|
+
type = "string"
|
|
19
|
+
description = "Viewport name"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
required = new Listing { "width"; "height" }
|
|
23
|
+
additionalProperties = false
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
museaVrtConfigDef: JsonSchema = new JsonSchema {
|
|
27
|
+
type = "object"
|
|
28
|
+
description = "VRT (Visual Regression Testing) configuration"
|
|
29
|
+
properties {
|
|
30
|
+
["threshold"] = new JsonSchema {
|
|
31
|
+
type = "number"
|
|
32
|
+
description = "Threshold for pixel comparison (0-1)"
|
|
33
|
+
default = 0.1
|
|
34
|
+
}
|
|
35
|
+
["outDir"] = new JsonSchema {
|
|
36
|
+
type = "string"
|
|
37
|
+
description = "Output directory for screenshots"
|
|
38
|
+
default = "__musea_snapshots__"
|
|
39
|
+
}
|
|
40
|
+
["viewports"] = new JsonSchema {
|
|
41
|
+
type = "array"
|
|
42
|
+
items = new JsonSchema { `$ref` = "#/definitions/MuseaViewport" }
|
|
43
|
+
description = "Viewport sizes"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
additionalProperties = false
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
museaA11yConfigDef: JsonSchema = new JsonSchema {
|
|
50
|
+
type = "object"
|
|
51
|
+
description = "A11y configuration"
|
|
52
|
+
properties {
|
|
53
|
+
["enabled"] = new JsonSchema {
|
|
54
|
+
type = "boolean"
|
|
55
|
+
description = "Enable a11y checking"
|
|
56
|
+
default = false
|
|
57
|
+
}
|
|
58
|
+
["rules"] = new JsonSchema {
|
|
59
|
+
type = "object"
|
|
60
|
+
description = "Axe-core rules to enable/disable"
|
|
61
|
+
additionalProperties = new JsonSchema { type = "boolean" }
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
additionalProperties = false
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
museaAutogenConfigDef: JsonSchema = new JsonSchema {
|
|
68
|
+
type = "object"
|
|
69
|
+
description = "Autogen configuration"
|
|
70
|
+
properties {
|
|
71
|
+
["enabled"] = new JsonSchema {
|
|
72
|
+
type = "boolean"
|
|
73
|
+
description = "Enable auto-generation of variants"
|
|
74
|
+
default = false
|
|
75
|
+
}
|
|
76
|
+
["maxVariants"] = new JsonSchema {
|
|
77
|
+
type = "integer"
|
|
78
|
+
description = "Max variants to generate per component"
|
|
79
|
+
default = 10
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
additionalProperties = false
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
museaConfigDef: JsonSchema = new JsonSchema {
|
|
86
|
+
type = "object"
|
|
87
|
+
description = "Musea component gallery options"
|
|
88
|
+
properties {
|
|
89
|
+
["include"] = new JsonSchema {
|
|
90
|
+
type = "array"
|
|
91
|
+
items = new JsonSchema { type = "string" }
|
|
92
|
+
description = "Glob patterns for art files"
|
|
93
|
+
}
|
|
94
|
+
["exclude"] = new JsonSchema {
|
|
95
|
+
type = "array"
|
|
96
|
+
items = new JsonSchema { type = "string" }
|
|
97
|
+
description = "Glob patterns to exclude"
|
|
98
|
+
}
|
|
99
|
+
["basePath"] = new JsonSchema {
|
|
100
|
+
type = "string"
|
|
101
|
+
description = "Base path for gallery"
|
|
102
|
+
default = "/__musea__"
|
|
103
|
+
}
|
|
104
|
+
["storybookCompat"] = new JsonSchema {
|
|
105
|
+
type = "boolean"
|
|
106
|
+
description = "Enable Storybook compatibility"
|
|
107
|
+
default = false
|
|
108
|
+
}
|
|
109
|
+
["inlineArt"] = new JsonSchema {
|
|
110
|
+
type = "boolean"
|
|
111
|
+
description = "Enable inline art detection in .vue files"
|
|
112
|
+
default = false
|
|
113
|
+
}
|
|
114
|
+
["vrt"] = new JsonSchema { `$ref` = "#/definitions/MuseaVrtConfig" }
|
|
115
|
+
["a11y"] = new JsonSchema { `$ref` = "#/definitions/MuseaA11yConfig" }
|
|
116
|
+
["autogen"] = new JsonSchema { `$ref` = "#/definitions/MuseaAutogenConfig" }
|
|
117
|
+
}
|
|
118
|
+
additionalProperties = false
|
|
119
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
module vize.jsonschema.generate
|
|
5
5
|
import "@json_schema/JsonSchema.pkl"
|
|
6
6
|
import "ConfigArtifactDefinitions.pkl"
|
|
7
|
+
import "MuseaSchemaDefinitions.pkl"
|
|
7
8
|
local ruleSeverityEnum: JsonSchema = new JsonSchema {
|
|
8
9
|
type = "string"
|
|
9
10
|
enum = new Listing { "off"; "warn"; "error" }
|
|
@@ -344,6 +345,10 @@ local languageServerConfigDef: JsonSchema = new JsonSchema {
|
|
|
344
345
|
type = "boolean"
|
|
345
346
|
description = "Enable completions"
|
|
346
347
|
}
|
|
348
|
+
["signatureHelp"] = new JsonSchema {
|
|
349
|
+
type = "boolean"
|
|
350
|
+
description = "Enable TypeScript signature help"
|
|
351
|
+
}
|
|
347
352
|
["hover"] = new JsonSchema {
|
|
348
353
|
type = "boolean"
|
|
349
354
|
description = "Enable hover information"
|
|
@@ -412,121 +417,6 @@ local languageServerConfigDef: JsonSchema = new JsonSchema {
|
|
|
412
417
|
additionalProperties = false
|
|
413
418
|
}
|
|
414
419
|
|
|
415
|
-
local viewportDef: JsonSchema = new JsonSchema {
|
|
416
|
-
type = "object"
|
|
417
|
-
properties {
|
|
418
|
-
["width"] = new JsonSchema {
|
|
419
|
-
type = "integer"
|
|
420
|
-
description = "Viewport width"
|
|
421
|
-
}
|
|
422
|
-
["height"] = new JsonSchema {
|
|
423
|
-
type = "integer"
|
|
424
|
-
description = "Viewport height"
|
|
425
|
-
}
|
|
426
|
-
["name"] = new JsonSchema {
|
|
427
|
-
type = "string"
|
|
428
|
-
description = "Viewport name"
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
required = new Listing { "width"; "height" }
|
|
432
|
-
additionalProperties = false
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
local museaVrtConfigDef: JsonSchema = new JsonSchema {
|
|
436
|
-
type = "object"
|
|
437
|
-
description = "VRT (Visual Regression Testing) configuration"
|
|
438
|
-
properties {
|
|
439
|
-
["threshold"] = new JsonSchema {
|
|
440
|
-
type = "number"
|
|
441
|
-
description = "Threshold for pixel comparison (0-1)"
|
|
442
|
-
default = 0.1
|
|
443
|
-
}
|
|
444
|
-
["outDir"] = new JsonSchema {
|
|
445
|
-
type = "string"
|
|
446
|
-
description = "Output directory for screenshots"
|
|
447
|
-
default = "__musea_snapshots__"
|
|
448
|
-
}
|
|
449
|
-
["viewports"] = new JsonSchema {
|
|
450
|
-
type = "array"
|
|
451
|
-
items = new JsonSchema { `$ref` = "#/definitions/MuseaViewport" }
|
|
452
|
-
description = "Viewport sizes"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
additionalProperties = false
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
local museaA11yConfigDef: JsonSchema = new JsonSchema {
|
|
459
|
-
type = "object"
|
|
460
|
-
description = "A11y configuration"
|
|
461
|
-
properties {
|
|
462
|
-
["enabled"] = new JsonSchema {
|
|
463
|
-
type = "boolean"
|
|
464
|
-
description = "Enable a11y checking"
|
|
465
|
-
default = false
|
|
466
|
-
}
|
|
467
|
-
["rules"] = new JsonSchema {
|
|
468
|
-
type = "object"
|
|
469
|
-
description = "Axe-core rules to enable/disable"
|
|
470
|
-
additionalProperties = new JsonSchema { type = "boolean" }
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
additionalProperties = false
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
local museaAutogenConfigDef: JsonSchema = new JsonSchema {
|
|
477
|
-
type = "object"
|
|
478
|
-
description = "Autogen configuration"
|
|
479
|
-
properties {
|
|
480
|
-
["enabled"] = new JsonSchema {
|
|
481
|
-
type = "boolean"
|
|
482
|
-
description = "Enable auto-generation of variants"
|
|
483
|
-
default = false
|
|
484
|
-
}
|
|
485
|
-
["maxVariants"] = new JsonSchema {
|
|
486
|
-
type = "integer"
|
|
487
|
-
description = "Max variants to generate per component"
|
|
488
|
-
default = 10
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
additionalProperties = false
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
local museaConfigDef: JsonSchema = new JsonSchema {
|
|
495
|
-
type = "object"
|
|
496
|
-
description = "Musea component gallery options"
|
|
497
|
-
properties {
|
|
498
|
-
["include"] = new JsonSchema {
|
|
499
|
-
type = "array"
|
|
500
|
-
items = new JsonSchema { type = "string" }
|
|
501
|
-
description = "Glob patterns for art files"
|
|
502
|
-
}
|
|
503
|
-
["exclude"] = new JsonSchema {
|
|
504
|
-
type = "array"
|
|
505
|
-
items = new JsonSchema { type = "string" }
|
|
506
|
-
description = "Glob patterns to exclude"
|
|
507
|
-
}
|
|
508
|
-
["basePath"] = new JsonSchema {
|
|
509
|
-
type = "string"
|
|
510
|
-
description = "Base path for gallery"
|
|
511
|
-
default = "/__musea__"
|
|
512
|
-
}
|
|
513
|
-
["storybookCompat"] = new JsonSchema {
|
|
514
|
-
type = "boolean"
|
|
515
|
-
description = "Enable Storybook compatibility"
|
|
516
|
-
default = false
|
|
517
|
-
}
|
|
518
|
-
["inlineArt"] = new JsonSchema {
|
|
519
|
-
type = "boolean"
|
|
520
|
-
description = "Enable inline art detection in .vue files"
|
|
521
|
-
default = false
|
|
522
|
-
}
|
|
523
|
-
["vrt"] = new JsonSchema { `$ref` = "#/definitions/MuseaVrtConfig" }
|
|
524
|
-
["a11y"] = new JsonSchema { `$ref` = "#/definitions/MuseaA11yConfig" }
|
|
525
|
-
["autogen"] = new JsonSchema { `$ref` = "#/definitions/MuseaAutogenConfig" }
|
|
526
|
-
}
|
|
527
|
-
additionalProperties = false
|
|
528
|
-
}
|
|
529
|
-
|
|
530
420
|
local globalTypeDeclarationDef: JsonSchema = new JsonSchema {
|
|
531
421
|
type = "object"
|
|
532
422
|
description = "Global type declaration"
|
|
@@ -617,11 +507,11 @@ output {
|
|
|
617
507
|
["TypeCheckerConfig"] = typeCheckerConfigDef
|
|
618
508
|
["FormatterConfig"] = formatterConfigDef
|
|
619
509
|
["LanguageServerConfig"] = languageServerConfigDef
|
|
620
|
-
["MuseaViewport"] = viewportDef
|
|
621
|
-
["MuseaVrtConfig"] = museaVrtConfigDef
|
|
622
|
-
["MuseaA11yConfig"] = museaA11yConfigDef
|
|
623
|
-
["MuseaAutogenConfig"] = museaAutogenConfigDef
|
|
624
|
-
["MuseaConfig"] = museaConfigDef
|
|
510
|
+
["MuseaViewport"] = MuseaSchemaDefinitions.viewportDef
|
|
511
|
+
["MuseaVrtConfig"] = MuseaSchemaDefinitions.museaVrtConfigDef
|
|
512
|
+
["MuseaA11yConfig"] = MuseaSchemaDefinitions.museaA11yConfigDef
|
|
513
|
+
["MuseaAutogenConfig"] = MuseaSchemaDefinitions.museaAutogenConfigDef
|
|
514
|
+
["MuseaConfig"] = MuseaSchemaDefinitions.museaConfigDef
|
|
625
515
|
["GlobalTypeDeclaration"] = globalTypeDeclarationDef
|
|
626
516
|
["GlobalTypesConfig"] = globalTypesConfigDef
|
|
627
517
|
["VizeConfigEntry"] = configEntryDef
|
package/pkl/vize.pkl
CHANGED
|
@@ -548,6 +548,10 @@
|
|
|
548
548
|
"description": "Enable completions",
|
|
549
549
|
"type": "boolean"
|
|
550
550
|
},
|
|
551
|
+
"signatureHelp": {
|
|
552
|
+
"description": "Enable TypeScript signature help",
|
|
553
|
+
"type": "boolean"
|
|
554
|
+
},
|
|
551
555
|
"hover": {
|
|
552
556
|
"description": "Enable hover information",
|
|
553
557
|
"type": "boolean"
|
package/src/init/args.ts
CHANGED
|
@@ -121,7 +121,7 @@ Options:
|
|
|
121
121
|
--nuxt nuxt module (forces the Nuxt target)
|
|
122
122
|
--bundler/--no-bundler vite plugin or nuxt module, auto-detected
|
|
123
123
|
--fmt / --no-fmt vize fmt
|
|
124
|
-
--typecheck vize check (
|
|
124
|
+
--typecheck vize check (creates tsconfig.json when missing)
|
|
125
125
|
--no-typecheck
|
|
126
126
|
--editor / --no-editor .vscode/extensions.json recommendation
|
|
127
127
|
--dry-run Print the plan without writing anything
|
package/src/init/plan-project.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { DEFAULT_SCRIPTS, detectJsonIndent, parsePackageJson } from "../setup/co
|
|
|
5
5
|
import type { ProjectDetection } from "./detect.js";
|
|
6
6
|
import { skipped, type PlanDraft } from "./plan-types.js";
|
|
7
7
|
import type { FeatureId, FeatureSelection } from "./select.js";
|
|
8
|
-
import { renderVizeConfig } from "./templates.js";
|
|
8
|
+
import { renderTypecheckTsconfig, renderVizeConfig } from "./templates.js";
|
|
9
9
|
|
|
10
10
|
/** Scripts each feature contributes, reusing the command strings `setup` ships. */
|
|
11
11
|
const FEATURE_SCRIPTS: Readonly<Record<FeatureId, readonly string[]>> = {
|
|
@@ -29,29 +29,28 @@ export function planVizeConfig(
|
|
|
29
29
|
selection: FeatureSelection,
|
|
30
30
|
draft: PlanDraft,
|
|
31
31
|
): void {
|
|
32
|
+
if (selection.typecheck && detection.tsconfig === null) {
|
|
33
|
+
draft.files.push({
|
|
34
|
+
filename: path.join(detection.root, "tsconfig.json"),
|
|
35
|
+
source: renderTypecheckTsconfig(detection.typescript),
|
|
36
|
+
});
|
|
37
|
+
draft.createdFiles.push("tsconfig.json");
|
|
38
|
+
}
|
|
39
|
+
|
|
32
40
|
for (const id of ["fmt", "typecheck"] as const) {
|
|
33
41
|
if (!selection[id]) {
|
|
34
|
-
draft.features.push(
|
|
35
|
-
id === "typecheck" && detection.tsconfig === null
|
|
36
|
-
? skipped(id, "no tsconfig.json, so vize check has nothing to check")
|
|
37
|
-
: skipped(id),
|
|
38
|
-
);
|
|
39
|
-
continue;
|
|
40
|
-
}
|
|
41
|
-
if (id === "typecheck" && detection.tsconfig === null) {
|
|
42
|
-
draft.features.push({
|
|
43
|
-
id,
|
|
44
|
-
outcome: "blocked",
|
|
45
|
-
detail: "vize check needs a tsconfig.json; none was found",
|
|
46
|
-
snippet: null,
|
|
47
|
-
});
|
|
42
|
+
draft.features.push(skipped(id));
|
|
48
43
|
continue;
|
|
49
44
|
}
|
|
45
|
+
const scaffoldsTsconfig = id === "typecheck" && detection.tsconfig === null;
|
|
50
46
|
draft.features.push({
|
|
51
47
|
id,
|
|
52
|
-
outcome: detection.vizeConfig === null ? "configured" : "unchanged",
|
|
53
|
-
detail:
|
|
54
|
-
detection.vizeConfig === null
|
|
48
|
+
outcome: scaffoldsTsconfig || detection.vizeConfig === null ? "configured" : "unchanged",
|
|
49
|
+
detail: scaffoldsTsconfig
|
|
50
|
+
? detection.vizeConfig === null
|
|
51
|
+
? "writes tsconfig.json and vize.config.ts"
|
|
52
|
+
: `writes tsconfig.json; ${detection.vizeConfig} already exists and was left unchanged`
|
|
53
|
+
: detection.vizeConfig === null
|
|
55
54
|
? "writes vize.config.ts"
|
|
56
55
|
: `${detection.vizeConfig} already exists and was left unchanged`,
|
|
57
56
|
snippet: null,
|
|
@@ -67,7 +66,7 @@ export function planVizeConfig(
|
|
|
67
66
|
source: renderVizeConfig({
|
|
68
67
|
lint: selection.lint,
|
|
69
68
|
fmt: selection.fmt,
|
|
70
|
-
typecheck: selection.typecheck
|
|
69
|
+
typecheck: selection.typecheck,
|
|
71
70
|
vite: detection.framework === "vite",
|
|
72
71
|
}),
|
|
73
72
|
});
|
|
@@ -88,7 +87,7 @@ export function planScripts(
|
|
|
88
87
|
): readonly string[] {
|
|
89
88
|
const wanted: string[] = [];
|
|
90
89
|
for (const id of ["lint", "fmt", "typecheck"] as const) {
|
|
91
|
-
if (!selection[id]
|
|
90
|
+
if (!selection[id]) {
|
|
92
91
|
continue;
|
|
93
92
|
}
|
|
94
93
|
wanted.push(...FEATURE_SCRIPTS[id]);
|
package/src/init/select.ts
CHANGED
|
@@ -126,18 +126,21 @@ function fmtOffer(detection: ProjectDetection): FeatureOffer {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
function typecheckOffer(detection: ProjectDetection): FeatureOffer {
|
|
129
|
-
const configured =
|
|
129
|
+
const configured =
|
|
130
|
+
detection.tsconfig !== null &&
|
|
131
|
+
detection.vizeConfig !== null &&
|
|
132
|
+
"vize:check" in detection.scripts;
|
|
130
133
|
return {
|
|
131
134
|
id: "typecheck",
|
|
132
135
|
label: "typecheck (vize check)",
|
|
133
|
-
available:
|
|
136
|
+
available: true,
|
|
134
137
|
configured,
|
|
135
138
|
note: configured
|
|
136
139
|
? "already configured"
|
|
137
140
|
: detection.tsconfig === null
|
|
138
|
-
? "
|
|
141
|
+
? "creates tsconfig.json"
|
|
139
142
|
: "",
|
|
140
|
-
defaultSelected:
|
|
143
|
+
defaultSelected: true,
|
|
141
144
|
};
|
|
142
145
|
}
|
|
143
146
|
|
package/src/init/templates.ts
CHANGED
|
@@ -50,6 +50,7 @@ export function renderVizeConfig(features: VizeConfigFeatures): string {
|
|
|
50
50
|
blocks.push(` typeChecker: {
|
|
51
51
|
enabled: true,
|
|
52
52
|
strict: true,
|
|
53
|
+
jsxTypecheck: true,
|
|
53
54
|
},`);
|
|
54
55
|
}
|
|
55
56
|
if (features.vite) {
|
|
@@ -65,6 +66,24 @@ ${blocks.join("\n")}
|
|
|
65
66
|
`;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
/** Minimum project config written only when typechecking is selected and no config exists. */
|
|
70
|
+
export function renderTypecheckTsconfig(typescript: boolean): string {
|
|
71
|
+
const compilerOptions: Record<string, boolean | string> = {
|
|
72
|
+
strict: true,
|
|
73
|
+
target: "ES2022",
|
|
74
|
+
module: "ESNext",
|
|
75
|
+
moduleResolution: "Bundler",
|
|
76
|
+
jsx: "preserve",
|
|
77
|
+
};
|
|
78
|
+
if (!typescript) {
|
|
79
|
+
compilerOptions.allowJs = true;
|
|
80
|
+
compilerOptions.checkJs = true;
|
|
81
|
+
}
|
|
82
|
+
compilerOptions.noEmit = true;
|
|
83
|
+
compilerOptions.skipLibCheck = true;
|
|
84
|
+
return `${JSON.stringify({ compilerOptions, include: ["src/**/*"] }, null, 2)}\n`;
|
|
85
|
+
}
|
|
86
|
+
|
|
68
87
|
/**
|
|
69
88
|
* Config for the `oxlint` binary.
|
|
70
89
|
*
|
package/src/setup/config.ts
CHANGED
|
@@ -44,7 +44,9 @@ export const DEFAULT_SCRIPTS = {
|
|
|
44
44
|
"vize:fmt": "vize fmt --check src",
|
|
45
45
|
"vize:fmt:fix": "vize fmt --write src",
|
|
46
46
|
"vize:lint": "vize lint --preset happy-path --max-warnings 0 src",
|
|
47
|
-
|
|
47
|
+
// No positional input: the default command must check the complete tsconfig
|
|
48
|
+
// project graph, including root files and referenced projects outside src.
|
|
49
|
+
"vize:check": "vize check",
|
|
48
50
|
"vize:musea": "vize musea",
|
|
49
51
|
"vize:ready": "vize ready src",
|
|
50
52
|
} as const;
|
|
@@ -61,6 +63,7 @@ export default defineConfig({
|
|
|
61
63
|
typeChecker: {
|
|
62
64
|
enabled: true,
|
|
63
65
|
strict: true,
|
|
66
|
+
jsxTypecheck: true,
|
|
64
67
|
},
|
|
65
68
|
vite: {
|
|
66
69
|
scanPatterns: ["src/**/*.vue"],
|
package/src/types/generated.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-D1VKwrsv.d.mts","names":[],"sources":["../src/types/generated.ts","../src/types/rules.ts","../src/types/runtime.ts","../src/types/index.ts","../src/config.ts"],"mappings":";;AAOA;;;;KAAY,UAAA;AAAA,KAQA,YAAA;AAAA,KAEA,YAAA;;;;KAKA,UAAA;;;;UAKK,UAAA;EALL;;;EASV,IAAA;EA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