Skip to content

Commit

Permalink
build: update husky setup (#2427)
Browse files Browse the repository at this point in the history
Update the husky setup and configuration

PR Close #2427
  • Loading branch information
josephperrott committed Nov 7, 2024
1 parent 54e1f45 commit 082dd8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

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

yarn ng-dev format staged;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0-{SCM_HEAD_SHA}",
"private": true,
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"ng-dev": "bash ./tools/local-dev.sh",
"lint": "yarn tslint -c tslint.json --project tsconfig.json",
"build-env-stamp": "tsx --tsconfig tsconfig.json ./ng-dev/release/stamping/_private_main.ts build-env-stamp",
Expand Down

0 comments on commit 082dd8e

Please sign in to comment.