@vizejs/native 0.429.2 → 0.431.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 (2) hide show
  1. package/index.d.ts +19 -0
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -519,6 +519,25 @@ export declare function flattenDesignTokenCategories(categories: string): string
519
519
  export interface FormatOptionsNapi {
520
520
  /** Explicit Vue version; omitted uses Vue 3. */
521
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
+ };
522
541
  printWidth?: number;
523
542
  tabWidth?: number;
524
543
  useTabs?: boolean;
package/package.json CHANGED
@@ -47,14 +47,14 @@
47
47
  ]
48
48
  },
49
49
  "optionalDependencies": {
50
- "@vizejs/native-darwin-arm64": "0.429.2",
51
- "@vizejs/native-darwin-x64": "0.429.2",
52
- "@vizejs/native-linux-arm64-gnu": "0.429.2",
53
- "@vizejs/native-linux-arm64-musl": "0.429.2",
54
- "@vizejs/native-linux-x64-gnu": "0.429.2",
55
- "@vizejs/native-linux-x64-musl": "0.429.2",
56
- "@vizejs/native-win32-arm64-msvc": "0.429.2",
57
- "@vizejs/native-win32-x64-msvc": "0.429.2"
50
+ "@vizejs/native-darwin-arm64": "0.431.0",
51
+ "@vizejs/native-darwin-x64": "0.431.0",
52
+ "@vizejs/native-linux-arm64-gnu": "0.431.0",
53
+ "@vizejs/native-linux-arm64-musl": "0.431.0",
54
+ "@vizejs/native-linux-x64-gnu": "0.431.0",
55
+ "@vizejs/native-linux-x64-musl": "0.431.0",
56
+ "@vizejs/native-win32-arm64-msvc": "0.431.0",
57
+ "@vizejs/native-win32-x64-msvc": "0.431.0"
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.2",
68
+ "version": "0.431.0",
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",