.vsc-commitizen.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "scopes": [
  3. {
  4. "label": "build",
  5. "description": "Layout/下文件"
  6. },
  7. {
  8. "label": "lint",
  9. "description": "components/下文件"
  10. },
  11. {
  12. "label": "server",
  13. "description": "cli/下文件"
  14. },
  15. {
  16. "label": "env",
  17. "description": "环境配置"
  18. },
  19. {
  20. "label": "utils",
  21. "description": "utils/下文件"
  22. }
  23. ],
  24. "types": [
  25. {
  26. "description": "有新功能",
  27. "title": "Features",
  28. "label": "feat"
  29. },
  30. { "description": "修复了一个bug", "title": "Bug Fixes", "label": "fix" },
  31. {
  32. "description": "只更新了文档",
  33. "title": "Documentation",
  34. "label": "docs"
  35. },
  36. {
  37. "description": "更改不影响代码的含义(例如:空白、格式化、添加分号等)",
  38. "title": "Styles",
  39. "label": "style"
  40. },
  41. {
  42. "description": "重构代码(即不是新增功能,也不是修改bug的代码变动)",
  43. "title": "Code Refactoring",
  44. "label": "refactor"
  45. },
  46. {
  47. "description": "优化代码,提高性能",
  48. "title": "Performance Improvements",
  49. "label": "perf"
  50. },
  51. {
  52. "description": "添加缺失的测试或修正现有的测试",
  53. "title": "Tests",
  54. "label": "test"
  55. },
  56. {
  57. "description": "更改影响构建系统或外部依赖 (例如'scopes'为: gulp, webpack, npm)",
  58. "title": "Builds",
  59. "label": "build"
  60. },
  61. {
  62. "description": "更改我们的CI配置或脚本 (例如'scopes'为: Travis, Circle, BrowserStack, SauceLabs)",
  63. "title": "Continuous Integrations",
  64. "label": "ci"
  65. },
  66. {
  67. "description": "其他修改,没有改动业务代码等目录的代码",
  68. "title": "Chores",
  69. "label": "chore"
  70. },
  71. {
  72. "description": "回滚到前一个 commit",
  73. "title": "Reverts",
  74. "label": "revert"
  75. }
  76. ]
  77. }