CLI: Support Shadcn CLI v3

This commit is contained in:
Fuma Nama
2025-08-28 18:45:57 +08:00
parent 2df6c31be3
commit c9c27fe24c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@fumadocs/cli': patch
---
Support Shadcn CLI v3
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Output, OutputComponent } from '@/registry/schema';
import type { Registry as ShadcnRegistry, RegistryItem } from 'shadcn/registry';
import type { Registry as ShadcnRegistry, RegistryItem } from 'shadcn/schema';
function mapDeps(deps: Record<string, string | null>) {
return Object.entries(deps).map(([k, v]) => {