Skip to content

Commit 93b9a79

Browse files
committed
feat: 测试 npm run commit 提交信息
1 parent 94a2d38 commit 93b9a79

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "vue-cli-service build",
88
"lint": "vue-cli-service lint",
99
"prettier": "prettier --write .",
10-
"prepare": "husky install"
10+
"prepare": "husky install",
11+
"commit": "cz"
1112
},
1213
"dependencies": {
1314
"@commitlint/cli": "^18.4.4",
@@ -40,4 +41,4 @@
4041
"path": "./node_modules/cz-conventional-changelog"
4142
}
4243
}
43-
}
44+
}

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<img alt="Vue logo" src="./assets/logo.png" />
3-
<HelloWorld msg="hello vue ts!!" />
3+
<HelloWorld msg="hello vue+ts" />
44
</template>
55

66
<script lang="ts">

0 commit comments

Comments
 (0)