Commit 78660a5
Add gitignore note for next-env.d.ts (#86809)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### What?
Adds a note to the `next-env.d.ts` entry in the project structure
documentation.
### Why?
To clarify that `next-env.d.ts` is a generated file and should be
excluded from version control (i.e., added to `.gitignore`). This helps
developers follow best practices for Next.js project setup.
### How?
Updated `docs/01-app/01-getting-started/02-project-structure.mdx` to add
"(should not be tracked by version control)" to the description of
`next-env.d.ts`.
Closes NEXT-
Fixes #
-->
---
[Slack
Thread](https://vercel.slack.com/archives/C07BS1WEYAZ/p1764841040993409?thread_ts=1764841040.993409&cid=C07BS1WEYAZ)
<a
href="https://cursor.com/background-agent?bcId=bc-fc2eab83-628d-4ae1-b190-436d7e00063e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-cursor-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in
Cursor"
src="https://cursor.com/open-in-cursor.svg"></picture></a> <a
href="https://cursor.com/agents?id=bc-fc2eab83-628d-4ae1-b190-436d7e00063e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-web-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web"
src="https://cursor.com/open-in-web.svg"></picture></a>
---------
Co-authored-by: Cursor Agent <[email protected]>1 parent 0e973f7 commit 78660a5
1 file changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments