Upgrading in Next.js
If you want to upgrade the Edge Runtime version there, follow the steps:
- Find for
- Upgrade the version numbers to the latest version available (You can find npm semver calculator (opens in a new tab) helpful to determine what's the latest version).
- Perform a
pnpm installon the root folder to install them but also update
- Once the new version has been installed, you should to precompile them, entering to
npm run ncc-compiled.
- Commit all the thing as a single commit, and that's it!
Since Next.js has a lot of tests, the best way for testing your changes is to make a Next.js draft pull request.
Then, if a test failed, you can reproduce it locally to find the gap.