From e4d76e1fd1894205123565397141f2fae7de311f Mon Sep 17 00:00:00 2001 From: ZTL-UwU Date: Sat, 30 Aug 2025 19:03:11 -0700 Subject: [PATCH 1/2] test: update snapshot Signed-off-by: ZTL-UwU --- apps/www/package.json | 2 +- .../registry-resolve-items-tree.test.ts.snap | 435 +++++++++--------- .../cli/test/utils/transform-icons.test.ts | 20 - pnpm-lock.yaml | 18 + 4 files changed, 245 insertions(+), 230 deletions(-) diff --git a/apps/www/package.json b/apps/www/package.json index f40fb135e..dc6b50bc3 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -21,7 +21,7 @@ "@internationalized/date": "catalog:", "@radix-icons/vue": "^1.0.0", "@stackblitz/sdk": "^1.11.0", - "@tabler/icons-vue": "^1.0.0", + "@tabler/icons-vue": "^3.34.1", "@tanstack/vue-table": "^8.21.3", "@unovis/ts": "^1.5.2", "@unovis/vue": "^1.5.2", diff --git a/packages/cli/test/utils/schema/__snapshots__/registry-resolve-items-tree.test.ts.snap b/packages/cli/test/utils/schema/__snapshots__/registry-resolve-items-tree.test.ts.snap index c9944e014..cc099fddc 100644 --- a/packages/cli/test/utils/schema/__snapshots__/registry-resolve-items-tree.test.ts.snap +++ b/packages/cli/test/utils/schema/__snapshots__/registry-resolve-items-tree.test.ts.snap @@ -16,17 +16,18 @@ exports[`registryResolveItemTree > should resolve index 1`] = ` "lucide-vue-next", "clsx", "tailwind-merge", - "@vueuse/core", "reka-ui", + "@vueuse/core", ], "devDependencies": [], "docs": "", "files": [ { - "content": "import type { Updater } from '@tanstack/vue-table' -import type { Ref } from 'vue' -import { type ClassValue, clsx } from 'clsx' -import { twMerge } from 'tailwind-merge' + "content": "import type { Updater } from "@tanstack/vue-table" +import type { ClassValue } from "clsx" +import type { Ref } from "vue" +import { clsx } from "clsx" +import { twMerge } from "tailwind-merge" export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) @@ -34,7 +35,7 @@ export function cn(...inputs: ClassValue[]) { export function valueUpdater>(updaterOrValue: T, ref: Ref) { ref.value - = typeof updaterOrValue === 'function' + = typeof updaterOrValue === "function" ? updaterOrValue(ref.value) : updaterOrValue } @@ -43,16 +44,24 @@ export function valueUpdater>(updaterOrValue: T, ref: Ref "target": "", "type": "registry:lib", }, + { + "content": "export { default as Label } from "./Label.vue" +", + "path": "ui/label/index.ts", + "target": "", + "type": "registry:ui", + }, { "content": "