@vizejs/native 0.815.0 → 0.816.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 +29 -0
- package/index.js +1 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -121,6 +121,12 @@ export interface BatchCompileOptionsNapi {
|
|
|
121
121
|
experimentalSelfComponent?: boolean;
|
|
122
122
|
experimentalStrictSlotChildren?: boolean;
|
|
123
123
|
experimentalServerScript?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Map the render code back to the template as well as the script. Off by
|
|
126
|
+
* default: composing the template's map costs a requested-map compile a
|
|
127
|
+
* second template lane until the native emitter records its own links.
|
|
128
|
+
*/
|
|
129
|
+
templateSourceMap?: boolean;
|
|
124
130
|
/** Module for generated Vue helpers; preserves authored imports and the SSR renderer. */
|
|
125
131
|
runtimeModuleName?: string;
|
|
126
132
|
/** Runtime global expression for standalone (`mode: "function"`) output. */
|
|
@@ -1535,6 +1541,12 @@ export interface SfcCompileOptionsNapi {
|
|
|
1535
1541
|
experimentalSelfComponent?: boolean;
|
|
1536
1542
|
experimentalStrictSlotChildren?: boolean;
|
|
1537
1543
|
experimentalServerScript?: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
* Map the render code back to the template as well as the script. Off by
|
|
1546
|
+
* default: composing the template's map costs a requested-map compile a
|
|
1547
|
+
* second template lane until the native emitter records its own links.
|
|
1548
|
+
*/
|
|
1549
|
+
templateSourceMap?: boolean;
|
|
1538
1550
|
/** Module for generated Vue helpers; preserves authored imports and the SSR renderer. */
|
|
1539
1551
|
runtimeModuleName?: string;
|
|
1540
1552
|
/** Runtime global expression for standalone (`mode: "function"`) output. */
|
|
@@ -2108,3 +2120,20 @@ export interface TypeProjectContextNapi {
|
|
|
2108
2120
|
root: string;
|
|
2109
2121
|
revision: string;
|
|
2110
2122
|
}
|
|
2123
|
+
|
|
2124
|
+
/** Original-path TSRX selection with the pinned Oxlint host ignore policies. */
|
|
2125
|
+
export declare function selectOxlintTsrx(options: OxlintTsrxOptions): OxlintTsrxSelection;
|
|
2126
|
+
export interface OxlintTsrxOptions {
|
|
2127
|
+
cwd: string;
|
|
2128
|
+
literalTargets: Array<string>;
|
|
2129
|
+
rootJson: string;
|
|
2130
|
+
rootBytes: Array<number>;
|
|
2131
|
+
hostProfile: string;
|
|
2132
|
+
noIgnore: boolean;
|
|
2133
|
+
cliIgnorePatterns: Array<string>;
|
|
2134
|
+
customIgnoreFilename: string;
|
|
2135
|
+
}
|
|
2136
|
+
export interface OxlintTsrxSelection {
|
|
2137
|
+
originals: Array<OxlintHtmlOriginal>;
|
|
2138
|
+
sources: Array<OxlintHtmlSource>;
|
|
2139
|
+
}
|
package/index.js
CHANGED
|
@@ -86,6 +86,7 @@ module.exports.isSfcImportableAssetUrl = nativeBinding.isSfcImportableAssetUrl;
|
|
|
86
86
|
module.exports.isViteBareSpecifier = nativeBinding.isViteBareSpecifier;
|
|
87
87
|
module.exports.lint = nativeBinding.lint;
|
|
88
88
|
module.exports.lintOxlintHtml = nativeBinding.lintOxlintHtml;
|
|
89
|
+
module.exports.selectOxlintTsrx = nativeBinding.selectOxlintTsrx;
|
|
89
90
|
module.exports.lintPatinaSfc = nativeBinding.lintPatinaSfc;
|
|
90
91
|
module.exports.lintWithPlugins = nativeBinding.lintWithPlugins;
|
|
91
92
|
module.exports.normalizeViteCssModuleFilename = nativeBinding.normalizeViteCssModuleFilename;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.816.0",
|
|
4
4
|
"description": "High-performance Vue.js compiler - Native bindings",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compiler",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@napi-rs/cli": "3.10.12"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"@vizejs/native-darwin-x64": "0.
|
|
43
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
44
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
45
|
-
"@vizejs/native-win32-arm64-msvc": "0.
|
|
46
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
47
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
48
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
49
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
42
|
+
"@vizejs/native-darwin-x64": "0.816.0",
|
|
43
|
+
"@vizejs/native-darwin-arm64": "0.816.0",
|
|
44
|
+
"@vizejs/native-win32-x64-msvc": "0.816.0",
|
|
45
|
+
"@vizejs/native-win32-arm64-msvc": "0.816.0",
|
|
46
|
+
"@vizejs/native-linux-x64-gnu": "0.816.0",
|
|
47
|
+
"@vizejs/native-linux-x64-musl": "0.816.0",
|
|
48
|
+
"@vizejs/native-linux-arm64-gnu": "0.816.0",
|
|
49
|
+
"@vizejs/native-linux-arm64-musl": "0.816.0"
|
|
50
50
|
},
|
|
51
51
|
"napi": {
|
|
52
52
|
"binaryName": "vize-vitrine",
|