feat: 1
CI / build (20.15.1) (push) Successful in 14m4s

This commit is contained in:
2026-01-05 03:04:09 -08:00
parent e3aa52af01
commit 56a955ae81
4 changed files with 46 additions and 16 deletions
+2 -8
View File
@@ -35,16 +35,10 @@ else
fi
# Set up pre-commit hook
setup_husky_hook "pre-commit" "#!/bin/sh
. \"\$(dirname \"\$0\")/_/husky.sh\"
npx --no-install lint-staged"
setup_husky_hook "pre-commit" "npx --no-install lint-staged"
# Set up commit-msg hook
setup_husky_hook "commit-msg" "#!/bin/sh
. \"\$(dirname \"\$0\")/_/husky.sh\"
npx --no-install commitlint --edit \"\$1\""
setup_husky_hook "commit-msg" "npx --no-install commitlint --edit \"\$1\""
# Function to globally install an npm package if not installed
install_global_package() {