From fa4f515bb71625ef149ad97dc71af906a45d530c Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Wed, 26 Jun 2024 17:57:54 +0200 Subject: [PATCH] fix missing command in next-codemod --- packages/next-codemod/bin/cli.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/next-codemod/bin/cli.ts b/packages/next-codemod/bin/cli.ts index 019ceeb901066..6d2abd46a6b58 100644 --- a/packages/next-codemod/bin/cli.ts +++ b/packages/next-codemod/bin/cli.ts @@ -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',