From e5a98274648188273458ed466971ede6189926fc Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Sat, 31 Jan 2026 14:53:02 +0900 Subject: [PATCH] chore(.gitignore): add 'next-env.d.ts' globally and remove tracked files --- .gitignore | 1 + examples/react/auto-refetching/next-env.d.ts | 6 ------ examples/react/infinite-query-with-max-pages/next-env.d.ts | 6 ------ examples/react/load-more-infinite-scroll/next-env.d.ts | 6 ------ examples/react/nextjs-app-prefetching/.gitignore | 1 - examples/react/nextjs-suspense-streaming/.gitignore | 1 - examples/react/nextjs/next-env.d.ts | 6 ------ examples/react/optimistic-updates-cache/next-env.d.ts | 6 ------ examples/react/optimistic-updates-ui/next-env.d.ts | 6 ------ examples/react/pagination/next-env.d.ts | 6 ------ examples/react/prefetching/next-env.d.ts | 6 ------ integrations/react-next-14/.gitignore | 1 - integrations/react-next-15/.gitignore | 1 - integrations/react-next-16/.gitignore | 1 - 14 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 examples/react/auto-refetching/next-env.d.ts delete mode 100644 examples/react/infinite-query-with-max-pages/next-env.d.ts delete mode 100644 examples/react/load-more-infinite-scroll/next-env.d.ts delete mode 100644 examples/react/nextjs/next-env.d.ts delete mode 100644 examples/react/optimistic-updates-cache/next-env.d.ts delete mode 100644 examples/react/optimistic-updates-ui/next-env.d.ts delete mode 100644 examples/react/pagination/next-env.d.ts delete mode 100644 examples/react/prefetching/next-env.d.ts diff --git a/.gitignore b/.gitignore index 9ebc512a09..6e71fdf278 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ dist-ts .env.test.local .env.production.local .next +next-env.d.ts npm-debug.log* yarn-debug.log* diff --git a/examples/react/auto-refetching/next-env.d.ts b/examples/react/auto-refetching/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/auto-refetching/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/infinite-query-with-max-pages/next-env.d.ts b/examples/react/infinite-query-with-max-pages/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/infinite-query-with-max-pages/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/load-more-infinite-scroll/next-env.d.ts b/examples/react/load-more-infinite-scroll/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/load-more-infinite-scroll/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/nextjs-app-prefetching/.gitignore b/examples/react/nextjs-app-prefetching/.gitignore index 8f322f0d8f..b988ee9758 100644 --- a/examples/react/nextjs-app-prefetching/.gitignore +++ b/examples/react/nextjs-app-prefetching/.gitignore @@ -32,4 +32,3 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts diff --git a/examples/react/nextjs-suspense-streaming/.gitignore b/examples/react/nextjs-suspense-streaming/.gitignore index 8f322f0d8f..b988ee9758 100644 --- a/examples/react/nextjs-suspense-streaming/.gitignore +++ b/examples/react/nextjs-suspense-streaming/.gitignore @@ -32,4 +32,3 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts diff --git a/examples/react/nextjs/next-env.d.ts b/examples/react/nextjs/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/nextjs/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/optimistic-updates-cache/next-env.d.ts b/examples/react/optimistic-updates-cache/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/optimistic-updates-cache/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/optimistic-updates-ui/next-env.d.ts b/examples/react/optimistic-updates-ui/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/optimistic-updates-ui/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/pagination/next-env.d.ts b/examples/react/pagination/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/pagination/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/examples/react/prefetching/next-env.d.ts b/examples/react/prefetching/next-env.d.ts deleted file mode 100644 index 1a1bf607fc..0000000000 --- a/examples/react/prefetching/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import './.next/types/routes.d.ts' - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. diff --git a/integrations/react-next-14/.gitignore b/integrations/react-next-14/.gitignore index 8f322f0d8f..b988ee9758 100644 --- a/integrations/react-next-14/.gitignore +++ b/integrations/react-next-14/.gitignore @@ -32,4 +32,3 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts diff --git a/integrations/react-next-15/.gitignore b/integrations/react-next-15/.gitignore index 8f322f0d8f..b988ee9758 100644 --- a/integrations/react-next-15/.gitignore +++ b/integrations/react-next-15/.gitignore @@ -32,4 +32,3 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts diff --git a/integrations/react-next-16/.gitignore b/integrations/react-next-16/.gitignore index 8f322f0d8f..b988ee9758 100644 --- a/integrations/react-next-16/.gitignore +++ b/integrations/react-next-16/.gitignore @@ -32,4 +32,3 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts