Skip to content

Commit

Permalink
fix: suggest react codemod over 14.3.0-canary.45
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Oct 9, 2024
1 parent 9948772 commit fda0493
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next-codemod/bin/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export async function runUpgrade(
await runTransform(codemod, process.cwd(), { force: true })
}

if (targetReactVersion.startsWith('19')) {
// Release https://github.com/vercel/next.js/releases/tag/v14.3.0-canary.45
// PR https://github.com/vercel/next.js/pull/65058
if (compareVersions(targetNextVersion, '14.3.0-canary.45') >= 0) {
await suggestReactCodemods(packageManager)
}

Expand Down

0 comments on commit fda0493

Please sign in to comment.