feat: readme

This commit is contained in:
Burt
2024-11-10 22:31:37 +08:00
parent 2e98f7cebe
commit 9d7fcd4d91
3 changed files with 25 additions and 1 deletions

View File

@@ -1,4 +1,12 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no-install commitlint --edit
# Load nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Use the correct Node.js version
nvm use v20.15.1
# Run the commit-msg hook
npx --no-install commitlint --edit