vue2server7 7.0.55 → 7.0.57

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2server7",
3
- "version": "7.0.55",
3
+ "version": "7.0.57",
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,14 +1,21 @@
1
- const getSummaries = ({ columns }: any) => {
2
- return columns.map((col: any, index: number) => {
3
- if (index === 0) return '合计'
1
+ 根据 git diff 生成 commit message:
4
2
 
5
- const value = summaryRow.value[col.property]
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
6
11
 
7
- // 👉 指定字段做千分位
8
- if (['price', 'amount'].includes(col.property)) {
9
- return formatNumber(Number(value))
10
- }
12
+ 要求:
13
+ - 使用 Conventional Commits
14
+ - subject 使用动词开头(add / fix / update / remove / optimize)
15
+ - 简洁明确,不超过 50 字
11
16
 
12
- return value ?? ''
13
- })
14
- }
17
+ 输出格式:
18
+ type(scope): subject
19
+
20
+ 可选:
21
+ - 改动说明(列表)
Binary file