Commit Graph
3 Commits
Author SHA1 Message Date
安正超 6f1193f6e4 chore: replace codebase with Next.js version (console-new) (#46)
* chore: replace codebase with Next.js version (console-new)

- Migrate from Nuxt/Vue to Next.js/React
- Same repo, dev-pr branch has shared history with main for PR

* chore: wip

* ci: pin pnpm to latest in workflows, packageManager 10.19.0

* ci: use pnpm version from package.json only (fix version mismatch)

* fix: CI - add root page redirect, fix TS types and lint (api-client, aws4fetch, upload-task, hooks)

* fix(ci): add type-check script for TypeScript Check job

* fix(ci): resolve Code Formatting job - ESLint errors (setState-in-effect, refs, static-components, preserve-memoization)

* fix(ci): add lint:fix script for quality workflow Auto-fix step

* fix(ci): add SVG module type declaration for TypeScript Check
2026-02-01 21:23:31 +08:00
overtrue 9001300b96 docs: add commit message English requirement to contribution guidelines
- Add requirement that all commit messages must be in English
- Update README.md with examples of correct/incorrect commit messages
- Update .github/README.md with commit message guidelines
- Add commit message check to PR template
2025-10-31 23:56:51 +08:00
overtrue 42b6f36acd ✨ feat: 添加完整的测试套件和 CI/CD 流水线
🧪 测试套件:
- 添加 62 个测试用例(单元 + 集成 + 性能测试)
- 达到 98.5% 代码覆盖率(语句)
- 达到 93.5% 分支覆盖率
- 达到 100% 函数覆盖率
- 包含完整的 Mock 和测试工具

🚀 CI/CD 流水线:
- 测试流水线:多版本测试、覆盖率报告、浏览器兼容性
- 质量流水线:代码格式、类型检查、依赖安全、复杂度分析
- 发布流水线:自动构建、部署、GitHub Release 创建
- 依赖管理:自动安全审计、依赖更新、测试验证

📚 文档和模板:
- PR 模板和 Issue 模板
- 完整的 CI/CD 使用文档
- 测试套件说明文档

🔧 配置优化:
- 重构 config-helpers.ts 模块
- 改进类型定义和错误处理
- 优化配置获取逻辑和性能
2025-10-07 22:56:36 +08:00