Upgrade to Next.js 12

Proprietary

Migrate a Next.js 11 project to Next.js 12: code changes and dependency upgrade, including the React 17 migration Next.js 12 requires.

io.moderne.nextjs.migrate.upgrade-to-nextjs-12
mod run . --recipe=io.moderne.nextjs.migrate.upgrade-to-nextjs-12

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.