感谢你愿意参与贡献!
- Node.js >= 22.5
- npm
- Python >= 3.8(文档生成功能)
- Fork 本仓库
- 创建功能分支:
git checkout -b feat/my-feature - 安装依赖:
npm install && npm --prefix frontend install - 启动后端:
npm start - 启动前端:
cd frontend && npm run dev - 提交前运行:
npm run lint && npm test && npm run build
- 使用 ESLint + Prettier 统一风格
- 提交信息建议使用 Conventional Commits 风格:
feat: 新功能fix: 修复问题refactor: 重构docs: 文档test: 测试chore: 构建或工具
- 描述清楚改动目的
- 补充相关测试
- 确保 CI 通过