Replies: 2 comments 3 replies
-
|
There's no official migration guide for custom registries yet, but I've been through this myself. Here's what you need to do: 1. Update your registry item schemaMake sure every item in your {
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "my-component",
"type": "registry:ui",
...
}The old type values are gone — use 2. Drop the
|
Beta Was this translation helpful? Give feedback.
-
|
Did you put your registry:base item in you main registry.json? Were you able to link to it so you could use it as a preset? I see that now all the items get a schema too, but when you look at shad's /public/r/ they are not in there: https://github.com/shadcn-ui/ui/blob/main/apps/v4/registry.json This is really confusing to understand without docs. P.S. Do you have a live registry that you are sharing? I'd love to see if you do. I think I will make a small demo to test some of these things. I will share if I do. One unique thing I am doing is using TanStack Start and most registries are using Next. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for all the amazing updates. The new CLI features are amazing. One thing that is confusing though is how to keep our current custom registry up to date with everything. We obviously do not want our custom registry using old defaults like "new-york" and such. this means making our custom registry more aligned with new CLI. How to do this? Basic migration guide? How to covert legacy custom registry into preset? It would really be helpful to provide some guidance here as we were early adopters and we don't want to be left behind.
Beta Was this translation helpful? Give feedback.
All reactions