Updates
Built-in helpers to help you keep your project up to date.
Upgrading next-forge
As next-forge 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.
This will run our update script, which will guide you through the process of updating your project.
This will clone the latest version of next-forge into a temporary directory, apply the updates, and then copy the files over to your project. From here, you can commit the changes and push them to your repository.
Upgrading dependencies
You can upgrade all the dependencies in all your package.json
files and installs the new versions with the bump-deps
command:
This will update all the dependencies in your package.json
files and install the new versions.
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 the bump-ui
command:
This will update all the shadcn/ui components, as well as the relevant dependencies in the Design System’s package.json
file.
@repo/design-system/components
.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.