-
| im doing a lot of modifications at  sorry for a noob question but this is my first time using shadcn | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
| Package updates only affect the  You can update just the packages by running  | 
Beta Was this translation helpful? Give feedback.
-
| I don't think so. In my opinion, it's better to create shared components based on generated components. Avoid editting components created by shadcn. | 
Beta Was this translation helpful? Give feedback.
Package updates only affect the
package.jsonorpackage-lock.json. But if you are running the npx script again (the one given in the docs under the CLI option Eg:npx shadcn-ui@latest add carousel) your modifications would be overwritten.You can update just the packages by running
npm update <package_name>which does not overwrite the ui configs.