Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 764 Bytes

File metadata and controls

35 lines (26 loc) · 764 Bytes

Contributing

感谢你愿意参与贡献!

开发环境

  • Node.js >= 22.5
  • npm
  • Python >= 3.8(文档生成功能)

开发流程

  1. Fork 本仓库
  2. 创建功能分支:git checkout -b feat/my-feature
  3. 安装依赖:npm install && npm --prefix frontend install
  4. 启动后端:npm start
  5. 启动前端:cd frontend && npm run dev
  6. 提交前运行:npm run lint && npm test && npm run build

代码规范

  • 使用 ESLint + Prettier 统一风格
  • 提交信息建议使用 Conventional Commits 风格:
    • feat: 新功能
    • fix: 修复问题
    • refactor: 重构
    • docs: 文档
    • test: 测试
    • chore: 构建或工具

提交 PR

  • 描述清楚改动目的
  • 补充相关测试
  • 确保 CI 通过