@vizejs/native 0.577.0 → 0.579.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 +14 -0
  2. package/index.js +1 -0
  3. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -1520,6 +1520,20 @@ export declare function transformViteCssVarsForPipeline(
1520
1520
  productionFilename?: string | undefined | null,
1521
1521
  ): string;
1522
1522
 
1523
+ /** Canon's configuration identity and the exact files observed while resolving it. */
1524
+ export interface VueLanguageProjectMetadata {
1525
+ configIdentity: string;
1526
+ watchedFiles: Array<string>;
1527
+ }
1528
+
1529
+ /**
1530
+ * Snapshot the explicit project's existing Canon configuration resolver.
1531
+ * An empty path denotes an inferred project and performs no file reads.
1532
+ */
1533
+ export declare function getVueLanguageProjectMetadata(
1534
+ configFileName: string,
1535
+ ): VueLanguageProjectMetadata;
1536
+
1523
1537
  /** Explicit options for the shared Canon language projection. */
1524
1538
  export interface VueLanguageCodeOptions {
1525
1539
  filename: string;
package/index.js CHANGED
@@ -5,6 +5,7 @@
5
5
  const nativeBinding = require("./native-binding");
6
6
 
7
7
  module.exports = nativeBinding;
8
+ module.exports.getVueLanguageProjectMetadata = nativeBinding.getVueLanguageProjectMetadata;
8
9
  module.exports.generateVueLanguageCode = nativeBinding.generateVueLanguageCode;
9
10
  module.exports.PluginDocumentHandle = nativeBinding.PluginDocumentHandle;
10
11
  module.exports.applyOutputPlugins = nativeBinding.applyOutputPlugins;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/native",
3
- "version": "0.577.0",
3
+ "version": "0.579.0",
4
4
  "description": "High-performance Vue.js compiler - Native bindings",
5
5
  "keywords": [
6
6
  "compiler",
@@ -38,14 +38,14 @@
38
38
  "@napi-rs/cli": "3.6.2"
39
39
  },
40
40
  "optionalDependencies": {
41
- "@vizejs/native-darwin-arm64": "0.577.0",
42
- "@vizejs/native-darwin-x64": "0.577.0",
43
- "@vizejs/native-linux-arm64-gnu": "0.577.0",
44
- "@vizejs/native-linux-arm64-musl": "0.577.0",
45
- "@vizejs/native-linux-x64-gnu": "0.577.0",
46
- "@vizejs/native-linux-x64-musl": "0.577.0",
47
- "@vizejs/native-win32-arm64-msvc": "0.577.0",
48
- "@vizejs/native-win32-x64-msvc": "0.577.0"
41
+ "@vizejs/native-darwin-arm64": "0.579.0",
42
+ "@vizejs/native-darwin-x64": "0.579.0",
43
+ "@vizejs/native-linux-arm64-gnu": "0.579.0",
44
+ "@vizejs/native-linux-arm64-musl": "0.579.0",
45
+ "@vizejs/native-linux-x64-gnu": "0.579.0",
46
+ "@vizejs/native-linux-x64-musl": "0.579.0",
47
+ "@vizejs/native-win32-arm64-msvc": "0.579.0",
48
+ "@vizejs/native-win32-x64-msvc": "0.579.0"
49
49
  },
50
50
  "napi": {
51
51
  "binaryName": "vize-vitrine",