# 依赖目录
**/node_modules
**/npm-debug.log*
**/yarn-debug.log*
**/yarn-error.log*
**/pnpm-debug.log*

# 构建输出
**/dist
# 注意：保留 web/build 目录（Vite 配置文件）
server/build
**/.next
**/.nuxt
**/.vuepress/dist

# 开发和测试文件
**/.vscode
**/.idea
**/coverage
**/test
**/*.test.js
**/*.test.ts
**/*.spec.js
**/*.spec.ts
**/jest.config.js
**/cypress
**/.nyc_output

# 日志文件
**/logs
**/*.log
**/log

# 运行时数据
**/pids
**/*.pid
**/*.seed
**/*.pid.lock

# 可选npm缓存目录
**/.npm

# 可选yarn缓存目录
**/.yarn-integrity

# dotenv环境变量文件
# 保留构建和运行需要的环境变量文件
# **/.env
**/.env.local
**/.env.development.local
**/.env.test.local
**/.env.production.local
# 注意：在生产环境中，应通过 docker-compose 或环境变量注入来设置敏感信息

# parcel-bundler缓存目录
**/.cache
**/.parcel-cache

# next.js构建输出
**/.next

# nuxt.js构建输出
**/.nuxt

# vuepress构建输出
**/.vuepress/dist

# Serverless目录
**/.serverless

# FuseBox缓存
**/.fusebox/

# DynamoDB本地文件
**/.dynamodb/

# MacOS
**/.DS_Store

# Windows
**/Thumbs.db
**/ehthumbs.db
**/Desktop.ini

# Linux
**/*~

# Git
**/.git
**/.gitignore
**/README.md

# Docker
**/Dockerfile*
**/docker-compose*
**/.dockerignore

# 上传的文件（开发环境）
**/upload

# 临时文件
**/tmp
**/temp

# 编辑器配置
**/.editorconfig
**/.eslintrc*
**/.prettierrc*

# TypeScript
**/tsconfig.json

# 数据库相关
**/prisma/dev.db*
**/prisma/migrations

# Lock files (保留package.json但排除锁文件重复)
# 注意：我们在Dockerfile中单独复制了锁文件
# **/package-lock.json
# **/yarn.lock 