Skip to content

Commit 615d9c0

Browse files
committed
feat: update template
1 parent f284f27 commit 615d9c0

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed
Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
export default {
22
extends: ['@commitlint/config-conventional'],
33
rules: {
4-
// type 类型定义,表示 git 提交的 type 必须在以下类型范围内
54
'type-enum': [
65
2,
76
'always',
87
[
9-
'feat', // 新功能
10-
'fix', // 修复
11-
'docs', // 文档变更
12-
'style', // 代码格式
13-
'refactor', // 重构
14-
'perf', // 性能优化
15-
'test', // 增加测试
16-
'build', // 构建
17-
'ci', // CI配置
18-
'chore', // 构建过程或辅助工具的变动
19-
'revert', // 回退
20-
'build', // 打包
21-
'release', // 发版
8+
'feat',
9+
'fix',
10+
'docs',
11+
'style',
12+
'refactor',
13+
'perf',
14+
'test',
15+
'build',
16+
'ci',
17+
'chore',
18+
'revert',
19+
'build',
20+
'release',
2221
],
2322
],
24-
// subject 大小写不做校验
2523
'subject-case': [0],
2624
},
2725
}

packages/create-mcp-kit/template/standard-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"concurrently": "^9.2.0",
5252
"conventional-changelog-angular": "^8.0.0",
5353
"conventional-changelog-cli": "^5.0.0",
54-
"cross-env": "^7.0.3",
54+
"cross-env": "^10.0.0",
5555
"esbuild": "^0.25.8",
5656
"eslint": "^9.32.0",
5757
"eslint-plugin-import": "^2.32.0",

0 commit comments

Comments
 (0)