Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.34 KB

File metadata and controls

68 lines (47 loc) · 1.34 KB

贡献指南 Contributing Guide

感谢您对 APIMockForge 的关注!我们欢迎各种形式的贡献。

如何贡献

报告问题

  1. 使用 GitHub Issues 提交问题
  2. 清晰描述问题和复现步骤
  3. 提供环境信息(Node.js版本、操作系统等)

提交代码

  1. Fork 本仓库
  2. 创建特性分支 (git checkout -b feature/amazing-feature)
  3. 提交更改 (git commit -m 'feat: add amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 创建 Pull Request

提交规范

我们遵循 Angular Commit Message Convention

  • feat: 新功能
  • fix: 修复问题
  • docs: 文档更新
  • style: 代码格式(不影响功能)
  • refactor: 代码重构
  • perf: 性能优化
  • test: 测试相关
  • chore: 构建/工具相关

开发流程

# 安装依赖
npm install

# 启动开发服务器
npm run dev

# 运行测试
npm test

# 代码检查
npm run lint

# 格式化代码
npm run format

代码规范

  • 使用 TypeScript 编写代码
  • 遵循 ESLint 和 Prettier 配置
  • 为新功能添加测试用例
  • 保持代码注释清晰

行为准则

  • 尊重每一位贡献者
  • 接受建设性批评
  • 关注项目最佳利益

Thank you for your interest in contributing to APIMockForge!