From bcc1cae621455cbfe9921e36a38a32dd1985ccd0 Mon Sep 17 00:00:00 2001 From: Jiwon Choi Date: Wed, 9 Oct 2024 15:48:33 +0900 Subject: [PATCH] chore(next-codemod): add `@types/prompts` (#70985) ### Why? The `@types/prompts` was missing. This could lead to cases like https://github.com/vercel/next.js/pull/70928 where it didn't type-error when used unsupported option. --- packages/next-codemod/package.json | 3 ++- pnpm-lock.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 04323e02f92a8..e8356c1b66cf4 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -35,6 +35,7 @@ "bin": "./bin/next-codemod.js", "devDependencies": { "@types/find-up": "4.0.0", - "@types/jscodeshift": "0.11.0" + "@types/jscodeshift": "0.11.0", + "@types/prompts": "2.4.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 520b3179c97f9..b5d8a16c5d6a6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1542,6 +1542,9 @@ importers: '@types/jscodeshift': specifier: 0.11.0 version: 0.11.0 + '@types/prompts': + specifier: 2.4.2 + version: 2.4.2 packages/next-env: devDependencies: