Files
gaokao-volunteer-system/.gitignore
Frontend Developer fa7c22e8ed chore(s1): monorepo skeleton + 30-file prototype first commit
Sprint 1 G0 闸门通过 (pnpm install / typecheck / lint / build / turbo 全部 exit 0)

实际完成:
- T-A-01 monorepo 根骨架: pnpm-workspace.yaml + turbo.json + 根 package.json
- T-A-02 收编原型: apps/web/ 30 个 src/ 文件 (4948 行) 首次入库
- T-A-03 lint/format: eslint flat config (根 + apps/web) + prettier
- T-A-23 web-ci.yml: GitHub Actions 4-step CI (typecheck/lint/build/bundle)

勘误 (前置假设错误):
- 原型 4948 行 (不是 4114 行)
- 原型含 33 个 any + 16 个未用变量 (Sprint 2 修)
- 原型从未 commit, 用 cp -r + git add, 不是 git mv

推迟到 Sprint 2+:
- T-A-04/05 tsconfig packages 抽离
- T-A-06/07/08 design tokens 抽离
- T-A-09~13 5 基础组件

依赖隔离:
- .gitignore 加 11 行 monorepo 规则
- apps/web/.gitignore 补 .npm-cache/next-dev.log
- 删除 apps/web 内嵌 .git/ (cp -r 复制时携带)

验证:
- pnpm install: 1m55s, 456 packages
- typecheck: 0 errors
- lint: 0 errors, 49 warnings (any + unused)
- next build: 8 routes compiled, 9/9 static pages
- turbo run build: 1 successful, 12.9s
2026-07-03 09:22:03 +08:00

115 lines
1.3 KiB
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.
# 临时文件
*.tmp
*.temp
*.bak
*.swp
*.swo
*~
.DS_Store
Thumbs.db
*.log
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
.eggs/
.pytest_cache/
.coverage
.coverage.*
coverage.xml
htmlcov/
.tox/
*.egg
.mypy_cache/
.ruff_cache/
venv/
.venv/
env/
# 编辑器
.vscode/
.idea/
*.sublime-project
*.sublime-workspace
# 浏览器生成
browser_screenshot_*.png
# 用户数据(不应提交)
data/private/
*.user
# 大文件
*.pdf
!docs/**/*.pdf
!data/examples/*.pdf
*.zip
*.tar.gz
*.rar
# 系统
.fuse_hidden*
.Trash-*
# 本地配置
.env
.env.local
*.local
config.local.*
# 本地工作树 / 临时验证产物
.worktrees/
.hermes_test_tmp.txt
admin/_tmp_test.txt
# 运行时 SQLite 数据库
/data/*.db
/data/*.db-*
/data/orders/*.db
/data/orders/*.db-*
# 本地工具元数据 / 运行产物
.serena/
/data/alerts/
/data/portal_uploads/
/=0.0.20,
# P1-7: 100-case 回归产物写入 /tmpreports/ 下不应再有动态覆写产物
reports/score_range_fullchain_100_*
# Monorepo (Sprint 1+) — 隔离 Node 依赖、构建产物、测试缓存
node_modules/
.pnp/
.pnp.js
.yarn/
# Next.js 构建产物
.next/
out/
next-env.d.ts
.turbo/
dist/
build/
# TypeScript
*.tsbuildinfo
.tscache/
# Vitest / Jest / Playwright
coverage/
playwright-report/
test-results/
.nyc_output/
.vitest/
# Storybook
storybook-static/
# Turbo
.turbo/