`${pc.green('✓')} Current Next.js version is higher than the target version "v${targetNextVersion}".`
`${pc.green('✓')} Current Next.js version is higher than the target version "v${targetNextVersion}".`
)
)
endMessage()
return
return
}
}
...
@@ -224,9 +243,7 @@ export async function runUpgrade(
...
@@ -224,9 +243,7 @@ export async function runUpgrade(
if(codemods.length>0){
if(codemods.length>0){
console.log(`${pc.green('✔')} Codemods have been applied successfully.`)
console.log(`${pc.green('✔')} Codemods have been applied successfully.`)
}
}
console.log(
endMessage()
`Please review the local changes and read the Next.js 15 migration guide to complete the migration. https://nextjs.org/docs/canary/app/building-your-application/upgrading/version-15`