@nx/next - Migrations
The @nx/next plugin provides various migrations to help you migrate to newer versions of next projects within your Nx workspace. Below is a complete reference for all available migrations.
22.2.x
Section titled “22.2.x”update-22-2-0-create-ai-instructions-for-next-16
Section titled “update-22-2-0-create-ai-instructions-for-next-16”Version: 22.2.0-beta.1
Create AI Instructions to help migrate users workspaces to Next.js 16.
Requires
Section titled “Requires”| Name | Version |
|---|---|
next | >=16.0.0 |
22.2.0-beta.1-package-updates
Section titled “22.2.0-beta.1-package-updates”Version: 22.2.0-beta.1
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
next | ~16.0.1 | Updated only |
eslint-config-next | ^16.0.1 | Updated only |
22.0.x
Section titled “22.0.x”update-22-0-0-add-svgr-to-next-config
Section titled “update-22-0-0-add-svgr-to-next-config”Version: 22.0.0-beta.0
Updates next.config.js files to add SVGR webpack configuration directly instead of using the nx.svgr option in withNx.
20.7.x
Section titled “20.7.x”20.7.1-beta.0-package-updates
Section titled “20.7.1-beta.0-package-updates”Version: 20.7.1-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
eslint-config-next | ^15.2.4 | Updated only |
20.7.1-beta.0-next14-package-updates
Section titled “20.7.1-beta.0-next14-package-updates”Version: 20.7.1-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
next | ~14.2.26 | Updated only |
20.7.1-beta.0-next15-package-updates
Section titled “20.7.1-beta.0-next15-package-updates”Version: 20.7.1-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
next | ~15.2.4 | Updated only |