- 添加 .pnp 和 .pnp.js 到依赖忽略列表 - 增加 build/ 目录到构建输出忽略 - 添加多种环境变量文件格式到忽略列表 - 增加日志文件和调试日志的忽略规则 - 添加编辑器相关文件和目录的忽略配置 - 增加运行时 PID 文件的忽略规则 - 添加测试覆盖率目录 coverage/ 的忽略 - 为服务器模拟环境添加 node_modules/ 和 dist/ 忽略规则
50 lines
495 B
Plaintext
50 lines
495 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
.pnp
|
|
.pnp.js
|
|
|
|
# Build output
|
|
dist/
|
|
build/
|
|
|
|
# Local env files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# Editor directories and files
|
|
.idea/
|
|
*.iml
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.user
|
|
Thumbs.db
|
|
|
|
# Runtime
|
|
pids/
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Coverage directory
|
|
coverage/
|
|
|
|
# Server mock (Node.js mock server - not the real backend)
|
|
server/node_modules/
|
|
server/dist/
|