mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# General configuration for `.gitignore`
|
|
### Ensure that Git does not track certain files and directories, including node artifacts, system files, and logs.
|
|
|
|
## Node artifacts
|
|
### Prevent `node_modules` directories from being tracked by Git to reduce clutter and avoid version conflicts across environments.
|
|
node_modules/
|
|
|
|
### Avoid tracking `package-lock.json` to prevent conflicts between different npm installs.
|
|
package-lock.json
|
|
|
|
## System-specific files
|
|
### Files created by OS that aren't relevant to the project's functionality.
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
## Documentation-specific rules for the 'docs/' directory
|
|
### Node modules and lock files within the documentation directory.
|
|
/docs/node_modules/
|
|
/docs/package-lock.json
|
|
|
|
### Logs and runtime files generated by tools in the documentation workflow.
|
|
.vercel
|
|
*.log*
|
|
/docs/.gitignore
|
|
/docs/.next/
|
|
/docs/.vercel
|
|
*.tsbuildinfo
|
|
/docs/build/
|
|
/docs/next-env.d.ts
|
|
|
|
## Environment variables
|
|
### Prevent `.env` files from being tracked by Git to avoid exposing sensitive information.
|
|
.env*
|
|
|
|
next-env.d.ts |