Replies: 13 comments 14 replies
-
|
This adds/installs (and overwrites if existing) all shadcn components: |
Beta Was this translation helpful? Give feedback.
-
|
You can use the following command line to update only installed components ! Note: it can conflict a bit with components like Toast (one installation for multiple components) |
Beta Was this translation helpful? Give feedback.
-
|
I think that can be done by using the |
Beta Was this translation helpful? Give feedback.
-
|
The backstage project has an upgrade helper that I think could be very useful for shadcn to see what has changed between versions. If it was integrated into the docs and on a component level it would be even better. |
Beta Was this translation helpful? Give feedback.
-
|
If we custom styled the built-in components from source code. Is any way to update to latest version and keep our own changed? |
Beta Was this translation helpful? Give feedback.
-
|
this is really important feature |
Beta Was this translation helpful? Give feedback.
-
|
So you must
Please. provide an upgrade command !!!!!!!!!!! |
Beta Was this translation helpful? Give feedback.
-
|
I just tried why the also... isn't a way to use components.json !? |
Beta Was this translation helpful? Give feedback.
-
|
Its very difficult to update components one by one. Looking for a command to do this... |
Beta Was this translation helpful? Give feedback.
-
|
This collects all .tsx filenames (without extension) in src/components/ui/ and passes them as arguments to shadcn add. bunx --bun shadcn@latest add $(Get-ChildItem -Path src/components/ui/ -Filter *.tsx | ForEach-Object { [System.IO.Path]::GetFileNameWithoutExtension($_.Name) } | ForEach-Object { $_ }) -y |
Beta Was this translation helpful? Give feedback.
-
|
is there any progress on this? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I'm late to the party, but isn't there already an update command ? bun x shadcn-svelte@next update --all --yesand it seems all my existing components were updated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently when I want to upgrade my components, i have to manually make a list of all my existing components and
addcommand one by one for each one.ideally the components themselves should be part of
components.jsonfile and a single command likeupdatewould update them to the latest version. i also thinkthemeshould be added to the config file too to allow easy experimentation with swtiching themes.Beta Was this translation helpful? Give feedback.
All reactions