Skip to content

Commit faf25b3

Browse files
committed
fix(release): fix hanging commit
Disable prepare-commit-msg hook to avoid `standard-version` to hang. Waiting for this issue to be closed typicode/husky#487.
1 parent 90e7b0d commit faf25b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
### Installing in an Already Created Project
4848

4949
```bash
50-
vue add @dnlup/unit-ava
50+
$ vue add @dnlup/unit-ava
5151
```
5252

5353
#### Prompts
@@ -64,9 +64,9 @@ Will add support for a specific UI Framework. It currently supports only the lat
6464
* Make your changes
6565
* Add them
6666
```bash
67-
git add <your files>
67+
$ git add <your files>
6868
```
6969
* Commit (uses [commitizen](https://github.com/commitizen/cz-cli))
7070
```bash
71-
git commit
71+
$ npm run cz
7272
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"test": "ava",
88
"lint": "eslint ./ --fix",
9+
"cz": "git-cz",
910
"release": "standard-version"
1011
},
1112
"keywords": [
@@ -69,7 +70,6 @@
6970
},
7071
"husky": {
7172
"hooks": {
72-
"prepare-commit-msg": "exec < /dev/tty && git cz --hook",
7373
"pre-commit": "lint-staged"
7474
}
7575
},

0 commit comments

Comments
 (0)