@vizejs/native 0.59.0 → 0.61.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 (3) hide show
  1. package/README.md +3 -1
  2. package/index.d.ts +0 -22
  3. package/package.json +12 -11
package/README.md CHANGED
@@ -10,8 +10,10 @@ Native Node.js bindings for the Vize Vue compiler via NAPI.
10
10
 
11
11
  ## Installation
12
12
 
13
+ Install `vp` once from the [Vite+ install guide](https://viteplus.dev/guide/install), then add the package:
14
+
13
15
  ```bash
14
- npm install @vizejs/native
16
+ vp install @vizejs/native
15
17
  ```
16
18
 
17
19
  ## Usage
package/index.d.ts CHANGED
@@ -1,22 +0,0 @@
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.59.0",
3
+ "version": "0.61.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -41,17 +41,18 @@
41
41
  ]
42
42
  },
43
43
  "optionalDependencies": {
44
- "@vizejs/native-darwin-x64": "0.59.0",
45
- "@vizejs/native-darwin-arm64": "0.59.0",
46
- "@vizejs/native-win32-x64-msvc": "0.59.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.59.0",
48
- "@vizejs/native-linux-x64-gnu": "0.59.0",
49
- "@vizejs/native-linux-x64-musl": "0.59.0",
50
- "@vizejs/native-linux-arm64-gnu": "0.59.0",
51
- "@vizejs/native-linux-arm64-musl": "0.59.0"
44
+ "@vizejs/native-darwin-x64": "0.61.0",
45
+ "@vizejs/native-darwin-arm64": "0.61.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.61.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.61.0",
48
+ "@vizejs/native-linux-x64-gnu": "0.61.0",
49
+ "@vizejs/native-linux-x64-musl": "0.61.0",
50
+ "@vizejs/native-linux-arm64-gnu": "0.61.0",
51
+ "@vizejs/native-linux-arm64-musl": "0.61.0"
52
52
  },
53
53
  "scripts": {
54
- "build": "napi build --platform --release --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi --output-dir .",
55
- "build:debug": "napi build --platform --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi --output-dir ."
54
+ "build": "node ./scripts/build-local.mjs --release",
55
+ "build:ci": "napi build --platform --profile ci --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi --output-dir .",
56
+ "build:debug": "node ./scripts/build-local.mjs"
56
57
  }
57
58
  }