@vizejs/native 0.429.1 → 0.430.1

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 +29 -0
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -104,6 +104,10 @@ export interface BatchCompileOptionsNapi {
104
104
  templateComments?: boolean;
105
105
  templateHoistStatic?: boolean;
106
106
  templatePrefixIdentifiers?: boolean;
107
+ /** Inline the render into setup() and keep the ES module. */
108
+ inlineTemplate?: boolean;
109
+ /** Drop dev-only prop runtime types. */
110
+ isProd?: boolean;
107
111
  /** Preserve TypeScript in output when true */
108
112
  isTs?: boolean;
109
113
  /**
@@ -513,6 +517,27 @@ export declare function flattenDesignTokenCategories(categories: string): string
513
517
 
514
518
  /** Format options for NAPI. */
515
519
  export interface FormatOptionsNapi {
520
+ /** Explicit Vue version; omitted uses Vue 3. */
521
+ vueVersion?: string;
522
+ /** Oxfmt-compatible import sorting; false disables it. */
523
+ sortImports?:
524
+ | false
525
+ | {
526
+ partitionByNewline?: boolean;
527
+ partitionByComment?: boolean;
528
+ sortSideEffects?: boolean;
529
+ order?: "asc" | "desc";
530
+ ignoreCase?: boolean;
531
+ newlinesBetween?: boolean;
532
+ internalPattern?: string[];
533
+ groups?: (string | string[] | { newlinesBetween: boolean })[];
534
+ customGroups?: {
535
+ groupName: string;
536
+ elementNamePattern?: string[];
537
+ selector?: string;
538
+ modifiers?: string[];
539
+ }[];
540
+ };
516
541
  printWidth?: number;
517
542
  tabWidth?: number;
518
543
  useTabs?: boolean;
@@ -1236,6 +1261,10 @@ export interface SfcCompileOptionsNapi {
1236
1261
  templateComments?: boolean;
1237
1262
  templateHoistStatic?: boolean;
1238
1263
  templatePrefixIdentifiers?: boolean;
1264
+ /** Inline the render into setup() and keep the ES module. */
1265
+ inlineTemplate?: boolean;
1266
+ /** Drop dev-only prop runtime types. */
1267
+ isProd?: boolean;
1239
1268
  /** Preserve TypeScript in output when true */
1240
1269
  isTs?: boolean;
1241
1270
  /** Scope ID for scoped CSS (e.g., "data-v-abc123") */
package/package.json CHANGED
@@ -47,14 +47,14 @@
47
47
  ]
48
48
  },
49
49
  "optionalDependencies": {
50
- "@vizejs/native-darwin-arm64": "0.429.1",
51
- "@vizejs/native-darwin-x64": "0.429.1",
52
- "@vizejs/native-linux-arm64-gnu": "0.429.1",
53
- "@vizejs/native-linux-arm64-musl": "0.429.1",
54
- "@vizejs/native-linux-x64-gnu": "0.429.1",
55
- "@vizejs/native-linux-x64-musl": "0.429.1",
56
- "@vizejs/native-win32-arm64-msvc": "0.429.1",
57
- "@vizejs/native-win32-x64-msvc": "0.429.1"
50
+ "@vizejs/native-darwin-arm64": "0.430.1",
51
+ "@vizejs/native-darwin-x64": "0.430.1",
52
+ "@vizejs/native-linux-arm64-gnu": "0.430.1",
53
+ "@vizejs/native-linux-arm64-musl": "0.430.1",
54
+ "@vizejs/native-linux-x64-gnu": "0.430.1",
55
+ "@vizejs/native-linux-x64-musl": "0.430.1",
56
+ "@vizejs/native-win32-arm64-msvc": "0.430.1",
57
+ "@vizejs/native-win32-x64-msvc": "0.430.1"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
@@ -65,7 +65,7 @@
65
65
  "url": "https://github.com/ubugeeei-prod/vize"
66
66
  },
67
67
  "types": "index.d.ts",
68
- "version": "0.429.1",
68
+ "version": "0.430.1",
69
69
  "scripts": {
70
70
  "build": "node ./scripts/build-local.mjs --release",
71
71
  "build:ci": "napi build --platform --profile ci --manifest-path ../../crates/vize_vitrine/Cargo.toml -p vize_vitrine --features napi,legacy --output-dir . && node ./scripts/sync-entrypoint.mjs",