Files
competition-website/.gitignore
WorkBuddy f281d206fb chore: 后端 .gitignore 补正(忽略 test/ 非必须目录)
按"上传目的=运行必须源码"准则,test/ 为代码运行非必须目录,须排除;修正此前误写的 test_dir/ 归类,新增明确 Tests 段覆盖 test/ 与 test_dir/。
2026-08-17 12:34:27 +08:00

52 lines
783 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Dependencies
node_modules/
# Build output
dist/
dist-ssr/
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Runtime (egg)
run/
.wb_*/
.wb_check_state.js
.egg-config.json
# Env / secrets (defense-in-depth; real .env.production lives outside this repo)
.env*
!.env.example
# Coverage / cache
coverage/
.cache/
# Agent / tooling state
.workbuddy/
# Editor
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
# Uploaded / runtime data under app/public (keep templates as source)
app/public/uploads/
app/public/answers/
app/public/works/
app/public/materials/
app/public/news/
app/public/carousel/
app/public/tmp/
app/public/exports/
# Tests (non-required; code runs without them) — 上传目的=运行必须,test 不入库
test/
test_dir/