diff --git a/.husky/commit-msg b/.husky/commit-msg index db13bbb..a521947 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,12 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -# 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 diff --git a/.husky/pre-commit b/.husky/pre-commit index 03adbc9..0599206 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,12 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -# 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 pre-commit hook npx --no-install -- lint-staged diff --git a/package.json b/package.json index d495d65..2e3305c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.4.3", + "version": "2.5.0", "description": "unibest - 最好的 uniapp 开发模板", "author": { "name": "feige996",