按"上传目的=运行必须源码"准则,test/ 为代码运行非必须目录,须排除;修正此前误写的 test_dir/ 归类,新增明确 Tests 段覆盖 test/ 与 test_dir/。
52 lines
783 B
Plaintext
52 lines
783 B
Plaintext
# 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/
|