Upgrading JTBDOS
As JTBDOS 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 JTBDOS is a boilerplate 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 upgrade all the dependencies in all yourpackage.json files and installs the new versions with the bump-deps command:
Terminal
package.json files and install the new 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.