docs(.gitignore): 更新.gitignore文件以包含更多常见忽略项
添加了更详细的分类和常见忽略项,包括依赖目录、构建输出、日志文件、环境变量、IDE文件、操作系统生成文件等,使项目更加规范
This commit is contained in:
34
.gitignore
vendored
34
.gitignore
vendored
@@ -1,15 +1,39 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
.DS_Store
|
||||
|
||||
# Build outputs
|
||||
dist/
|
||||
build/
|
||||
|
||||
# Logs
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# IDE and editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.log
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Coverage directory
|
||||
coverage/
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
.cache/
|
||||
Reference in New Issue
Block a user