vize 0.49.0 → 0.56.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/cli.mjs DELETED
@@ -1,174 +0,0 @@
1
- import { loadConfig } from "./config.mjs";
2
- import { createRequire } from "node:module";
3
- import { readFileSync } from "node:fs";
4
- import path from "node:path";
5
- //#region src/cli.ts
6
- const require = createRequire(import.meta.url);
7
- const WORKSPACE_BINDING_PATH = "../../vize-native";
8
- function isMusl() {
9
- const report = process.report?.getReport();
10
- if (typeof report === "object" && report !== null && "header" in report) return !report.header.glibcVersionRuntime;
11
- try {
12
- return readFileSync(require("child_process").execSync("which ldd").toString().trim(), "utf8").includes("musl");
13
- } catch {
14
- return true;
15
- }
16
- }
17
- function getBindingPackageName() {
18
- const { platform, arch } = process;
19
- switch (platform) {
20
- case "darwin": switch (arch) {
21
- case "x64": return "@vizejs/native-darwin-x64";
22
- case "arm64": return "@vizejs/native-darwin-arm64";
23
- default: throw new Error(`Unsupported architecture on macOS: ${arch}`);
24
- }
25
- case "win32": switch (arch) {
26
- case "x64": return "@vizejs/native-win32-x64-msvc";
27
- case "arm64": return "@vizejs/native-win32-arm64-msvc";
28
- default: throw new Error(`Unsupported architecture on Windows: ${arch}`);
29
- }
30
- case "linux": switch (arch) {
31
- case "x64": return isMusl() ? "@vizejs/native-linux-x64-musl" : "@vizejs/native-linux-x64-gnu";
32
- case "arm64": return isMusl() ? "@vizejs/native-linux-arm64-musl" : "@vizejs/native-linux-arm64-gnu";
33
- default: throw new Error(`Unsupported architecture on Linux: ${arch}`);
34
- }
35
- default: throw new Error(`Unsupported OS: ${platform}, architecture: ${arch}`);
36
- }
37
- }
38
- function loadNative() {
39
- const attemptedPackages = getAttemptedPackages();
40
- let lastError = null;
41
- for (const packageName of attemptedPackages) try {
42
- const binding = require(packageName);
43
- if (typeof binding.lint !== "function") throw new Error(`${packageName} does not expose the lint binding.`);
44
- return binding;
45
- } catch (error) {
46
- lastError = error;
47
- }
48
- console.error(`Failed to load native binding. Tried: ${attemptedPackages.join(", ")}`);
49
- console.error("Try reinstalling: npm install vize");
50
- throw lastError instanceof Error ? lastError : /* @__PURE__ */ new Error("Failed to load native binding");
51
- }
52
- function getAttemptedPackages() {
53
- const platformBindingPackage = getBindingPackageName();
54
- return shouldPreferWorkspaceBinding(resolveWorkspaceBindingPath()) ? [WORKSPACE_BINDING_PATH, platformBindingPackage] : [platformBindingPackage, WORKSPACE_BINDING_PATH];
55
- }
56
- function resolveWorkspaceBindingPath() {
57
- try {
58
- return require.resolve(WORKSPACE_BINDING_PATH);
59
- } catch {
60
- return null;
61
- }
62
- }
63
- function shouldPreferWorkspaceBinding(resolvedPath) {
64
- const override = process.env.VIZE_PREFER_WORKSPACE_BINDING;
65
- if (override === "1" || override === "true") return true;
66
- if (override === "0" || override === "false") return false;
67
- if (resolvedPath == null) return false;
68
- return resolvedPath.includes(`${path.sep}npm${path.sep}vize-native${path.sep}`);
69
- }
70
- function parseLintCommand(args) {
71
- const patterns = [];
72
- const options = {};
73
- const sharedConfig = { configMode: "root" };
74
- for (let i = 0; i < args.length; i++) {
75
- const arg = args[i];
76
- if (arg === "--format" || arg === "-f") options.format = args[++i];
77
- else if (arg === "--max-warnings") options.maxWarnings = Number.parseInt(args[++i], 10);
78
- else if (arg === "--quiet" || arg === "-q") options.quiet = true;
79
- else if (arg === "--fix") options.fix = true;
80
- else if (arg === "--help-level") options.helpLevel = args[++i];
81
- else if (arg === "--preset") options.preset = args[++i];
82
- else if (arg === "--config" || arg === "-c") {
83
- const configFile = args[++i];
84
- if (!configFile) throw new Error("Missing path after --config");
85
- sharedConfig.configFile = configFile;
86
- } else if (arg === "--no-config") sharedConfig.configMode = "none";
87
- else if (!arg.startsWith("-")) patterns.push(arg);
88
- }
89
- return {
90
- patterns,
91
- options,
92
- sharedConfig
93
- };
94
- }
95
- async function runLint(args) {
96
- const { patterns, options, sharedConfig } = parseLintCommand(args);
97
- const config = await loadConfig(process.cwd(), {
98
- mode: sharedConfig.configMode,
99
- configFile: sharedConfig.configFile,
100
- env: {
101
- mode: process.env.NODE_ENV ?? "development",
102
- command: "lint"
103
- }
104
- });
105
- if (sharedConfig.configFile && !config) throw new Error(`Could not find config file: ${sharedConfig.configFile}`);
106
- if (config?.linter?.enabled === false) {
107
- process.stderr.write("[vize] Skipping lint because linter.enabled is false in vize.config.\n");
108
- return;
109
- }
110
- options.preset ??= config?.linter?.preset;
111
- if (patterns.length === 0) patterns.push(".");
112
- const result = loadNative().lint(patterns, {
113
- format: options.format,
114
- max_warnings: options.maxWarnings,
115
- quiet: options.quiet,
116
- fix: options.fix,
117
- help_level: options.helpLevel,
118
- preset: options.preset
119
- });
120
- if (result.output) {
121
- process.stdout.write(result.output);
122
- if (!result.output.endsWith("\n")) process.stdout.write("\n");
123
- }
124
- if (options.fix) process.stderr.write("\nNote: --fix is not yet implemented\n");
125
- if (result.errorCount > 0) process.exit(1);
126
- if (options.maxWarnings !== void 0 && result.warningCount > options.maxWarnings) {
127
- process.stderr.write(`\nToo many warnings (${result.warningCount} > max ${options.maxWarnings})\n`);
128
- process.exit(1);
129
- }
130
- }
131
- const NAPI_COMMANDS = new Set(["lint"]);
132
- async function main() {
133
- const args = process.argv.slice(2);
134
- const command = args[0];
135
- if (!command) {
136
- console.error("Usage: vize <command> [options]");
137
- console.error("Commands: lint");
138
- process.exit(1);
139
- }
140
- if (NAPI_COMMANDS.has(command)) {
141
- const commandArgs = args.slice(1);
142
- switch (command) {
143
- case "lint":
144
- await runLint(commandArgs);
145
- break;
146
- }
147
- } else {
148
- console.error(`Unknown command: ${command}`);
149
- console.error("For commands not yet available via NAPI, install from source: cargo install vize");
150
- process.exit(1);
151
- }
152
- }
153
- if (!import.meta.vitest) main().catch((error) => {
154
- console.error(error instanceof Error ? error.message : String(error));
155
- process.exit(1);
156
- });
157
- if (import.meta.vitest) {
158
- const { describe, expect, it } = import.meta.vitest;
159
- describe("shouldPreferWorkspaceBinding", () => {
160
- it("detects the local workspace native package", () => {
161
- expect(shouldPreferWorkspaceBinding(`${path.sep}Users${path.sep}example${path.sep}repo${path.sep}npm${path.sep}vize-native${path.sep}index.js`)).toBe(true);
162
- });
163
- it("ignores published platform packages", () => {
164
- expect(shouldPreferWorkspaceBinding(`${path.sep}repo${path.sep}node_modules${path.sep}.pnpm${path.sep}@vizejs+native-darwin-arm64${path.sep}node_modules${path.sep}@vizejs${path.sep}native-darwin-arm64${path.sep}index.js`)).toBe(false);
165
- });
166
- it("returns false when the fallback package cannot be resolved", () => {
167
- expect(shouldPreferWorkspaceBinding(null)).toBe(false);
168
- });
169
- });
170
- }
171
- //#endregion
172
- export {};
173
-
174
- //# sourceMappingURL=cli.mjs.map
package/dist/cli.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.mjs","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import { readFileSync } from \"node:fs\";\nimport path from \"node:path\";\nimport { createRequire } from \"node:module\";\nimport { loadConfig } from \"./config.js\";\n\nconst require = createRequire(import.meta.url);\nconst WORKSPACE_BINDING_PATH = \"../../vize-native\";\n\n// ============================================================================\n// Native binding loader (oxlint pattern)\n// ============================================================================\n\nfunction isMusl(): boolean {\n const report = process.report?.getReport();\n if (typeof report === \"object\" && report !== null && \"header\" in report) {\n const header = (report as { header: { glibcVersionRuntime?: string } }).header;\n return !header.glibcVersionRuntime;\n }\n try {\n const lddPath = require(\"child_process\").execSync(\"which ldd\").toString().trim();\n return readFileSync(lddPath, \"utf8\").includes(\"musl\");\n } catch {\n return true;\n }\n}\n\nfunction getBindingPackageName(): string {\n const { platform, arch } = process;\n\n switch (platform) {\n case \"darwin\":\n switch (arch) {\n case \"x64\":\n return \"@vizejs/native-darwin-x64\";\n case \"arm64\":\n return \"@vizejs/native-darwin-arm64\";\n default:\n throw new Error(`Unsupported architecture on macOS: ${arch}`);\n }\n case \"win32\":\n switch (arch) {\n case \"x64\":\n return \"@vizejs/native-win32-x64-msvc\";\n case \"arm64\":\n return \"@vizejs/native-win32-arm64-msvc\";\n default:\n throw new Error(`Unsupported architecture on Windows: ${arch}`);\n }\n case \"linux\":\n switch (arch) {\n case \"x64\":\n return isMusl() ? \"@vizejs/native-linux-x64-musl\" : \"@vizejs/native-linux-x64-gnu\";\n case \"arm64\":\n return isMusl() ? \"@vizejs/native-linux-arm64-musl\" : \"@vizejs/native-linux-arm64-gnu\";\n default:\n throw new Error(`Unsupported architecture on Linux: ${arch}`);\n }\n default:\n throw new Error(`Unsupported OS: ${platform}, architecture: ${arch}`);\n }\n}\n\ninterface NativeBinding {\n lint: (\n patterns: string[],\n options?: {\n format?: string;\n max_warnings?: number;\n quiet?: boolean;\n fix?: boolean;\n help_level?: string;\n preset?: string;\n },\n ) => LintResult;\n}\n\nfunction loadNative(): NativeBinding {\n const attemptedPackages = getAttemptedPackages();\n let lastError: unknown = null;\n\n for (const packageName of attemptedPackages) {\n try {\n const binding = require(packageName) as Partial<NativeBinding>;\n if (typeof binding.lint !== \"function\") {\n throw new Error(`${packageName} does not expose the lint binding.`);\n }\n return binding as NativeBinding;\n } catch (error) {\n lastError = error;\n }\n }\n\n console.error(`Failed to load native binding. Tried: ${attemptedPackages.join(\", \")}`);\n console.error(\"Try reinstalling: npm install vize\");\n throw lastError instanceof Error ? lastError : new Error(\"Failed to load native binding\");\n}\n\nfunction getAttemptedPackages(): readonly string[] {\n const platformBindingPackage = getBindingPackageName();\n return shouldPreferWorkspaceBinding(resolveWorkspaceBindingPath())\n ? [WORKSPACE_BINDING_PATH, platformBindingPackage]\n : [platformBindingPackage, WORKSPACE_BINDING_PATH];\n}\n\nfunction resolveWorkspaceBindingPath(): string | null {\n try {\n return require.resolve(WORKSPACE_BINDING_PATH);\n } catch {\n return null;\n }\n}\n\nfunction shouldPreferWorkspaceBinding(resolvedPath: string | null): boolean {\n const override = process.env.VIZE_PREFER_WORKSPACE_BINDING;\n if (override === \"1\" || override === \"true\") {\n return true;\n }\n if (override === \"0\" || override === \"false\") {\n return false;\n }\n if (resolvedPath == null) {\n return false;\n }\n\n return resolvedPath.includes(`${path.sep}npm${path.sep}vize-native${path.sep}`);\n}\n\n// ============================================================================\n// Lint command\n// ============================================================================\n\ninterface LintOptions {\n format?: string;\n maxWarnings?: number;\n quiet?: boolean;\n fix?: boolean;\n helpLevel?: string;\n preset?: string;\n}\n\ninterface LintResult {\n output: string;\n errorCount: number;\n warningCount: number;\n fileCount: number;\n timeMs: number;\n}\n\ninterface SharedConfigOptions {\n configFile?: string;\n configMode: \"root\" | \"none\";\n}\n\ninterface ParsedLintCommand {\n patterns: string[];\n options: LintOptions;\n sharedConfig: SharedConfigOptions;\n}\n\nfunction parseLintCommand(args: string[]): ParsedLintCommand {\n const patterns: string[] = [];\n const options: LintOptions = {};\n const sharedConfig: SharedConfigOptions = {\n configMode: \"root\",\n };\n\n for (let i = 0; i < args.length; i++) {\n const arg = args[i];\n if (arg === \"--format\" || arg === \"-f\") {\n options.format = args[++i];\n } else if (arg === \"--max-warnings\") {\n options.maxWarnings = Number.parseInt(args[++i], 10);\n } else if (arg === \"--quiet\" || arg === \"-q\") {\n options.quiet = true;\n } else if (arg === \"--fix\") {\n options.fix = true;\n } else if (arg === \"--help-level\") {\n options.helpLevel = args[++i];\n } else if (arg === \"--preset\") {\n options.preset = args[++i];\n } else if (arg === \"--config\" || arg === \"-c\") {\n const configFile = args[++i];\n if (!configFile) {\n throw new Error(\"Missing path after --config\");\n }\n sharedConfig.configFile = configFile;\n } else if (arg === \"--no-config\") {\n sharedConfig.configMode = \"none\";\n } else if (!arg.startsWith(\"-\")) {\n patterns.push(arg);\n }\n }\n\n return { patterns, options, sharedConfig };\n}\n\nasync function runLint(args: string[]): Promise<void> {\n const { patterns, options, sharedConfig } = parseLintCommand(args);\n const config = await loadConfig(process.cwd(), {\n mode: sharedConfig.configMode,\n configFile: sharedConfig.configFile,\n env: {\n mode: process.env.NODE_ENV ?? \"development\",\n command: \"lint\",\n },\n });\n\n if (sharedConfig.configFile && !config) {\n throw new Error(`Could not find config file: ${sharedConfig.configFile}`);\n }\n\n if (config?.linter?.enabled === false) {\n process.stderr.write(\"[vize] Skipping lint because linter.enabled is false in vize.config.\\n\");\n return;\n }\n\n options.preset ??= config?.linter?.preset;\n\n if (patterns.length === 0) {\n patterns.push(\".\");\n }\n\n const native = loadNative();\n const result = native.lint(patterns, {\n format: options.format,\n max_warnings: options.maxWarnings,\n quiet: options.quiet,\n fix: options.fix,\n help_level: options.helpLevel,\n preset: options.preset,\n });\n\n if (result.output) {\n process.stdout.write(result.output);\n if (!result.output.endsWith(\"\\n\")) {\n process.stdout.write(\"\\n\");\n }\n }\n\n if (options.fix) {\n process.stderr.write(\"\\nNote: --fix is not yet implemented\\n\");\n }\n\n if (result.errorCount > 0) {\n process.exit(1);\n }\n\n if (options.maxWarnings !== undefined && result.warningCount > options.maxWarnings) {\n process.stderr.write(\n `\\nToo many warnings (${result.warningCount} > max ${options.maxWarnings})\\n`,\n );\n process.exit(1);\n }\n}\n\n// ============================================================================\n// Command router\n// ============================================================================\n\nconst NAPI_COMMANDS = new Set([\"lint\"]);\n\nasync function main(): Promise<void> {\n const args = process.argv.slice(2);\n const command = args[0];\n\n if (!command) {\n console.error(\"Usage: vize <command> [options]\");\n console.error(\"Commands: lint\");\n process.exit(1);\n }\n\n if (NAPI_COMMANDS.has(command)) {\n const commandArgs = args.slice(1);\n switch (command) {\n case \"lint\":\n await runLint(commandArgs);\n break;\n }\n } else {\n console.error(`Unknown command: ${command}`);\n console.error(\n \"For commands not yet available via NAPI, install from source: cargo install vize\",\n );\n process.exit(1);\n }\n}\n\nif (!import.meta.vitest) {\n void main().catch((error) => {\n console.error(error instanceof Error ? error.message : String(error));\n process.exit(1);\n });\n}\n\nif (import.meta.vitest) {\n const { describe, expect, it } = import.meta.vitest;\n\n describe(\"shouldPreferWorkspaceBinding\", () => {\n it(\"detects the local workspace native package\", () => {\n expect(\n shouldPreferWorkspaceBinding(\n `${path.sep}Users${path.sep}example${path.sep}repo${path.sep}npm${path.sep}vize-native${path.sep}index.js`,\n ),\n ).toBe(true);\n });\n\n it(\"ignores published platform packages\", () => {\n expect(\n shouldPreferWorkspaceBinding(\n `${path.sep}repo${path.sep}node_modules${path.sep}.pnpm${path.sep}@vizejs+native-darwin-arm64${path.sep}node_modules${path.sep}@vizejs${path.sep}native-darwin-arm64${path.sep}index.js`,\n ),\n ).toBe(false);\n });\n\n it(\"returns false when the fallback package cannot be resolved\", () => {\n expect(shouldPreferWorkspaceBinding(null)).toBe(false);\n });\n });\n}\n"],"mappings":";;;;;AAKA,MAAM,UAAU,cAAc,OAAO,KAAK,IAAI;AAC9C,MAAM,yBAAyB;AAM/B,SAAS,SAAkB;CACzB,MAAM,SAAS,QAAQ,QAAQ,WAAW;AAC1C,KAAI,OAAO,WAAW,YAAY,WAAW,QAAQ,YAAY,OAE/D,QAAO,CADS,OAAwD,OACzD;AAEjB,KAAI;AAEF,SAAO,aADS,QAAQ,gBAAgB,CAAC,SAAS,YAAY,CAAC,UAAU,CAAC,MAAM,EACnD,OAAO,CAAC,SAAS,OAAO;SAC/C;AACN,SAAO;;;AAIX,SAAS,wBAAgC;CACvC,MAAM,EAAE,UAAU,SAAS;AAE3B,SAAQ,UAAR;EACE,KAAK,SACH,SAAQ,MAAR;GACE,KAAK,MACH,QAAO;GACT,KAAK,QACH,QAAO;GACT,QACE,OAAM,IAAI,MAAM,sCAAsC,OAAO;;EAEnE,KAAK,QACH,SAAQ,MAAR;GACE,KAAK,MACH,QAAO;GACT,KAAK,QACH,QAAO;GACT,QACE,OAAM,IAAI,MAAM,wCAAwC,OAAO;;EAErE,KAAK,QACH,SAAQ,MAAR;GACE,KAAK,MACH,QAAO,QAAQ,GAAG,kCAAkC;GACtD,KAAK,QACH,QAAO,QAAQ,GAAG,oCAAoC;GACxD,QACE,OAAM,IAAI,MAAM,sCAAsC,OAAO;;EAEnE,QACE,OAAM,IAAI,MAAM,mBAAmB,SAAS,kBAAkB,OAAO;;;AAkB3E,SAAS,aAA4B;CACnC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AAK,IAAI,cAAc,KAAK,IAAI,SAAS,KAAK,IAAI,qBAAqB,KAAK,IAAI,UAChL,CACF,CAAC,KAAK,MAAM;IACb;AAEF,KAAG,oEAAoE;AACrE,UAAO,6BAA6B,KAAK,CAAC,CAAC,KAAK,MAAM;IACtD;GACF"}
@@ -1,449 +0,0 @@
1
- //#region src/types/compiler.d.ts
2
- /**
3
- * Compiler configuration
4
- */
5
- interface CompilerConfig {
6
- /**
7
- * Compilation mode
8
- * @default 'module'
9
- */
10
- mode?: "module" | "function";
11
- /**
12
- * Enable Vapor mode compilation
13
- * @default false
14
- */
15
- vapor?: boolean;
16
- /**
17
- * Enable SSR mode
18
- * @default false
19
- */
20
- ssr?: boolean;
21
- /**
22
- * Enable source map generation
23
- * @default true in development, false in production
24
- */
25
- sourceMap?: boolean;
26
- /**
27
- * Prefix template identifiers with _ctx
28
- * @default false
29
- */
30
- prefixIdentifiers?: boolean;
31
- /**
32
- * Hoist static nodes
33
- * @default true
34
- */
35
- hoistStatic?: boolean;
36
- /**
37
- * Cache v-on handlers
38
- * @default true
39
- */
40
- cacheHandlers?: boolean;
41
- /**
42
- * Enable TypeScript parsing in <script> blocks
43
- * @default true
44
- */
45
- isTs?: boolean;
46
- /**
47
- * Script file extension for generated output
48
- * @default 'ts'
49
- */
50
- scriptExt?: "ts" | "js";
51
- /**
52
- * Module name for runtime imports
53
- * @default 'vue'
54
- */
55
- runtimeModuleName?: string;
56
- /**
57
- * Global variable name for runtime (IIFE builds)
58
- * @default 'Vue'
59
- */
60
- runtimeGlobalName?: string;
61
- }
62
- /**
63
- * Vite plugin configuration
64
- */
65
- interface VitePluginConfig {
66
- /**
67
- * Files to include in compilation
68
- * @default /\.vue$/
69
- */
70
- include?: string | RegExp | (string | RegExp)[];
71
- /**
72
- * Files to exclude from compilation
73
- * @default /node_modules/
74
- */
75
- exclude?: string | RegExp | (string | RegExp)[];
76
- /**
77
- * Glob patterns to scan for .vue files during pre-compilation
78
- * @default ['**\/*.vue']
79
- */
80
- scanPatterns?: string[];
81
- /**
82
- * Glob patterns to ignore during pre-compilation
83
- * @default ['node_modules/**', 'dist/**', '.git/**']
84
- */
85
- ignorePatterns?: string[];
86
- }
87
- //#endregion
88
- //#region src/types/rules.d.ts
89
- declare const LINT_RULE_NAMES: readonly ["a11y/alt-text", "a11y/anchor-has-content", "a11y/anchor-is-valid", "a11y/aria-props", "a11y/aria-role", "a11y/aria-unsupported-elements", "a11y/click-events-have-key-events", "a11y/form-control-has-label", "a11y/heading-has-content", "a11y/heading-levels", "a11y/iframe-has-title", "a11y/img-alt", "a11y/interactive-supports-focus", "a11y/label-has-for", "a11y/landmark-roles", "a11y/media-has-caption", "a11y/mouse-events-have-key-events", "a11y/no-access-key", "a11y/no-aria-hidden-on-focusable", "a11y/no-autofocus", "a11y/no-distracting-elements", "a11y/no-i-for-icon", "a11y/no-redundant-roles", "a11y/no-refer-to-non-existent-id", "a11y/no-role-presentation-on-focusable", "a11y/no-static-element-interactions", "a11y/placeholder-label-option", "a11y/role-has-required-aria-props", "a11y/tabindex-no-positive", "a11y/use-list", "html/deprecated-attr", "html/deprecated-element", "html/id-duplication", "html/no-consecutive-br", "html/no-duplicate-dt", "html/no-empty-palpable-content", "html/require-datetime", "script/no-get-current-instance", "script/no-next-tick", "script/no-options-api", "ssr/no-browser-globals-in-ssr", "ssr/no-hydration-mismatch", "type/no-floating-promises", "type/no-unsafe-template-binding", "type/require-typed-emits", "type/require-typed-props", "vapor/no-inline-template", "vapor/no-suspense", "vapor/no-vue-lifecycle-events", "vapor/prefer-static-class", "vapor/require-vapor-attribute", "vue/attribute-hyphenation", "vue/attribute-order", "vue/component-definition-name-casing", "vue/component-name-in-template-casing", "vue/html-quotes", "vue/html-self-closing", "vue/multi-word-component-names", "vue/mustache-interpolation-spacing", "vue/no-boolean-attr-value", "vue/no-child-content", "vue/no-dupe-v-else-if", "vue/no-duplicate-attributes", "vue/no-inline-style", "vue/no-lone-template", "vue/no-multi-spaces", "vue/no-mutating-props", "vue/no-preprocessor-lang", "vue/no-reserved-component-names", "vue/no-script-non-standard-lang", "vue/no-src-attribute", "vue/no-template-key", "vue/no-template-lang", "vue/no-template-shadow", "vue/no-textarea-mustache", "vue/no-unsafe-url", "vue/no-unused-components", "vue/no-unused-properties", "vue/no-unused-vars", "vue/no-use-v-if-with-v-for", "vue/no-useless-template-attributes", "vue/no-v-html", "vue/no-v-text-v-html-on-component", "vue/permitted-contents", "vue/prefer-props-shorthand", "vue/prop-name-casing", "vue/require-component-is", "vue/require-component-registration", "vue/require-scoped-style", "vue/require-v-for-key", "vue/scoped-event-names", "vue/sfc-element-order", "vue/single-style-block", "vue/use-unique-element-ids", "vue/use-v-on-exact", "vue/v-bind-style", "vue/v-on-style", "vue/v-slot-style", "vue/valid-attribute-name", "vue/valid-v-bind", "vue/valid-v-else", "vue/valid-v-for", "vue/valid-v-if", "vue/valid-v-memo", "vue/valid-v-model", "vue/valid-v-on", "vue/valid-v-show", "vue/valid-v-slot", "vue/warn-custom-block", "vue/warn-custom-directive"];
90
- type LintRuleName = (typeof LINT_RULE_NAMES)[number];
91
- type LintRulesConfig = Partial<Record<LintRuleName, RuleSeverity>>;
92
- //#endregion
93
- //#region src/types/tools.d.ts
94
- /**
95
- * Linter configuration
96
- */
97
- interface LinterConfig {
98
- /**
99
- * Enable linting
100
- */
101
- enabled?: boolean;
102
- /**
103
- * Built-in lint preset
104
- * @default 'happy-path'
105
- */
106
- preset?: LintPreset;
107
- /**
108
- * Rules to enable/disable
109
- */
110
- rules?: LintRulesConfig;
111
- /**
112
- * Category-level severity overrides
113
- */
114
- categories?: Partial<Record<RuleCategory, RuleSeverity>>;
115
- }
116
- /**
117
- * Type checker configuration
118
- */
119
- interface TypeCheckerConfig {
120
- /**
121
- * Enable type checking
122
- * @default false
123
- */
124
- enabled?: boolean;
125
- /**
126
- * Enable strict mode
127
- * @default false
128
- */
129
- strict?: boolean;
130
- /**
131
- * Check component props
132
- * @default true
133
- */
134
- checkProps?: boolean;
135
- /**
136
- * Check component emits
137
- * @default true
138
- */
139
- checkEmits?: boolean;
140
- /**
141
- * Check template bindings
142
- * @default true
143
- */
144
- checkTemplateBindings?: boolean;
145
- /**
146
- * Path to tsconfig.json
147
- * @default auto-detected
148
- */
149
- tsconfig?: string;
150
- /**
151
- * Path to the Corsa binary
152
- */
153
- corsaPath?: string;
154
- }
155
- /**
156
- * Formatter configuration
157
- */
158
- interface FormatterConfig {
159
- /**
160
- * Max line width
161
- * @default 80
162
- */
163
- printWidth?: number;
164
- /**
165
- * Indentation width
166
- * @default 2
167
- */
168
- tabWidth?: number;
169
- /**
170
- * Use tabs for indentation
171
- * @default false
172
- */
173
- useTabs?: boolean;
174
- /**
175
- * Print semicolons
176
- * @default true
177
- */
178
- semi?: boolean;
179
- /**
180
- * Use single quotes
181
- * @default false
182
- */
183
- singleQuote?: boolean;
184
- /**
185
- * Trailing commas
186
- * @default 'all'
187
- */
188
- trailingComma?: "all" | "none" | "es5";
189
- }
190
- /**
191
- * LSP configuration
192
- */
193
- interface LspConfig {
194
- /**
195
- * Enable LSP
196
- * @default true
197
- */
198
- enabled?: boolean;
199
- /**
200
- * Enable diagnostics
201
- * @default true
202
- */
203
- diagnostics?: boolean;
204
- /**
205
- * Enable completions
206
- * @default true
207
- */
208
- completion?: boolean;
209
- /**
210
- * Enable hover information
211
- * @default true
212
- */
213
- hover?: boolean;
214
- /**
215
- * Enable go-to-definition
216
- * @default true
217
- */
218
- definition?: boolean;
219
- /**
220
- * Enable formatting via LSP
221
- * @default true
222
- */
223
- formatting?: boolean;
224
- /**
225
- * Enable code actions
226
- * @default true
227
- */
228
- codeActions?: boolean;
229
- /**
230
- * Enable type checking diagnostics and type-aware LSP features
231
- * @default true
232
- */
233
- typecheck?: boolean;
234
- /**
235
- * Use Corsa for type checking in LSP
236
- * @default false
237
- */
238
- corsa?: boolean;
239
- }
240
- //#endregion
241
- //#region src/types/musea.d.ts
242
- /**
243
- * VRT (Visual Regression Testing) configuration for Musea
244
- */
245
- interface MuseaVrtConfig {
246
- /**
247
- * Threshold for pixel comparison (0-1)
248
- * @default 0.1
249
- */
250
- threshold?: number;
251
- /**
252
- * Output directory for screenshots
253
- * @default '__musea_snapshots__'
254
- */
255
- outDir?: string;
256
- /**
257
- * Viewport sizes
258
- */
259
- viewports?: Array<{
260
- width: number;
261
- height: number;
262
- name?: string;
263
- }>;
264
- }
265
- /**
266
- * A11y configuration for Musea
267
- */
268
- interface MuseaA11yConfig {
269
- /**
270
- * Enable a11y checking
271
- * @default false
272
- */
273
- enabled?: boolean;
274
- /**
275
- * Axe-core rules to enable/disable
276
- */
277
- rules?: Record<string, boolean>;
278
- }
279
- /**
280
- * Autogen configuration for Musea
281
- */
282
- interface MuseaAutogenConfig {
283
- /**
284
- * Enable auto-generation of variants
285
- * @default false
286
- */
287
- enabled?: boolean;
288
- /**
289
- * Max variants to generate per component
290
- * @default 10
291
- */
292
- maxVariants?: number;
293
- }
294
- /**
295
- * Musea component gallery configuration
296
- */
297
- interface MuseaConfig {
298
- /**
299
- * Glob patterns for art files
300
- * @default ['**\/*.art.vue']
301
- */
302
- include?: string[];
303
- /**
304
- * Glob patterns to exclude
305
- * @default ['node_modules/**', 'dist/**']
306
- */
307
- exclude?: string[];
308
- /**
309
- * Base path for gallery
310
- * @default '/__musea__'
311
- */
312
- basePath?: string;
313
- /**
314
- * Enable Storybook compatibility
315
- * @default false
316
- */
317
- storybookCompat?: boolean;
318
- /**
319
- * Enable inline art detection in .vue files
320
- * @default false
321
- */
322
- inlineArt?: boolean;
323
- /**
324
- * VRT configuration
325
- */
326
- vrt?: MuseaVrtConfig;
327
- /**
328
- * A11y configuration
329
- */
330
- a11y?: MuseaA11yConfig;
331
- /**
332
- * Autogen configuration
333
- */
334
- autogen?: MuseaAutogenConfig;
335
- }
336
- //#endregion
337
- //#region src/types/loader.d.ts
338
- /**
339
- * Global type declaration
340
- */
341
- interface GlobalTypeDeclaration {
342
- /**
343
- * TypeScript type string
344
- */
345
- type: string;
346
- /**
347
- * Default value
348
- */
349
- defaultValue?: string;
350
- }
351
- /**
352
- * Global types configuration
353
- */
354
- type GlobalTypesConfig = Record<string, GlobalTypeDeclaration | string>;
355
- /**
356
- * Options for loading vize.config file
357
- */
358
- interface LoadConfigOptions {
359
- /**
360
- * Config file search mode
361
- * - 'root': Search only in the specified root directory
362
- * - 'auto': Search from cwd upward until finding a config file
363
- * - 'none': Don't load config file
364
- * @default 'root'
365
- */
366
- mode?: "root" | "auto" | "none";
367
- /**
368
- * Custom config file path (overrides automatic search)
369
- */
370
- configFile?: string;
371
- /**
372
- * Config environment for dynamic config resolution
373
- */
374
- env?: ConfigEnv;
375
- }
376
- //#endregion
377
- //#region src/types/core.d.ts
378
- type MaybePromise<T> = T | Promise<T>;
379
- interface ConfigEnv {
380
- mode: string;
381
- command: "serve" | "build" | "check" | "lint" | "fmt";
382
- isSsrBuild?: boolean;
383
- }
384
- type UserConfigExport = VizeConfig | ((env: ConfigEnv) => MaybePromise<VizeConfig>);
385
- type RuleSeverity = "off" | "warn" | "error";
386
- type RuleCategory = "correctness" | "suspicious" | "style" | "perf" | "a11y" | "security";
387
- type LintPreset = "happy-path" | "opinionated" | "essential" | "nuxt";
388
- /**
389
- * Vize configuration options
390
- */
391
- interface VizeConfig {
392
- /**
393
- * JSON Schema reference for editor autocompletion.
394
- */
395
- $schema?: string;
396
- /**
397
- * Vue compiler options
398
- */
399
- compiler?: CompilerConfig;
400
- /**
401
- * Vite plugin options
402
- */
403
- vite?: VitePluginConfig;
404
- /**
405
- * Linter options
406
- */
407
- linter?: LinterConfig;
408
- /**
409
- * Type checker options
410
- */
411
- typeChecker?: TypeCheckerConfig;
412
- /**
413
- * Formatter options
414
- */
415
- formatter?: FormatterConfig;
416
- /**
417
- * LSP options
418
- */
419
- lsp?: LspConfig;
420
- /**
421
- * Musea component gallery options
422
- */
423
- musea?: MuseaConfig;
424
- /**
425
- * Global type declarations
426
- */
427
- globalTypes?: GlobalTypesConfig;
428
- }
429
- //#endregion
430
- //#region src/config.d.ts
431
- declare const CONFIG_FILE_NAMES: readonly ["vize.config.ts", "vize.config.js", "vize.config.mjs", "vize.config.pkl", "vize.config.json"];
432
- declare const VIZE_CONFIG_JSON_SCHEMA_PATH: string;
433
- declare const VIZE_CONFIG_PKL_SCHEMA_PATH: string;
434
- /**
435
- * Define a Vize configuration with type checking.
436
- * Accepts a plain object or a function that receives ConfigEnv.
437
- */
438
- declare function defineConfig(config: UserConfigExport): UserConfigExport;
439
- /**
440
- * Load `vize.config.*` from the specified directory.
441
- */
442
- declare function loadConfig(root: string, options?: LoadConfigOptions): Promise<VizeConfig | null>;
443
- /**
444
- * Normalize GlobalTypesConfig shorthand strings to GlobalTypeDeclaration objects
445
- */
446
- declare function normalizeGlobalTypes(config: GlobalTypesConfig): Record<string, GlobalTypeDeclaration>;
447
- //#endregion
448
- export { LspConfig as C, CompilerConfig as D, LintRulesConfig as E, VitePluginConfig as O, LinterConfig as S, LintRuleName as T, MuseaA11yConfig as _, loadConfig as a, MuseaVrtConfig as b, LintPreset as c, RuleSeverity as d, UserConfigExport as f, LoadConfigOptions as g, GlobalTypesConfig as h, defineConfig as i, MaybePromise as l, GlobalTypeDeclaration as m, VIZE_CONFIG_JSON_SCHEMA_PATH as n, normalizeGlobalTypes as o, VizeConfig as p, VIZE_CONFIG_PKL_SCHEMA_PATH as r, ConfigEnv as s, CONFIG_FILE_NAMES as t, RuleCategory as u, MuseaAutogenConfig as v, TypeCheckerConfig as w, FormatterConfig as x, MuseaConfig as y };
449
- //# sourceMappingURL=config-BbNk5gIK.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config-BbNk5gIK.d.mts","names":[],"sources":["../src/types/compiler.ts","../src/types/rules.ts","../src/types/tools.ts","../src/types/musea.ts","../src/types/loader.ts","../src/types/core.ts","../src/config.ts"],"mappings":";;AAOA;;UAAiB,cAAA;EAAc;;;;EAK7B,IAAA;EAwBA;;;;EAlBA,KAAA;EAgDA;;;;EA1CA,GAAA;EA0D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CnB,QAAA,GAAW,cAAA;ELyCX;;;EKpCA,IAAA,GAAO,gBAAA;EL0CY;;;EKrCnB,MAAA,GAAS,YAAA;ELiDK;;;EK5Cd,WAAA,GAAc,iBAAA;;AJxDhB;;EI6DE,SAAA,GAAY,eAAA;EJkDJ;;AAEV;EI/CE,GAAA,GAAM,SAAA;;;;EAKN,KAAA,GAAQ,WAAA;EJ4CiB;;;EIvCzB,WAAA,GAAc,iBAAA;AAAA;;;cCnEH,iBAAA;AAAA,cAeA,4BAAA;AAAA,cAMA,2BAAA;;;;;iBAMG,YAAA,CAAa,MAAA,EAAQ,gBAAA,GAAmB,gBAAA;;;;iBAOlC,UAAA,CACpB,IAAA,UACA,OAAA,GAAS,iBAAA,GACR,OAAA,CAAQ,UAAA;;;;iBA2LK,oBAAA,CACd,MAAA,EAAQ,iBAAA,GACP,MAAA,SAAe,qBAAA"}
package/dist/config.d.mts DELETED
@@ -1,2 +0,0 @@
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, t as CONFIG_FILE_NAMES } from "./config-BbNk5gIK.mjs";
2
- export { CONFIG_FILE_NAMES, VIZE_CONFIG_JSON_SCHEMA_PATH, VIZE_CONFIG_PKL_SCHEMA_PATH, defineConfig, loadConfig, normalizeGlobalTypes };