@vizejs/native 0.89.0 → 0.91.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 +15 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -99,6 +99,15 @@ export interface BatchFileInputNapi {
|
|
|
99
99
|
source: string;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
export interface StyleBlockNapi {
|
|
103
|
+
content: string;
|
|
104
|
+
lang?: string;
|
|
105
|
+
scoped: boolean;
|
|
106
|
+
module: boolean;
|
|
107
|
+
moduleName?: string;
|
|
108
|
+
index: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
102
111
|
/** Per-file result from batch compilation */
|
|
103
112
|
export interface BatchFileResultNapi {
|
|
104
113
|
/** File path */
|
|
@@ -121,6 +130,8 @@ export interface BatchFileResultNapi {
|
|
|
121
130
|
styleHash?: string;
|
|
122
131
|
/** Hash of script content (for HMR) */
|
|
123
132
|
scriptHash?: string;
|
|
133
|
+
/** Per-block style metadata */
|
|
134
|
+
styles: Array<StyleBlockNapi>;
|
|
124
135
|
/** Compile-time macro artifacts */
|
|
125
136
|
macroArtifacts: Array<MacroArtifactNapi>;
|
|
126
137
|
}
|
|
@@ -569,6 +580,10 @@ export interface SfcCompileResultNapi {
|
|
|
569
580
|
styleHash?: string;
|
|
570
581
|
/** Hash of script content (for HMR) */
|
|
571
582
|
scriptHash?: string;
|
|
583
|
+
/** Whether the file has scoped styles */
|
|
584
|
+
hasScoped: boolean;
|
|
585
|
+
/** Per-block style metadata */
|
|
586
|
+
styles: Array<StyleBlockNapi>;
|
|
572
587
|
/** Compile-time macro artifacts */
|
|
573
588
|
macroArtifacts: Array<MacroArtifactNapi>;
|
|
574
589
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.0",
|
|
4
4
|
"description": "High-performance Vue.js compiler - Native bindings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@vizejs/native-darwin-x64": "0.
|
|
45
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
46
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
47
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
48
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
49
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
50
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
51
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
44
|
+
"@vizejs/native-darwin-x64": "0.91.0",
|
|
45
|
+
"@vizejs/native-darwin-arm64": "0.91.0",
|
|
46
|
+
"@vizejs/native-win32-x64-msvc": "0.91.0",
|
|
47
|
+
"@vizejs/native-win32-arm64-msvc": "0.91.0",
|
|
48
|
+
"@vizejs/native-linux-x64-gnu": "0.91.0",
|
|
49
|
+
"@vizejs/native-linux-x64-musl": "0.91.0",
|
|
50
|
+
"@vizejs/native-linux-arm64-gnu": "0.91.0",
|
|
51
|
+
"@vizejs/native-linux-arm64-musl": "0.91.0"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "node ./scripts/build-local.mjs --release",
|