Skip to content

Commit

Permalink
fix missing command in next-codemod
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jun 26, 2024
1 parent ce6ce9b commit fa4f515
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/next-codemod/bin/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ const TRANSFORMER_INQUIRER_CHOICES = [
name: 'metadata-to-viewport-export: Migrates certain viewport related metadata from the `metadata` export to a new `viewport` export.',
value: 'metadata-to-viewport-export',
},
{
name: 'next-dynamic-access-named-export: Transforms dynamic imports that return the named export itself to a module like object.',
value: 'next-dynamic-access-named-export',
},
{
name: 'next-image-to-legacy-image: safely migrate Next.js 10, 11, 12 applications importing `next/image` to the renamed `next/legacy/image` import in Next.js 13',
value: 'next-image-to-legacy-image',
Expand Down

0 comments on commit fa4f515

Please sign in to comment.