81 lines
1.2 KiB
Plaintext
81 lines
1.2 KiB
Plaintext
# ============ 通用 ============
|
|
*.log
|
|
*.err.log
|
|
*.out.log
|
|
*.tmp
|
|
*.bak
|
|
*.swp
|
|
*.pid
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE / 编辑器
|
|
.idea/
|
|
.vscode/
|
|
*.iml
|
|
*.sublime-*
|
|
|
|
# 环境变量 / 密钥
|
|
# .env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
ssl/
|
|
|
|
# ============ Backend (Python) ============
|
|
# 字节码 / 缓存
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
|
|
# 打包 / 构建
|
|
backend/dist/
|
|
backend/build/
|
|
backend/*.egg-info/
|
|
backend/.eggs/
|
|
backend/wheels/
|
|
|
|
# 虚拟环境
|
|
backend/.venv/
|
|
backend/venv/
|
|
backend/env/
|
|
backend/ENV/
|
|
|
|
# 测试 / 类型检查
|
|
backend/.pytest_cache/
|
|
backend/.mypy_cache/
|
|
backend/.ruff_cache/
|
|
backend/.coverage
|
|
backend/htmlcov/
|
|
backend/.tox/
|
|
|
|
# 数据库 / 运行时数据
|
|
backend/*.db
|
|
backend/*.sqlite
|
|
backend/*.sqlite3
|
|
backend/storage/
|
|
backend/logs/
|
|
|
|
# ============ Frontend (Node / Vite) ============
|
|
frontend/node_modules/
|
|
frontend/dist/
|
|
frontend/build/
|
|
frontend/.vite/
|
|
frontend/.cache/
|
|
frontend/coverage/
|
|
frontend/npm-debug.log*
|
|
frontend/yarn-debug.log*
|
|
frontend/yarn-error.log*
|
|
frontend/pnpm-debug.log*
|
|
|
|
# ============ Miniapp (微信小程序) ============
|
|
miniapp/node_modules/
|
|
miniapp/miniprogram_npm/
|
|
miniapp/project.private.config.json
|
|
|
|
# ============ Deploy ============
|
|
deploy/.env
|
|
deploy/*.local.yml
|