@vizejs/native 0.49.0 → 0.56.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.
Files changed (2) hide show
  1. package/index.d.ts +22 -0
  2. package/package.json +10 -10
package/index.d.ts CHANGED
@@ -0,0 +1,22 @@
1
+ type NativeFunction = (...args: any[]) => any;
2
+
3
+ export const artToCsf: NativeFunction;
4
+ export const compile: NativeFunction;
5
+ export const compileCss: NativeFunction;
6
+ export const compileSfc: NativeFunction;
7
+ export const compileSfcBatch: NativeFunction;
8
+ export const compileSfcBatchWithResults: NativeFunction;
9
+ export const compileVapor: NativeFunction;
10
+ export const generateArtCatalog: NativeFunction;
11
+ export const generateArtDoc: NativeFunction;
12
+ export const generateArtDocsBatch: NativeFunction;
13
+ export const generateArtPalette: NativeFunction;
14
+ export const getPatinaRules: NativeFunction;
15
+ export const getTypeCheckCapabilities: NativeFunction;
16
+ export const lint: NativeFunction;
17
+ export const lintPatinaSfc: NativeFunction;
18
+ export const parseArt: NativeFunction;
19
+ export const parseSfc: NativeFunction;
20
+ export const parseTemplate: NativeFunction;
21
+ export const typeCheck: NativeFunction;
22
+ export const typeCheckBatch: NativeFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.49.0",
3
+ "version": "0.56.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -25,7 +25,7 @@
25
25
  "access": "public"
26
26
  },
27
27
  "devDependencies": {
28
- "@napi-rs/cli": "^3.0.0"
28
+ "@napi-rs/cli": "3.6.2"
29
29
  },
30
30
  "napi": {
31
31
  "binaryName": "vize-vitrine",
@@ -41,14 +41,14 @@
41
41
  ]
42
42
  },
43
43
  "optionalDependencies": {
44
- "@vizejs/native-darwin-x64": "0.49.0",
45
- "@vizejs/native-darwin-arm64": "0.49.0",
46
- "@vizejs/native-win32-x64-msvc": "0.49.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.49.0",
48
- "@vizejs/native-linux-x64-gnu": "0.49.0",
49
- "@vizejs/native-linux-x64-musl": "0.49.0",
50
- "@vizejs/native-linux-arm64-gnu": "0.49.0",
51
- "@vizejs/native-linux-arm64-musl": "0.49.0"
44
+ "@vizejs/native-darwin-x64": "0.56.0",
45
+ "@vizejs/native-darwin-arm64": "0.56.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.56.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.56.0",
48
+ "@vizejs/native-linux-x64-gnu": "0.56.0",
49
+ "@vizejs/native-linux-x64-musl": "0.56.0",
50
+ "@vizejs/native-linux-arm64-gnu": "0.56.0",
51
+ "@vizejs/native-linux-arm64-musl": "0.56.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "napi build --platform --release --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi --output-dir .",