@vizejs/vite-plugin 0.34.0 → 0.36.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/index.d.mts +6 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -96,6 +96,11 @@ interface LinterConfig {
|
|
|
96
96
|
* Enable linting
|
|
97
97
|
*/
|
|
98
98
|
enabled?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Built-in lint preset
|
|
101
|
+
* @default 'happy-path'
|
|
102
|
+
*/
|
|
103
|
+
preset?: LintPreset;
|
|
99
104
|
/**
|
|
100
105
|
* Rules to enable/disable
|
|
101
106
|
*/
|
|
@@ -371,6 +376,7 @@ interface ConfigEnv {
|
|
|
371
376
|
type UserConfigExport = VizeConfig | ((env: ConfigEnv) => MaybePromise<VizeConfig>);
|
|
372
377
|
type RuleSeverity = "off" | "warn" | "error";
|
|
373
378
|
type RuleCategory = "correctness" | "suspicious" | "style" | "perf" | "a11y" | "security";
|
|
379
|
+
type LintPreset = "happy-path" | "opinionated" | "essential" | "nuxt";
|
|
374
380
|
/**
|
|
375
381
|
* Vize configuration options
|
|
376
382
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/vite-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "High-performance native Vite plugin for Vue SFC compilation powered by Vize",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"tinyglobby": "^0.2.0",
|
|
37
|
-
"@vizejs/native": "0.
|
|
37
|
+
"@vizejs/native": "0.36.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.0.0",
|