From d9ac9bc5a248d1fde73e47ab4f435a4ef1e36658 Mon Sep 17 00:00:00 2001 From: Sebastian Sebbie Silbermann Date: Wed, 29 Oct 2025 16:19:38 +0100 Subject: [PATCH 1/2] [test] Regenerate tsconfig.json files --- .../fixtures/app-hmr-changes/tsconfig.json | 12 +++++++++--- test/development/app-dir/dev-fetch-hmr/tsconfig.json | 12 +++++++++--- .../app-dir/experimental-lightningcss/tsconfig.json | 12 +++++++++--- .../server-components-hmr-cache/tsconfig.json | 12 +++++++++--- .../basic/define-class-fields/fixture/tsconfig.json | 2 +- .../mcp-server/fixtures/log-file-app/tsconfig.json | 3 ++- .../tsconfig-path-reloading/app/tsconfig.json | 4 ++-- .../typescript-plugin/client-boundary/tsconfig.json | 10 ++++++++-- .../typescript-plugin/metadata/tsconfig.json | 10 ++++++++-- test/development/typescript-plugin/tsconfig.json | 10 ++++++++-- test/e2e/app-dir/app-alias/tsconfig.json | 12 +++++++++--- .../interception-middleware-rewrite/tsconfig.json | 8 +++++++- test/e2e/app-dir/metadata-suspense/tsconfig.json | 10 ++++++++-- test/e2e/app-dir/modularizeimports/tsconfig.json | 10 ++++++++-- .../parallel-routes-and-interception/tsconfig.json | 12 +++++++++--- .../app-dir/parallel-routes-not-found/tsconfig.json | 10 ++++++++-- test/e2e/app-dir/root-layout-redirect/tsconfig.json | 12 +++++++++--- .../tsconfig.json | 12 +++++++++--- .../searchparams-static-bailout/tsconfig.json | 12 +++++++++--- .../underscore-ignore-app-paths/tsconfig.json | 12 +++++++++--- test/e2e/app-dir/use-params/tsconfig.json | 12 +++++++++--- test/e2e/instrumentation-hook-src/tsconfig.json | 4 ++-- test/integration/app-tree/tsconfig.json | 2 +- test/integration/app-types/tsconfig.json | 10 ++++++++-- .../cssmodules-pure-no-check/tsconfig.json | 2 +- test/integration/custom-server-types/next-env.d.ts | 3 ++- test/integration/custom-server-types/tsconfig.json | 2 +- test/integration/draft-mode/tsconfig.json | 2 +- test/integration/import-assertion/tsconfig.json | 2 +- test/integration/import-attributes/tsconfig.json | 2 +- test/integration/next-dynamic-css/tsconfig.json | 8 +++++++- .../next-image-legacy/typescript/tsconfig.json | 2 +- .../next-image-new/typescript/tsconfig.json | 2 +- test/integration/react-current-version/tsconfig.json | 8 +++++++- .../project-a/tsconfig.json | 2 +- .../project-b/tsconfig.json | 2 +- .../relay-graphql-swc-single-project/tsconfig.json | 2 +- .../typescript-app-type-declarations/tsconfig.json | 2 +- test/integration/typescript-baseurl/tsconfig.json | 2 +- .../typescript-external-dir/project/tsconfig.json | 2 +- .../typescript-filtered-files/tsconfig.json | 2 +- test/integration/typescript-hmr/tsconfig.json | 2 +- .../typescript-ignore-errors/tsconfig.json | 2 +- .../tsconfig.json | 2 +- test/integration/typescript-paths/tsconfig.json | 5 ++--- test/integration/typescript/tsconfig.json | 2 +- .../shared-module-actions/tsconfig.json | 12 +++++++++--- .../use-effect-actions/tsconfig.json | 12 +++++++++--- .../tsconfig-no-relative-resolve/tsconfig.json | 8 +++++++- .../app-dir/types-gen-nounuselocal/tsconfig.json | 8 +++++++- .../deployment-id-handling/app/tsconfig.json | 3 ++- test/production/graceful-shutdown/src/tsconfig.json | 2 +- test/production/jest/relay/app/tsconfig.json | 4 ++-- .../jest/remove-react-properties/app/tsconfig.json | 4 ++-- .../middleware-typescript/app/tsconfig.json | 4 ++-- .../tsconfig.json | 4 ++-- .../terser-class-static-blocks/tsconfig.json | 4 ++-- .../tsconfig.json | 9 +++++++-- 58 files changed, 258 insertions(+), 101 deletions(-) diff --git a/test/development/acceptance-app/fixtures/app-hmr-changes/tsconfig.json b/test/development/acceptance-app/fixtures/app-hmr-changes/tsconfig.json index 819e8e45f39d..0da72b0425e5 100644 --- a/test/development/acceptance-app/fixtures/app-hmr-changes/tsconfig.json +++ b/test/development/acceptance-app/fixtures/app-hmr-changes/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "es5", "module": "esnext", - "jsx": "preserve", + "jsx": "react-jsx", "strict": false, "esModuleInterop": true, "skipLibCheck": true, @@ -21,6 +21,12 @@ } ] }, - "exclude": ["node_modules"], - "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", ".next/types/**/*.ts"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], + "include": [ + "**/*.ts", + "**/*.tsx", + "next-env.d.ts", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ] } diff --git a/test/development/app-dir/dev-fetch-hmr/tsconfig.json b/test/development/app-dir/dev-fetch-hmr/tsconfig.json index 1d4f624eff7d..d3b92e4edca0 100644 --- a/test/development/app-dir/dev-fetch-hmr/tsconfig.json +++ b/test/development/app-dir/dev-fetch-hmr/tsconfig.json @@ -12,13 +12,19 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/app-dir/experimental-lightningcss/tsconfig.json b/test/development/app-dir/experimental-lightningcss/tsconfig.json index 7fdcf2e2f45f..53fea716523c 100644 --- a/test/development/app-dir/experimental-lightningcss/tsconfig.json +++ b/test/development/app-dir/experimental-lightningcss/tsconfig.json @@ -11,7 +11,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -19,6 +19,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/app-dir/server-components-hmr-cache/tsconfig.json b/test/development/app-dir/server-components-hmr-cache/tsconfig.json index d8f50dfacee0..07d51745f284 100644 --- a/test/development/app-dir/server-components-hmr-cache/tsconfig.json +++ b/test/development/app-dir/server-components-hmr-cache/tsconfig.json @@ -12,13 +12,19 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules", "*.test.ts"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "*.test.ts", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/basic/define-class-fields/fixture/tsconfig.json b/test/development/basic/define-class-fields/fixture/tsconfig.json index bfb166c0793b..d490f7e1dd81 100644 --- a/test/development/basic/define-class-fields/fixture/tsconfig.json +++ b/test/development/basic/define-class-fields/fixture/tsconfig.json @@ -3,7 +3,7 @@ "useDefineForClassFields": true, "esModuleInterop": true, "module": "esnext", - "jsx": "preserve", + "jsx": "react-jsx", "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, diff --git a/test/development/mcp-server/fixtures/log-file-app/tsconfig.json b/test/development/mcp-server/fixtures/log-file-app/tsconfig.json index 03599f888d53..6caae1c2c01e 100644 --- a/test/development/mcp-server/fixtures/log-file-app/tsconfig.json +++ b/test/development/mcp-server/fixtures/log-file-app/tsconfig.json @@ -27,7 +27,8 @@ "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", - "**/*.mts" + "**/*.mts", + ".next/dev/types/**/*.ts" ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/tsconfig-path-reloading/app/tsconfig.json b/test/development/tsconfig-path-reloading/app/tsconfig.json index 15cef2fb6d11..1b13176a1eb4 100644 --- a/test/development/tsconfig-path-reloading/app/tsconfig.json +++ b/test/development/tsconfig-path-reloading/app/tsconfig.json @@ -13,7 +13,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "baseUrl": ".", "paths": { "@c/*": ["components/*"], @@ -22,5 +22,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/typescript-plugin/client-boundary/tsconfig.json b/test/development/typescript-plugin/client-boundary/tsconfig.json index 2c068d738271..d3b92e4edca0 100644 --- a/test/development/typescript-plugin/client-boundary/tsconfig.json +++ b/test/development/typescript-plugin/client-boundary/tsconfig.json @@ -19,6 +19,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/typescript-plugin/metadata/tsconfig.json b/test/development/typescript-plugin/metadata/tsconfig.json index 2c068d738271..d3b92e4edca0 100644 --- a/test/development/typescript-plugin/metadata/tsconfig.json +++ b/test/development/typescript-plugin/metadata/tsconfig.json @@ -19,6 +19,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/development/typescript-plugin/tsconfig.json b/test/development/typescript-plugin/tsconfig.json index 2c068d738271..d3b92e4edca0 100644 --- a/test/development/typescript-plugin/tsconfig.json +++ b/test/development/typescript-plugin/tsconfig.json @@ -19,6 +19,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/app-alias/tsconfig.json b/test/e2e/app-dir/app-alias/tsconfig.json index 5ec992d3b7fd..300c88ab97a3 100644 --- a/test/e2e/app-dir/app-alias/tsconfig.json +++ b/test/e2e/app-dir/app-alias/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "baseUrl": ".", "paths": { @@ -24,6 +24,12 @@ } ] }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules", "**/*.test.ts"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/interception-middleware-rewrite/tsconfig.json b/test/e2e/app-dir/interception-middleware-rewrite/tsconfig.json index f45f99012040..d3b92e4edca0 100644 --- a/test/e2e/app-dir/interception-middleware-rewrite/tsconfig.json +++ b/test/e2e/app-dir/interception-middleware-rewrite/tsconfig.json @@ -19,6 +19,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/metadata-suspense/tsconfig.json b/test/e2e/app-dir/metadata-suspense/tsconfig.json index 05e56cf6199b..d3b92e4edca0 100644 --- a/test/e2e/app-dir/metadata-suspense/tsconfig.json +++ b/test/e2e/app-dir/metadata-suspense/tsconfig.json @@ -12,13 +12,19 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/modularizeimports/tsconfig.json b/test/e2e/app-dir/modularizeimports/tsconfig.json index 2de2f326d611..e933dc86ed2e 100644 --- a/test/e2e/app-dir/modularizeimports/tsconfig.json +++ b/test/e2e/app-dir/modularizeimports/tsconfig.json @@ -21,6 +21,12 @@ "strictNullChecks": true, "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/parallel-routes-and-interception/tsconfig.json b/test/e2e/app-dir/parallel-routes-and-interception/tsconfig.json index d218731c4c6f..64532ca3d64a 100644 --- a/test/e2e/app-dir/parallel-routes-and-interception/tsconfig.json +++ b/test/e2e/app-dir/parallel-routes-and-interception/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -20,6 +20,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules", "**/*.test.ts"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/parallel-routes-not-found/tsconfig.json b/test/e2e/app-dir/parallel-routes-not-found/tsconfig.json index 140aa2eecad4..64532ca3d64a 100644 --- a/test/e2e/app-dir/parallel-routes-not-found/tsconfig.json +++ b/test/e2e/app-dir/parallel-routes-not-found/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -20,6 +20,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/root-layout-redirect/tsconfig.json b/test/e2e/app-dir/root-layout-redirect/tsconfig.json index 2eef1368c65e..64532ca3d64a 100644 --- a/test/e2e/app-dir/root-layout-redirect/tsconfig.json +++ b/test/e2e/app-dir/root-layout-redirect/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -20,6 +20,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/router-stuck-dynamic-static-segment/tsconfig.json b/test/e2e/app-dir/router-stuck-dynamic-static-segment/tsconfig.json index 2eef1368c65e..64532ca3d64a 100644 --- a/test/e2e/app-dir/router-stuck-dynamic-static-segment/tsconfig.json +++ b/test/e2e/app-dir/router-stuck-dynamic-static-segment/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -20,6 +20,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/searchparams-static-bailout/tsconfig.json b/test/e2e/app-dir/searchparams-static-bailout/tsconfig.json index 2eef1368c65e..64532ca3d64a 100644 --- a/test/e2e/app-dir/searchparams-static-bailout/tsconfig.json +++ b/test/e2e/app-dir/searchparams-static-bailout/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -20,6 +20,12 @@ ], "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/underscore-ignore-app-paths/tsconfig.json b/test/e2e/app-dir/underscore-ignore-app-paths/tsconfig.json index ffdb23f66c58..bb3cee895b56 100644 --- a/test/e2e/app-dir/underscore-ignore-app-paths/tsconfig.json +++ b/test/e2e/app-dir/underscore-ignore-app-paths/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -21,6 +21,12 @@ "strictNullChecks": true, "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/app-dir/use-params/tsconfig.json b/test/e2e/app-dir/use-params/tsconfig.json index 687d974173e3..be0c67d1f4a4 100644 --- a/test/e2e/app-dir/use-params/tsconfig.json +++ b/test/e2e/app-dir/use-params/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -21,6 +21,12 @@ "target": "ES2017", "strictNullChecks": true }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/e2e/instrumentation-hook-src/tsconfig.json b/test/e2e/instrumentation-hook-src/tsconfig.json index b11582b86fca..e87ceb19e6c7 100644 --- a/test/e2e/instrumentation-hook-src/tsconfig.json +++ b/test/e2e/instrumentation-hook-src/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -22,5 +22,5 @@ "target": "ES2017" }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/app-tree/tsconfig.json b/test/integration/app-tree/tsconfig.json index bc11291c9f69..aa827db782df 100644 --- a/test/integration/app-tree/tsconfig.json +++ b/test/integration/app-tree/tsconfig.json @@ -21,6 +21,6 @@ ], "strictNullChecks": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"] } diff --git a/test/integration/app-types/tsconfig.json b/test/integration/app-types/tsconfig.json index 48e974faff0d..bb3cee895b56 100644 --- a/test/integration/app-types/tsconfig.json +++ b/test/integration/app-types/tsconfig.json @@ -21,6 +21,12 @@ "strictNullChecks": true, "target": "ES2017" }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/css-fixtures/cssmodules-pure-no-check/tsconfig.json b/test/integration/css-fixtures/cssmodules-pure-no-check/tsconfig.json index 2c068d738271..f45f99012040 100644 --- a/test/integration/css-fixtures/cssmodules-pure-no-check/tsconfig.json +++ b/test/integration/css-fixtures/cssmodules-pure-no-check/tsconfig.json @@ -20,5 +20,5 @@ ] }, "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/custom-server-types/next-env.d.ts b/test/integration/custom-server-types/next-env.d.ts index 4f11a03dc6cc..7996d352f43b 100644 --- a/test/integration/custom-server-types/next-env.d.ts +++ b/test/integration/custom-server-types/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/test/integration/custom-server-types/tsconfig.json b/test/integration/custom-server-types/tsconfig.json index ae3c6fcf4523..8846415cf005 100644 --- a/test/integration/custom-server-types/tsconfig.json +++ b/test/integration/custom-server-types/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/draft-mode/tsconfig.json b/test/integration/draft-mode/tsconfig.json index 9e304e5d7ce8..aa3b7f28a6ae 100644 --- a/test/integration/draft-mode/tsconfig.json +++ b/test/integration/draft-mode/tsconfig.json @@ -27,5 +27,5 @@ "test/integration/draft-mode/**/*.ts", "test/integration/draft-mode/**/*.tsx" ], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/import-assertion/tsconfig.json b/test/integration/import-assertion/tsconfig.json index 9557c34f5c1b..3db7bbca39ce 100644 --- a/test/integration/import-assertion/tsconfig.json +++ b/test/integration/import-assertion/tsconfig.json @@ -15,6 +15,6 @@ "isolatedModules": true, "jsx": "react-jsx" }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["**/*.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/import-attributes/tsconfig.json b/test/integration/import-attributes/tsconfig.json index 9557c34f5c1b..3db7bbca39ce 100644 --- a/test/integration/import-attributes/tsconfig.json +++ b/test/integration/import-attributes/tsconfig.json @@ -15,6 +15,6 @@ "isolatedModules": true, "jsx": "react-jsx" }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["**/*.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/next-dynamic-css/tsconfig.json b/test/integration/next-dynamic-css/tsconfig.json index ce8701fb2649..d6bef2a5f921 100644 --- a/test/integration/next-dynamic-css/tsconfig.json +++ b/test/integration/next-dynamic-css/tsconfig.json @@ -20,6 +20,12 @@ ], "strictNullChecks": true }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/next-image-legacy/typescript/tsconfig.json b/test/integration/next-image-legacy/typescript/tsconfig.json index e1f17e9629ef..86d49cb2a5f9 100644 --- a/test/integration/next-image-legacy/typescript/tsconfig.json +++ b/test/integration/next-image-legacy/typescript/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/next-image-new/typescript/tsconfig.json b/test/integration/next-image-new/typescript/tsconfig.json index e1f17e9629ef..86d49cb2a5f9 100644 --- a/test/integration/next-image-new/typescript/tsconfig.json +++ b/test/integration/next-image-new/typescript/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/react-current-version/tsconfig.json b/test/integration/react-current-version/tsconfig.json index f45f99012040..d3b92e4edca0 100644 --- a/test/integration/react-current-version/tsconfig.json +++ b/test/integration/react-current-version/tsconfig.json @@ -19,6 +19,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/integration/relay-graphql-swc-multi-project/project-a/tsconfig.json b/test/integration/relay-graphql-swc-multi-project/project-a/tsconfig.json index d75ccc1cdf14..15a421ac5f76 100644 --- a/test/integration/relay-graphql-swc-multi-project/project-a/tsconfig.json +++ b/test/integration/relay-graphql-swc-multi-project/project-a/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/relay-graphql-swc-multi-project/project-b/tsconfig.json b/test/integration/relay-graphql-swc-multi-project/project-b/tsconfig.json index d75ccc1cdf14..15a421ac5f76 100644 --- a/test/integration/relay-graphql-swc-multi-project/project-b/tsconfig.json +++ b/test/integration/relay-graphql-swc-multi-project/project-b/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/relay-graphql-swc-single-project/tsconfig.json b/test/integration/relay-graphql-swc-single-project/tsconfig.json index d75ccc1cdf14..15a421ac5f76 100644 --- a/test/integration/relay-graphql-swc-single-project/tsconfig.json +++ b/test/integration/relay-graphql-swc-single-project/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/test/integration/typescript-app-type-declarations/tsconfig.json b/test/integration/typescript-app-type-declarations/tsconfig.json index c065a4691e3f..bad53066af0c 100644 --- a/test/integration/typescript-app-type-declarations/tsconfig.json +++ b/test/integration/typescript-app-type-declarations/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript-baseurl/tsconfig.json b/test/integration/typescript-baseurl/tsconfig.json index c065a4691e3f..bad53066af0c 100644 --- a/test/integration/typescript-baseurl/tsconfig.json +++ b/test/integration/typescript-baseurl/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript-external-dir/project/tsconfig.json b/test/integration/typescript-external-dir/project/tsconfig.json index c065a4691e3f..bad53066af0c 100644 --- a/test/integration/typescript-external-dir/project/tsconfig.json +++ b/test/integration/typescript-external-dir/project/tsconfig.json @@ -16,6 +16,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript-filtered-files/tsconfig.json b/test/integration/typescript-filtered-files/tsconfig.json index e1f17e9629ef..86d49cb2a5f9 100644 --- a/test/integration/typescript-filtered-files/tsconfig.json +++ b/test/integration/typescript-filtered-files/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript-hmr/tsconfig.json b/test/integration/typescript-hmr/tsconfig.json index cf83aac39eb7..37df52fd62de 100644 --- a/test/integration/typescript-hmr/tsconfig.json +++ b/test/integration/typescript-hmr/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "pages"] } diff --git a/test/integration/typescript-ignore-errors/tsconfig.json b/test/integration/typescript-ignore-errors/tsconfig.json index cf83aac39eb7..37df52fd62de 100644 --- a/test/integration/typescript-ignore-errors/tsconfig.json +++ b/test/integration/typescript-ignore-errors/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "pages"] } diff --git a/test/integration/typescript-only-remove-type-imports/tsconfig.json b/test/integration/typescript-only-remove-type-imports/tsconfig.json index e1f17e9629ef..86d49cb2a5f9 100644 --- a/test/integration/typescript-only-remove-type-imports/tsconfig.json +++ b/test/integration/typescript-only-remove-type-imports/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript-paths/tsconfig.json b/test/integration/typescript-paths/tsconfig.json index 1c90727ae71d..e6e817ab60b3 100644 --- a/test/integration/typescript-paths/tsconfig.json +++ b/test/integration/typescript-paths/tsconfig.json @@ -1,5 +1,4 @@ -/* This is a single line comment to check if that works */ -{ +/* This is a single line comment to check if that works */ { "compilerOptions": { "baseUrl": ".", "paths": { @@ -28,6 +27,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/integration/typescript/tsconfig.json b/test/integration/typescript/tsconfig.json index e1f17e9629ef..86d49cb2a5f9 100644 --- a/test/integration/typescript/tsconfig.json +++ b/test/integration/typescript/tsconfig.json @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/production/app-dir/actions-tree-shaking/shared-module-actions/tsconfig.json b/test/production/app-dir/actions-tree-shaking/shared-module-actions/tsconfig.json index 1d4f624eff7d..d3b92e4edca0 100644 --- a/test/production/app-dir/actions-tree-shaking/shared-module-actions/tsconfig.json +++ b/test/production/app-dir/actions-tree-shaking/shared-module-actions/tsconfig.json @@ -12,13 +12,19 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/app-dir/actions-tree-shaking/use-effect-actions/tsconfig.json b/test/production/app-dir/actions-tree-shaking/use-effect-actions/tsconfig.json index 1d4f624eff7d..d3b92e4edca0 100644 --- a/test/production/app-dir/actions-tree-shaking/use-effect-actions/tsconfig.json +++ b/test/production/app-dir/actions-tree-shaking/use-effect-actions/tsconfig.json @@ -12,13 +12,19 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/app-dir/tsconfig-no-relative-resolve/tsconfig.json b/test/production/app-dir/tsconfig-no-relative-resolve/tsconfig.json index 79cbd32f4378..b39e62e987db 100644 --- a/test/production/app-dir/tsconfig-no-relative-resolve/tsconfig.json +++ b/test/production/app-dir/tsconfig-no-relative-resolve/tsconfig.json @@ -22,6 +22,12 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/app-dir/types-gen-nounuselocal/tsconfig.json b/test/production/app-dir/types-gen-nounuselocal/tsconfig.json index 8c886519c77e..fe2a9e5d016a 100644 --- a/test/production/app-dir/types-gen-nounuselocal/tsconfig.json +++ b/test/production/app-dir/types-gen-nounuselocal/tsconfig.json @@ -23,6 +23,12 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/deployment-id-handling/app/tsconfig.json b/test/production/deployment-id-handling/app/tsconfig.json index 186c72285b57..615daed2a98d 100644 --- a/test/production/deployment-id-handling/app/tsconfig.json +++ b/test/production/deployment-id-handling/app/tsconfig.json @@ -26,7 +26,8 @@ "**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts", - "**/*.mts" + "**/*.mts", + ".next/dev/types/**/*.ts" ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/graceful-shutdown/src/tsconfig.json b/test/production/graceful-shutdown/src/tsconfig.json index 4a5da553728e..3ec8267f578c 100644 --- a/test/production/graceful-shutdown/src/tsconfig.json +++ b/test/production/graceful-shutdown/src/tsconfig.json @@ -15,5 +15,5 @@ "target": "ES2017" }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/jest/relay/app/tsconfig.json b/test/production/jest/relay/app/tsconfig.json index dc75be94b2f4..56a7a99da390 100644 --- a/test/production/jest/relay/app/tsconfig.json +++ b/test/production/jest/relay/app/tsconfig.json @@ -13,11 +13,11 @@ "moduleResolution": "nodenext", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "paths": { "@/*": ["./*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "tests/entry.test.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/jest/remove-react-properties/app/tsconfig.json b/test/production/jest/remove-react-properties/app/tsconfig.json index c4591e1bb8d2..dab587563990 100644 --- a/test/production/jest/remove-react-properties/app/tsconfig.json +++ b/test/production/jest/remove-react-properties/app/tsconfig.json @@ -13,11 +13,11 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "paths": { "@/*": ["./*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "tests/entry.test.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/middleware-typescript/app/tsconfig.json b/test/production/middleware-typescript/app/tsconfig.json index feef01221a48..daee91f37ef5 100644 --- a/test/production/middleware-typescript/app/tsconfig.json +++ b/test/production/middleware-typescript/app/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "esModuleInterop": true, "module": "esnext", - "jsx": "preserve", + "jsx": "react-jsx", "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, @@ -20,6 +20,6 @@ } ] }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "pages", "middleware.ts", ".next/types/**/*.ts"] } diff --git a/test/production/supports-module-resolution-nodenext/tsconfig.json b/test/production/supports-module-resolution-nodenext/tsconfig.json index d9284ab47b94..3227d65a64bf 100644 --- a/test/production/supports-module-resolution-nodenext/tsconfig.json +++ b/test/production/supports-module-resolution-nodenext/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "esModuleInterop": true, "module": "NodeNext", - "jsx": "preserve", + "jsx": "react-jsx", "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, @@ -15,6 +15,6 @@ "resolveJsonModule": true, "isolatedModules": true }, - "exclude": ["node_modules"], + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"], "include": ["next-env.d.ts", "components", "pages"] } diff --git a/test/production/terser-class-static-blocks/tsconfig.json b/test/production/terser-class-static-blocks/tsconfig.json index d88efa188d6e..3ec8267f578c 100644 --- a/test/production/terser-class-static-blocks/tsconfig.json +++ b/test/production/terser-class-static-blocks/tsconfig.json @@ -11,9 +11,9 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "target": "ES2017" }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/typescript-checked-side-effect-imports/tsconfig.json b/test/production/typescript-checked-side-effect-imports/tsconfig.json index ef352979b693..2c7725f591c5 100644 --- a/test/production/typescript-checked-side-effect-imports/tsconfig.json +++ b/test/production/typescript-checked-side-effect-imports/tsconfig.json @@ -3,7 +3,6 @@ // the only change from the default tsconfig. // this forces `import 'server-only'` and `import 'client-only'` to be checked. "noUncheckedSideEffectImports": true, - "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, @@ -23,6 +22,12 @@ } ] }, - "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx", + ".next/dev/types/**/*.ts" + ], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } From 4d1051b74b88332953f4e0f1259ba73bfdae7d53 Mon Sep 17 00:00:00 2001 From: Sebastian Sebbie Silbermann Date: Wed, 29 Oct 2025 16:36:21 +0100 Subject: [PATCH 2/2] Remove unused include items --- test/production/jest/relay/app/tsconfig.json | 2 +- test/production/jest/remove-react-properties/app/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/production/jest/relay/app/tsconfig.json b/test/production/jest/relay/app/tsconfig.json index 56a7a99da390..b56d98fdf862 100644 --- a/test/production/jest/relay/app/tsconfig.json +++ b/test/production/jest/relay/app/tsconfig.json @@ -18,6 +18,6 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "tests/entry.test.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] } diff --git a/test/production/jest/remove-react-properties/app/tsconfig.json b/test/production/jest/remove-react-properties/app/tsconfig.json index dab587563990..96cb65518a43 100644 --- a/test/production/jest/remove-react-properties/app/tsconfig.json +++ b/test/production/jest/remove-react-properties/app/tsconfig.json @@ -18,6 +18,6 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "tests/entry.test.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"] }