vize 0.202.0 → 0.204.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vize",
3
- "version": "0.202.0",
3
+ "version": "0.204.0",
4
4
  "description": "Vize - High-performance Vue.js toolchain in Rust",
5
5
  "keywords": [
6
6
  "cli",
@@ -50,7 +50,7 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@vizejs/native": "0.202.0",
53
+ "@vizejs/native": "0.204.0",
54
54
  "oxc-transform": "0.130.0",
55
55
  "vue": "3.5.35"
56
56
  },
@@ -25,6 +25,10 @@ import "GlobalTypesConfig.pkl"
25
25
 
26
26
  typealias ConfigExtends = String | Listing<String>
27
27
 
28
+ /// Vue dialect profile for standalone HTML documents.
29
+ /// When absent, the dialect is detected structurally per document.
30
+ typealias VueDialect = "vue" | "petite-vue"
31
+
28
32
  class ConfigEntry {
29
33
  /// Human-readable entry name for inspect output and diagnostics.
30
34
  name: String? = null
@@ -41,6 +45,10 @@ class ConfigEntry {
41
45
  /// Base config files or presets amended by this entry.
42
46
  `extends`: ConfigExtends? = null
43
47
 
48
+ /// Vue dialect profile for standalone HTML documents (`"vue"` or `"petite-vue"`).
49
+ /// When absent, the dialect is detected structurally per document.
50
+ dialect: VueDialect? = null
51
+
44
52
  /// Vue compiler options.
45
53
  compiler: CompilerConfig.CompilerConfig = new CompilerConfig.CompilerConfig {}
46
54
 
@@ -88,6 +96,10 @@ ignores: Listing<String>? = null
88
96
  /// Base config files or presets amended by this config.
89
97
  `extends`: ConfigExtends? = null
90
98
 
99
+ /// Vue dialect profile for standalone HTML documents (`"vue"` or `"petite-vue"`).
100
+ /// When absent, the dialect is detected structurally per document.
101
+ dialect: VueDialect? = null
102
+
91
103
  /// Vue compiler options.
92
104
  compiler: CompilerConfig.CompilerConfig = new CompilerConfig.CompilerConfig {}
93
105
 
@@ -730,6 +730,11 @@
730
730
  }
731
731
  ]
732
732
  },
733
+ "dialect": {
734
+ "description": "Vue dialect profile for standalone HTML documents; when absent the dialect is detected structurally per document",
735
+ "type": "string",
736
+ "enum": ["vue", "petite-vue"]
737
+ },
733
738
  "compiler": {
734
739
  "$ref": "#/definitions/CompilerConfig"
735
740
  },
@@ -805,6 +810,11 @@
805
810
  }
806
811
  ]
807
812
  },
813
+ "dialect": {
814
+ "description": "Vue dialect profile for standalone HTML documents; when absent the dialect is detected structurally per document",
815
+ "type": "string",
816
+ "enum": ["vue", "petite-vue"]
817
+ },
808
818
  "compiler": {
809
819
  "$ref": "#/definitions/CompilerConfig"
810
820
  },