diff --git a/.gitignore b/.gitignore index 597ce1580..5412c5798 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,10 @@ marketing/channels/marketing/cowork/outbox/dry-runs/ .next out .vercel +# Regenerated by every `next build` / `next dev`, and its contents differ +# between the two (dev writes ./.next/dev/types, build writes the Nx dist +# path). Tracking it means every build dirties the working tree. +apps/*/next-env.d.ts # Whitepaper signup data apps/website/data/ diff --git a/apps/cockpit/next-env.d.ts b/apps/cockpit/next-env.d.ts deleted file mode 100644 index c4b7818fb..000000000 --- a/apps/cockpit/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import "./.next/dev/types/routes.d.ts"; - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/apps/website/next-env.d.ts b/apps/website/next-env.d.ts deleted file mode 100644 index c4b7818fb..000000000 --- a/apps/website/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -import "./.next/dev/types/routes.d.ts"; - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.