1 Star 0 Fork 0

cps-cli-template/node

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.cz-config.js 2.05 KB
一键复制 编辑 原始数据 按行查看 历史
capsion 提交于 2023-02-24 10:36 +08:00 . ✨新增(custom): git cz追加
/*!
* @Author: CPS
* @email: 373704015@qq.com
* @Date: 2023-02-11 09:16:43.809037
* @Last Modified by: CPS
* @Last Modified time: 2023-02-11 09:16:43.809037
* @Projectname
* @file_path "D:\CPS\IDE\JS_SublmieText\Data\Packages\cps-fileheader"
* @Filename "main.py"
* @Description: git cz 自定义配置文件
*/
'use strict';
module.exports = {
types: [
{ value: '✨新增', name: '新增: 新的内容' },
{ value: '🐛修复', name: '修复: 修复一个Bug' },
{ value: '📝文档', name: '文档: 变更的只有文档' },
{ value: '💄格式', name: '格式: 空格, 分号等格式修复' },
{ value: '♻️重构', name: '重构: 代码重构,注意和特性、修复区分开' },
{ value: '⚡️性能', name: '性能: 提升性能' },
{ value: '✅测试', name: '测试: 添加一个测试' },
{ value: '🔧工具', name: '工具: 开发工具变动(构建、脚手架工具等)' },
{ value: '⏪回滚', name: '回滚: 代码回退' },
],
// scopes: [
// { name: 'leetcode' },
// { name: 'javascript' },
// { name: 'typescript' },
// { name: 'Vue' },
// { name: 'node' },
// ],
// it needs to match the value for field type. Eg.: 'fix'
/* scopeOverrides: {
fix: [
{name: 'merge'},
{name: 'style'},
{name: 'e2eTest'},
{name: 'unitTest'}
]
}, */
// override the messages, defaults are as follows
messages: {
type: '选择一种你的提交类型:',
scope: '选择一个scope (可选):',
// used if allowCustomScopes is true
customScope: 'Denote the SCOPE of this change:',
subject: '短说明:\n',
body: '长说明,使用"|"换行(可选):\n',
breaking: '非兼容性说明 (可选):\n',
footer: '关联关闭的issue,例如:#31, #34(可选):\n',
confirmCommit: '确定提交说明?(yes/no)',
},
allowCustomScopes: false,
allowBreakingChanges: ['特性', '修复'],
// limit subject length
subjectLimit: 100,
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/cps-cli-template/node.git
git@gitee.com:cps-cli-template/node.git
cps-cli-template
node
node
master

搜索帮助