diff --git a/.husky/commit-msg b/.husky/commit-msg index c1c960021..b5d407b75 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,7 +1,4 @@ #!/bin/sh -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - "$(dirname "$0")/commit-msg.gerrit" "$@" "$(dirname "$0")/commit-msg.commitlint" "$@" diff --git a/.husky/pre-commit b/.husky/pre-commit index afcb1f6db..f438ddbea 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,3 @@ #!/bin/sh -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - "$(dirname "$0")/pre-commit.copyright" "$@" diff --git a/package-lock.json b/package-lock.json index 7753a380b..e60c44e44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "trusted-firmware-a", "version": "2.10.0", - "hasInstallScript": true, "license": "BSD-3-Clause", "devDependencies": { "@commitlint/cli": "^19.0.0", diff --git a/package.json b/package.json index 43c897e55..7ad5c58f7 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "private": true, "scripts": { - "postinstall": "husky install", + "prepare": "husky", "release": "standard-version" }, "engines": {