-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from Night-stars-1:dev
Dev
- Loading branch information
Showing
8 changed files
with
147 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"$schema": "https://bendera.github.io/vscode-commit-message-editor/schemas/config-v1.schema.json", | ||
"configVersion": "1", | ||
"staticTemplate": [ | ||
"feat: 简短描述", | ||
"", | ||
"消息正文", | ||
"", | ||
"消息页脚" | ||
], | ||
"dynamicTemplate": [ | ||
"{type}{scope}: {description}", | ||
"", | ||
"{body}", | ||
"", | ||
"{breaking_change}{footer}" | ||
], | ||
"tokens": [ | ||
{ | ||
"label": "类型", | ||
"name": "type", | ||
"type": "enum", | ||
"options": [ | ||
{ | ||
"label": "---", | ||
"value": "" | ||
}, | ||
{ | ||
"label": "build", | ||
"description": "影响构建系统或外部依赖的更改(示例范围:gulp, broccoli, npm)" | ||
}, | ||
{ | ||
"label": "chore", | ||
"description": "更新grunt任务等;没有生产代码变更" | ||
}, | ||
{ | ||
"label": "ci", | ||
"description": "对CI配置文件和脚本的更改(示例范围:Travis, Circle, BrowserStack, SauceLabs)" | ||
}, | ||
{ | ||
"label": "docs", | ||
"description": "仅文档更改" | ||
}, | ||
{ | ||
"label": "feat", | ||
"description": "新功能" | ||
}, | ||
{ | ||
"label": "fix", | ||
"description": "修复错误" | ||
}, | ||
{ | ||
"label": "perf", | ||
"description": "提高性能的代码更改" | ||
}, | ||
{ | ||
"label": "refactor", | ||
"description": "既不修复错误也不添加功能的代码更改" | ||
}, | ||
{ | ||
"label": "revert" | ||
}, | ||
{ | ||
"label": "style", | ||
"description": "不影响代码含义的更改(空格、格式、缺少分号等)" | ||
}, | ||
{ | ||
"label": "test", | ||
"description": "添加缺失的测试或更正现有的测试" | ||
} | ||
], | ||
"description": "更改类型" | ||
}, | ||
{ | ||
"label": "范围", | ||
"name": "scope", | ||
"description": "一个范围可以为提交类型提供额外的上下文信息,并包含在括号内,例如,“feat(parser): 添加解析数组的功能”。", | ||
"type": "text", | ||
"multiline": false, | ||
"prefix": "(", | ||
"suffix": ")" | ||
}, | ||
{ | ||
"label": "简短描述", | ||
"name": "description", | ||
"description": "主题行中的简短描述。", | ||
"type": "text", | ||
"multiline": false | ||
}, | ||
{ | ||
"label": "正文", | ||
"name": "body", | ||
"description": "可选正文", | ||
"type": "text", | ||
"multiline": true, | ||
"lines": 5, | ||
"maxLines": 10 | ||
}, | ||
{ | ||
"label": "重大变更", | ||
"name": "breaking_change", | ||
"type": "boolean", | ||
"value": "重大变更:", | ||
"default": false | ||
}, | ||
{ | ||
"label": "页脚", | ||
"name": "footer", | ||
"description": "可选页脚", | ||
"type": "text", | ||
"multiline": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters