vue2server7 7.0.56 → 7.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2server7",
3
- "version": "7.0.56",
3
+ "version": "7.0.58",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "nodemon --watch src --ext ts --exec \"ts-node src/app.ts\"",
package/test/2.txt CHANGED
@@ -1,24 +1,21 @@
1
- 请根据以下 git diff 内容,生成符合 Conventional Commits 规范的 commit message:
1
+ 根据 git diff 生成 commit message:
2
+
3
+ 识别以下场景:
4
+ - 新增组件(.vue) → feat(component-xxx)
5
+ - 修改页面(views) → feat(page-xxx)
6
+ - 修改 Pinia → feat(store) / refactor(store)
7
+ - 修改接口请求 → feat(api) / fix(api)
8
+ - 修改 hooks / composables → refactor(composable)
9
+ - 修改样式 → style
10
+ - 修复报错 → fix
2
11
 
3
12
  要求:
4
- 1. 格式:type(scope): subject
5
- 2. type 必须从以下选择:
6
- - feat: 新功能
7
- - fix: 修复问题
8
- - docs: 文档变更
9
- - style: 代码格式(不影响功能)
10
- - refactor: 重构(既不是新增功能也不是修复bug)
11
- - perf: 性能优化
12
- - test: 测试相关
13
- - chore: 构建/依赖/工具
14
- 3. subject:
15
- - 使用英文
16
- - 小写开头
17
- - 不超过 50 个字符
18
- - 不加句号
19
- 4. 可选 body:
20
- - 描述做了什么改动
21
- - 每行不超过 72 字符
22
- 5. 根据修改内容自动判断 type 和 scope(如 user、auth、api、ui 等)
13
+ - 使用 Conventional Commits
14
+ - subject 使用动词开头(add / fix / update / remove / optimize)
15
+ - 简洁明确,不超过 50 字
16
+
17
+ 输出格式:
18
+ type(scope): subject
23
19
 
24
- 只输出 commit message,不要解释。
20
+ 可选:
21
+ - 改动说明(列表)