@vizejs/native 0.48.0 → 0.52.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/index.d.ts +22 -0
  2. package/index.js +6 -0
  3. package/package.json +9 -9
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/index.js CHANGED
@@ -302,6 +302,9 @@ const {
302
302
  generateArtCatalog,
303
303
  generateArtDocsBatch,
304
304
  generateArtPalette,
305
+ lint,
306
+ lintPatinaSfc,
307
+ getPatinaRules,
305
308
  } = nativeBinding;
306
309
 
307
310
  module.exports.typeCheck = typeCheck;
@@ -321,3 +324,6 @@ module.exports.generateArtDoc = generateArtDoc;
321
324
  module.exports.generateArtCatalog = generateArtCatalog;
322
325
  module.exports.generateArtDocsBatch = generateArtDocsBatch;
323
326
  module.exports.generateArtPalette = generateArtPalette;
327
+ module.exports.lint = lint;
328
+ module.exports.lintPatinaSfc = lintPatinaSfc;
329
+ module.exports.getPatinaRules = getPatinaRules;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.48.0",
3
+ "version": "0.52.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.48.0",
45
- "@vizejs/native-darwin-arm64": "0.48.0",
46
- "@vizejs/native-win32-x64-msvc": "0.48.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.48.0",
48
- "@vizejs/native-linux-x64-gnu": "0.48.0",
49
- "@vizejs/native-linux-x64-musl": "0.48.0",
50
- "@vizejs/native-linux-arm64-gnu": "0.48.0",
51
- "@vizejs/native-linux-arm64-musl": "0.48.0"
44
+ "@vizejs/native-darwin-x64": "0.52.0",
45
+ "@vizejs/native-darwin-arm64": "0.52.0",
46
+ "@vizejs/native-win32-x64-msvc": "0.52.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.52.0",
48
+ "@vizejs/native-linux-x64-gnu": "0.52.0",
49
+ "@vizejs/native-linux-x64-musl": "0.52.0",
50
+ "@vizejs/native-linux-arm64-gnu": "0.52.0",
51
+ "@vizejs/native-linux-arm64-musl": "0.52.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 .",