@vizejs/native 0.426.2 → 0.427.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 +8 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -61,12 +61,15 @@ export interface AutogenOutputNapi {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export interface BatchCompileOptionsNapi {
|
|
64
|
+
whitespace?: string;
|
|
64
65
|
mode?: string;
|
|
65
66
|
ssr?: boolean;
|
|
66
67
|
vapor?: boolean;
|
|
67
68
|
customRenderer?: boolean;
|
|
68
69
|
customElements?: Array<string>;
|
|
69
70
|
templateSyntax?: string;
|
|
71
|
+
/** Preserve template comments; disabled by default for direct native calls. */
|
|
72
|
+
templateComments?: boolean;
|
|
70
73
|
experimentalInTagComments?: boolean;
|
|
71
74
|
experimentalPatternedTemplate?: boolean;
|
|
72
75
|
experimentalSelfComponent?: boolean;
|
|
@@ -233,6 +236,8 @@ export interface CompileResult {
|
|
|
233
236
|
|
|
234
237
|
/** Compiler options for bindings */
|
|
235
238
|
export interface CompilerOptions {
|
|
239
|
+
/** Vue template whitespace strategy: "condense" (default) or "preserve". */
|
|
240
|
+
whitespace?: string;
|
|
236
241
|
/** Output mode: "module" or "function" */
|
|
237
242
|
mode?: string;
|
|
238
243
|
/** Whether to prefix identifiers */
|
|
@@ -1074,6 +1079,7 @@ export interface SfcBlockAttributeNapi {
|
|
|
1074
1079
|
}
|
|
1075
1080
|
|
|
1076
1081
|
export interface SfcCompileOptionsNapi {
|
|
1082
|
+
whitespace?: string;
|
|
1077
1083
|
filename?: string;
|
|
1078
1084
|
mode?: string;
|
|
1079
1085
|
sourceMap?: boolean;
|
|
@@ -1082,6 +1088,8 @@ export interface SfcCompileOptionsNapi {
|
|
|
1082
1088
|
customRenderer?: boolean;
|
|
1083
1089
|
customElements?: Array<string>;
|
|
1084
1090
|
templateSyntax?: string;
|
|
1091
|
+
/** Preserve template comments; disabled by default for direct native calls. */
|
|
1092
|
+
templateComments?: boolean;
|
|
1085
1093
|
experimentalInTagComments?: boolean;
|
|
1086
1094
|
experimentalPatternedTemplate?: boolean;
|
|
1087
1095
|
experimentalSelfComponent?: boolean;
|
package/package.json
CHANGED
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
51
|
-
"@vizejs/native-darwin-x64": "0.
|
|
52
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
53
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
54
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
55
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
56
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
57
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
50
|
+
"@vizejs/native-darwin-arm64": "0.427.0",
|
|
51
|
+
"@vizejs/native-darwin-x64": "0.427.0",
|
|
52
|
+
"@vizejs/native-linux-arm64-gnu": "0.427.0",
|
|
53
|
+
"@vizejs/native-linux-arm64-musl": "0.427.0",
|
|
54
|
+
"@vizejs/native-linux-x64-gnu": "0.427.0",
|
|
55
|
+
"@vizejs/native-linux-x64-musl": "0.427.0",
|
|
56
|
+
"@vizejs/native-win32-arm64-msvc": "0.427.0",
|
|
57
|
+
"@vizejs/native-win32-x64-msvc": "0.427.0"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"url": "https://github.com/ubugeeei-prod/vize"
|
|
66
66
|
},
|
|
67
67
|
"types": "index.d.ts",
|
|
68
|
-
"version": "0.
|
|
68
|
+
"version": "0.427.0",
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "node ./scripts/build-local.mjs --release",
|
|
71
71
|
"build:ci": "napi build --platform --profile ci --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi,legacy --output-dir . && node ./scripts/sync-entrypoint.mjs",
|