Upgrading zopio
As zopio
evolves, you may want to stay up to date with the latest changes. This can be difficult to do manually, so we’ve created a script to help you.
Terminal
Because
zopio
is a framework and not a library, you’ll likely need to manually merge the changes you’ve made with the changes from the update.Upgrading dependencies
You can update the dependency versions in all yourpackage.json
files with the bump-deps
command:
Terminal
package.json
files.
Run pnpm install
(or pnpm install -r
) afterward to actually install the upgraded versions.
You should run a
pnpm build
after running bump-deps
to ensure the project builds correctly. You should also run pnpm dev
and ensure the project runs correctly in runtime.Upgrading shadcn/ui components
You can upgrade all the shadcn/ui components in the Design System package with thebump-ui
command:
Terminal
package.json
file.
This will override all customization you’ve made to the components. To avoid this happening, we recommend proxying the components into a new folder, such as
@repo/design-system/components
.The
shadcn
CLI will likely make some unwanted changes to your shared Tailwind config file and global CSS. Make sure you review changes before committing them.