chore: 📌 汉化cz-git工具和gitignore文件更新
This commit is contained in:
74
.czrc
74
.czrc
@@ -1,3 +1,75 @@
|
||||
{
|
||||
"path": "node_modules/cz-git"
|
||||
"$schema": "https://cdn.jsdelivr.net/npm/cz-git@1.12.0/schema/cz-git.json",
|
||||
"path": "node_modules/cz-git",
|
||||
"messages": {
|
||||
"type": "选择你要提交的类型 :",
|
||||
"scope": "选择一个提交范围(可选):",
|
||||
"customScope": "请输入自定义的提交范围 :",
|
||||
"subject": "填写简短精炼的变更描述 :",
|
||||
"body": "填写详细描述(可选)。使用 '|' 换行 :",
|
||||
"breaking": "列出任何突破性变更(可选)。使用 '|' 换行 :",
|
||||
"footerPrefixesSelect": "选择关联issue前缀(可选):",
|
||||
"customFooterPrefix": "输入自定义issue前缀 :",
|
||||
"footer": "填写关联issue (可选) 例如: #123, #456 :",
|
||||
"confirmCommit": "确认提交?"
|
||||
},
|
||||
"types": [
|
||||
{
|
||||
"value": "feat",
|
||||
"name": "feat: 新增功能",
|
||||
"emoji": "✨"
|
||||
},
|
||||
{
|
||||
"value": "fix",
|
||||
"name": "fix: 修复缺陷",
|
||||
"emoji": "🐛"
|
||||
},
|
||||
{
|
||||
"value": "docs",
|
||||
"name": "docs: 文档更新",
|
||||
"emoji": "📝"
|
||||
},
|
||||
{
|
||||
"value": "style",
|
||||
"name": "style: 代码格式",
|
||||
"emoji": "💄"
|
||||
},
|
||||
{
|
||||
"value": "refactor",
|
||||
"name": "refactor: 代码重构",
|
||||
"emoji": "♻️"
|
||||
},
|
||||
{
|
||||
"value": "perf",
|
||||
"name": "perf: 性能优化",
|
||||
"emoji": "⚡️"
|
||||
},
|
||||
{
|
||||
"value": "test",
|
||||
"name": "test: 测试相关",
|
||||
"emoji": "🧪"
|
||||
},
|
||||
{
|
||||
"value": "build",
|
||||
"name": "build: 构建相关",
|
||||
"emoji": "🏗️"
|
||||
},
|
||||
{
|
||||
"value": "ci",
|
||||
"name": "ci: 持续集成",
|
||||
"emoji": "🔧"
|
||||
},
|
||||
{
|
||||
"value": "chore",
|
||||
"name": "chore: 其他修改",
|
||||
"emoji": "📌"
|
||||
},
|
||||
{
|
||||
"value": "revert",
|
||||
"name": "revert: 回退代码",
|
||||
"emoji": "⏪️"
|
||||
}
|
||||
],
|
||||
"useEmoji": true,
|
||||
"emojiAlign": "center"
|
||||
}
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -22,3 +22,6 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# documentation
|
||||
docs
|
||||
|
||||
Reference in New Issue
Block a user