We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--turbopack
1 parent e8685eb commit 9b34b65Copy full SHA for 9b34b65
packages/next-codemod/bin/upgrade.ts
@@ -188,7 +188,10 @@ export async function runUpgrade(
188
`react@${targetNextPackageJson.peerDependencies['react']}`
189
)
190
191
- if (compareVersions(targetNextVersion, '15.0.0-canary') >= 0) {
+ if (
192
+ compareVersions(targetNextVersion, '15.0.0-canary') >= 0 &&
193
+ compareVersions(targetNextVersion, '16.0.0-canary') < 0
194
+ ) {
195
await suggestTurbopack(appPackageJson, targetNextVersion)
196
}
197
0 commit comments