How do you run codemods?
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
Following the docs from here: https://nextjs.org/docs/app/guides/upgrading/version-16#using-the-codemod I thought that running
but the only thing it did was update the nextjs version in the package.json lol... Is there a way to run the codemod so it actually migrates everything the docs say it will?
npx @next/codemod@canary upgrade latest would actually do everything that's written:Update next.config.js to use the new turbopack configuration
Migrate from next lint to the ESLint CLI
Migrate from deprecated middleware convention to proxy
Remove unstable_ prefix from stabilized APIs
Remove experimental_ppr Route Segment Config from pages and layoutsbut the only thing it did was update the nextjs version in the package.json lol... Is there a way to run the codemod so it actually migrates everything the docs say it will?