@vizejs/vite-plugin 0.390.0 → 0.404.8

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as VizeInspectorLintPlanProvider, c as VizeCompatibilityOptions, d as LoadConfigOptions, f as ResolvedVizeConfig, i as VizeVueFeatures, l as VizeVueVersion, m as VizeConfig, n as CompiledModule, o as VizeInspectorLintPlanRequest, p as UserConfigExport, r as MacroArtifact, s as VizeInspectorOptions, t as VizeOptions, u as ConfigEnv } from "./types-0tlI4YFk.mjs";
1
+ import { a as VizeInspectorLintPlanProvider, c as VizeCompatibilityOptions, d as LoadConfigOptions, f as ResolvedVizeConfig, i as VizeVueFeatures, l as VizeVueVersion, m as VizeConfig, n as CompiledModule, o as VizeInspectorLintPlanRequest, p as UserConfigExport, r as MacroArtifact, s as VizeInspectorOptions, t as VizeOptions, u as ConfigEnv } from "./types-DwdD1-ve.mjs";
2
2
  import { Plugin } from "vite";
3
3
 
4
4
  //#region src/virtual.d.ts
@@ -1,4 +1,4 @@
1
- import { f as ResolvedVizeConfig } from "../types-0tlI4YFk.mjs";
1
+ import { f as ResolvedVizeConfig } from "../types-DwdD1-ve.mjs";
2
2
  import { ResolvedConfig } from "vite";
3
3
 
4
4
  //#region src/internal/config-bridge.d.ts
@@ -202,6 +202,30 @@ interface LinterConfig {
202
202
  interface LintRuleOptions {
203
203
  "script/no-restricted-globals"?: NoRestrictedGlobalsOptions;
204
204
  "script/no-restricted-members"?: NoRestrictedMembersOptions;
205
+ "vue/component-name-in-template-casing"?: {
206
+ casing?: "PascalCase" | "kebab-case";
207
+ };
208
+ "script/custom-event-name-casing"?: {
209
+ casing?: "camelCase" | "kebab-case";
210
+ };
211
+ "vue/no-mutating-props"?: {
212
+ shallowOnly?: boolean;
213
+ };
214
+ "vue/sfc-element-order"?: {
215
+ order?: (string | string[])[];
216
+ };
217
+ "vue/html-self-closing"?: {
218
+ html?: {
219
+ void?: "always" | "never" | "any";
220
+ normal?: "always" | "never" | "any";
221
+ component?: "always" | "never" | "any";
222
+ };
223
+ svg?: "always" | "never" | "any";
224
+ math?: "always" | "never" | "any";
225
+ };
226
+ "vue/v-on-event-hyphenation"?: "always" | "never";
227
+ "vue/attribute-hyphenation"?: "always" | "never";
228
+ "musea/prefer-design-tokens"?: MuseaPreferDesignTokensOptions;
205
229
  }
206
230
  interface NoRestrictedGlobalsOptions {
207
231
  globals?: RestrictedGlobal[];
@@ -218,6 +242,23 @@ interface RestrictedMember {
218
242
  property: string;
219
243
  message?: string;
220
244
  }
245
+ interface MuseaPreferDesignTokensOptions {
246
+ tokens?: MuseaDesignToken[];
247
+ }
248
+ interface MuseaDesignToken {
249
+ /**
250
+ * Token path, for example color.primary
251
+ */
252
+ path: string;
253
+ /**
254
+ * Primitive CSS value to match, for example #3b82f6
255
+ */
256
+ value: string;
257
+ /**
258
+ * Token tier shown in diagnostics
259
+ */
260
+ tier?: string;
261
+ }
221
262
  interface TypeCheckerConfig {
222
263
  /**
223
264
  * Enable type checking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/vite-plugin",
3
- "version": "0.390.0",
3
+ "version": "0.404.8",
4
4
  "description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
5
5
  "keywords": [
6
6
  "compiler",
@@ -45,10 +45,10 @@
45
45
  "access": "public"
46
46
  },
47
47
  "dependencies": {
48
- "@vizejs/native": "0.390.0",
48
+ "@vizejs/native": "0.404.8",
49
49
  "oxc-parser": "0.144.0",
50
50
  "tinyglobby": "0.2.17",
51
- "vize": "0.390.0"
51
+ "vize": "0.404.8"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "25.9.2",