Skip to content

Commit 082dd8e

Browse files
committed
build: update husky setup (#2427)
Update the husky setup and configuration PR Close #2427
1 parent 54e1f45 commit 082dd8e

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

.husky/commit-msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname $0)/_/husky.sh"
3-
42
yarn ng-dev commit-message pre-commit-validate --file $1 2>/dev/null

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
42
yarn ng-dev format staged;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0-{SCM_HEAD_SHA}",
44
"private": true,
55
"scripts": {
6-
"prepare": "husky install",
6+
"prepare": "husky",
77
"ng-dev": "bash ./tools/local-dev.sh",
88
"lint": "yarn tslint -c tslint.json --project tsconfig.json",
99
"build-env-stamp": "tsx --tsconfig tsconfig.json ./ng-dev/release/stamping/_private_main.ts build-env-stamp",

0 commit comments

Comments
 (0)