From 874b613d85ed88048b27fec488971071e3fde553 Mon Sep 17 00:00:00 2001 From: Stev_Wang <304865932@qq.com> Date: Fri, 12 Dec 2025 00:17:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=93=8C=20=E6=B1=89=E5=8C=96cz-gi?= =?UTF-8?q?t=E5=B7=A5=E5=85=B7=E5=92=8Cgitignore=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .czrc | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++- .gitignore | 3 +++ 2 files changed, 76 insertions(+), 1 deletion(-) diff --git a/.czrc b/.czrc index 8099819..33f51da 100644 --- a/.czrc +++ b/.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" } \ No newline at end of file diff --git a/.gitignore b/.gitignore index a547bf3..fa398bd 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ dist-ssr *.njsproj *.sln *.sw? + +# documentation +docs