feat: 添加项目基础设施、测试框架和路由对接文档
- 新增 .gitignore、ARCHITECTURE.md 项目基础设施文件 - 新增前后端路由对接文档,完整映射前端页面到后端 API 端点 - 配置前端 Vitest 测试框架,添加 API/Store/Utils/Components 单元测试 - 添加后端 UserService 单元测试 - 新增统一测试运行脚本 scripts/run-tests.sh - 清理旧文档和过期覆盖率报告文件 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
60
.gitignore
vendored
Normal file
60
.gitignore
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
|
||||
# Build output
|
||||
dist/
|
||||
dist-ssr/
|
||||
/bin/
|
||||
/tmp/
|
||||
|
||||
# Environment & config (sensitive)
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
backend/configs/config.dev.yaml
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
.pnpm-error.log*
|
||||
.pnpm-debug.log
|
||||
|
||||
# Test coverage
|
||||
coverage/
|
||||
coverage.out
|
||||
*.lcov
|
||||
|
||||
# Cache
|
||||
.eslintcache
|
||||
tsconfig.tsbuildinfo
|
||||
|
||||
# Vite
|
||||
vite.config.*.timestamp*
|
||||
|
||||
# Go
|
||||
*.exe
|
||||
*.test
|
||||
|
||||
# Data
|
||||
/data/
|
||||
|
||||
# CI / automation
|
||||
/.github/
|
||||
/.continue/
|
||||
|
||||
# Misc
|
||||
*.local
|
||||
report.html
|
||||
yarn.lock
|
||||
Reference in New Issue
Block a user