Some checks failed
continuous-integration/drone/push Build is failing
- 添加 frontend/.env.production (VITE_APP_ENV=production) - 修改 .gitignore 允许提交环境配置 - 修复生产环境显示"开发环境"标识的问题
73 lines
1.1 KiB
Plaintext
73 lines
1.1 KiB
Plaintext
# ================================
|
||
# AgentWD 项目 .gitignore
|
||
# ================================
|
||
|
||
# ----------------
|
||
# 环境配置(敏感)
|
||
# ----------------
|
||
.env
|
||
.env.local
|
||
.env.*.local
|
||
# 允许提交非敏感的环境配置(用于 Vite 构建)
|
||
# .env.production
|
||
# .env.staging
|
||
|
||
# ----------------
|
||
# 依赖目录
|
||
# ----------------
|
||
node_modules/
|
||
.pnpm-store/
|
||
__pycache__/
|
||
*.pyc
|
||
.venv/
|
||
venv/
|
||
|
||
# ----------------
|
||
# 构建产物
|
||
# ----------------
|
||
dist/
|
||
build/
|
||
.output/
|
||
*.egg-info/
|
||
|
||
# ----------------
|
||
# IDE 配置
|
||
# ----------------
|
||
.vscode/
|
||
.idea/
|
||
*.swp
|
||
*.swo
|
||
.DS_Store
|
||
|
||
# ----------------
|
||
# 日志文件
|
||
# ----------------
|
||
logs/
|
||
*.log
|
||
npm-debug.log*
|
||
pnpm-debug.log*
|
||
|
||
# ----------------
|
||
# 测试覆盖率
|
||
# ----------------
|
||
coverage/
|
||
.nyc_output/
|
||
|
||
# ----------------
|
||
# n8n 敏感信息
|
||
# ----------------
|
||
n8n-workflows/*-credentials.json
|
||
n8n-workflows/credentials.json
|
||
|
||
# ----------------
|
||
# 历史备份(.history插件)
|
||
# ----------------
|
||
.history/
|
||
|
||
# ----------------
|
||
# 临时文件
|
||
# ----------------
|
||
*.tmp
|
||
*.temp
|
||
.cache/
|