Skip to content

Commit

Permalink
next-upgrade: select codemods by canary version (#70630)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Sep 30, 2024
1 parent 7b17fb9 commit 2b62b32
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/next-codemod/lib/codemods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,21 @@ export const availableCodemods: VersionCodemods[] = [
],
},
{
version: '15.0',
version: '15.0.0-canary.153',
codemods: [
{
title: 'Transforms usage of Next.js async Request APIs',
value: 'next-async-request-api',
},
{
title: 'Migrate `geo` and `ip` properties on `NextRequest`',
value: 'next-request-geo-ip',
},
],
},
{
version: '15.0.0-canary.171',
codemods: [
{
title: 'Transforms usage of Next.js async Request APIs',
value: 'next-async-request-api',
},
],
},
]

0 comments on commit 2b62b32

Please sign in to comment.