feat: 前端:玩家服务平台和运营管理系统后台初始化及框架搭建,后端:完成基础功能搭建。

This commit is contained in:
Stev_Wang
2025-12-27 20:17:20 +08:00
parent 99740da922
commit 2d8566132e
60 changed files with 2330 additions and 5 deletions

107
.cz-config.js Normal file
View File

@@ -0,0 +1,107 @@
module.exports = {
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",
themeColorCode: "",
scopes: [],
allowCustomScopes: true,
allowEmptyScopes: true,
customScopesAlign: "bottom",
customScopesAlias: "custom",
emptyScopesAlias: "empty",
upperCaseSubject: false,
allowBreakingChanges: ["feat", "fix"],
breaklineNumber: 100,
breaklineChar: "|",
skipQuestions: [],
issuePrefixes: [
{
value: "#",
name: "#: 关联issue"
}
],
customIssuePrefixAlign: "top",
emptyIssuePrefixAlias: "skip",
allowCustomIssuePrefix: true,
allowEmptyIssuePrefix: true,
confirmColorize: true,
maxHeaderLength: 100,
maxSubjectLength: 100,
minSubjectLength: 0,
scopeOverrides: {
feat: [],
fix: []
},
defaultBody: "",
defaultIssues: "",
defaultScope: "",
defaultType: ""
};