@vizejs/native 0.271.0 → 0.272.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/index.d.ts +4 -4
- package/package.json +9 -9
- package/types/lint.d.ts +8 -0
package/index.d.ts
CHANGED
|
@@ -612,10 +612,10 @@ export interface LintOptionsNapi {
|
|
|
612
612
|
quiet?: boolean;
|
|
613
613
|
/** Automatically fix problems when diagnostics provide safe text edits */
|
|
614
614
|
fix?: boolean;
|
|
615
|
-
/** Help display level: "full", "short", "none" */
|
|
616
615
|
helpLevel?: string;
|
|
617
|
-
/** Lint preset: "general-recommended", "essential", "incremental", "ecosystem", "opinionated", or "nuxt" */
|
|
618
616
|
preset?: string;
|
|
617
|
+
typeAware?: boolean;
|
|
618
|
+
corsaPath?: string;
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
/** Lint a single Vue SFC with Patina and return structured diagnostics. */
|
|
@@ -725,12 +725,12 @@ export interface PatinaLintOptionsNapi {
|
|
|
725
725
|
filename?: string;
|
|
726
726
|
/** Locale code: "en", "ja", or "zh" */
|
|
727
727
|
locale?: string;
|
|
728
|
-
/** Help display level: "full", "short", or "none" */
|
|
729
728
|
helpLevel?: string;
|
|
730
|
-
/** Lint preset: "general-recommended", "essential", "incremental", "ecosystem", "opinionated", or "nuxt" */
|
|
731
729
|
preset?: string;
|
|
732
730
|
/** Optional list of Patina rule names to enable */
|
|
733
731
|
enabledRules?: Array<string>;
|
|
732
|
+
typeAware?: boolean;
|
|
733
|
+
corsaPath?: string;
|
|
734
734
|
}
|
|
735
735
|
|
|
736
736
|
export declare function printCssAst(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.272.0",
|
|
4
4
|
"description": "High-performance Vue.js compiler - Native bindings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"@napi-rs/cli": "3.6.2"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
40
|
-
"@vizejs/native-darwin-x64": "0.
|
|
41
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
42
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
43
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
44
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
45
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
46
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
39
|
+
"@vizejs/native-darwin-arm64": "0.272.0",
|
|
40
|
+
"@vizejs/native-darwin-x64": "0.272.0",
|
|
41
|
+
"@vizejs/native-linux-arm64-gnu": "0.272.0",
|
|
42
|
+
"@vizejs/native-linux-arm64-musl": "0.272.0",
|
|
43
|
+
"@vizejs/native-linux-x64-gnu": "0.272.0",
|
|
44
|
+
"@vizejs/native-linux-x64-musl": "0.272.0",
|
|
45
|
+
"@vizejs/native-win32-arm64-msvc": "0.272.0",
|
|
46
|
+
"@vizejs/native-win32-x64-msvc": "0.272.0"
|
|
47
47
|
},
|
|
48
48
|
"napi": {
|
|
49
49
|
"binaryName": "vize-vitrine",
|
package/types/lint.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export interface LintOptionsNapi {
|
|
|
14
14
|
helpLevel?: string;
|
|
15
15
|
/** Lint preset: "general-recommended", "essential", "incremental", "ecosystem", "opinionated", or "nuxt" */
|
|
16
16
|
preset?: string;
|
|
17
|
+
/** Enable native type-aware lint rules */
|
|
18
|
+
typeAware?: boolean;
|
|
19
|
+
/** Path to the Corsa executable used by type-aware lint rules */
|
|
20
|
+
corsaPath?: string;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
/** Lint result for NAPI */
|
|
@@ -42,6 +46,10 @@ export interface PatinaLintOptionsNapi {
|
|
|
42
46
|
preset?: string;
|
|
43
47
|
/** Optional list of Patina rule names to enable */
|
|
44
48
|
enabledRules?: Array<string>;
|
|
49
|
+
/** Enable native type-aware lint rules */
|
|
50
|
+
typeAware?: boolean;
|
|
51
|
+
/** Path to the Corsa executable used by type-aware lint rules */
|
|
52
|
+
corsaPath?: string;
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
/** Get Patina's currently registered rule metadata. */
|