提交 43bb413e authored 作者: hejie's avatar hejie

ci: 🎡 修改提交配置文件

上级 5297e32a
......@@ -10,35 +10,35 @@ module.exports = {
2,
"always",
[
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert",
"wip",
"workflow",
"types",
"release"
"feat", //新功能
"fix", //修复错误
"docs", //文档更新
"style", //代码风格 格式化代码、删除多余空格、添加注释等,不影响代码逻辑
"refactor", //代码重构 优化代码结构、重命名变量、简化逻辑等,不添加新功能或修复错误
"perf", //性能优化 提高代码性能(如减少内存占用、提高响应速度等)
"test", //测试代码更改 添加或更新测试用例、修复测试代码、更新测试框架
"build", //构建系统更改 更新项目的构建系统(如 Webpack、Vite、Babel 配置等)
"ci", //持续集成更改 更新 CI 配置文件(如 `.github/workflows`、`.gitlab-ci.yml` 等)或脚本
"chore", //项目维护 进行不属于上述类型的维护性更改,如更新依赖项、清理项目文件等
"revert", //撤销提交 撤销之前的提交
"wip", //工作进行中 表示正在进行的工作,通常用于未完成的功能开发
"workflow", //工作流程改进 优化项目的开发流程、工具链或工作方式
"types", //类型定义文件更改 更新项目的类型定义文件(如 TypeScript 的 `.d.ts` 文件)
"release" //发布相关进行版本发布或更新版本号
]
]
},
prompt: {
messages: {
type: "Select the type of change that you're committing:",
scope: "Denote the SCOPE of this change (optional):",
type: "Select the type of change that you're committing:", //选择提交类型(如 feat、fix 等)。
scope: "Denote the SCOPE of this change (optional):", //填写提交范围,模块、组件、文件名、功能区域等(可选)。
customScope: "Denote the SCOPE of this change:",
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n",
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
breaking:
'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
footerPrefixsSelect:
"Select the ISSUES type of changeList by this change (optional):",
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n", //填写简短描述(必填)。
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n', //填写详细描述(可选)。
// breaking:
// 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
// footerPrefixsSelect:
// "Select the ISSUES type of changeList by this change (optional):",
customFooterPrefixs: "Input ISSUES prefix:",
footer: "List any ISSUES by this change. E.g.: #31, #34:\n",
confirmCommit: "Are you sure you want to proceed with the commit above?"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论