From 7d5a9d50d140cf43ccabbfb3c6e35599e37870f5 Mon Sep 17 00:00:00 2001 From: Burt Date: Sun, 10 Nov 2024 22:50:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?build:=20=E5=85=B6=E4=BB=96=E4=BA=BA?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E5=AE=9A=E7=94=A8=20nvm=20,=E6=89=80?= =?UTF-8?q?=E4=BB=A5=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/commit-msg | 7 ------- .husky/pre-commit | 7 ------- 2 files changed, 14 deletions(-) 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 From 2a817a6221e0b2560ae879077f45d576331dc5e6 Mon Sep 17 00:00:00 2001 From: Burt Date: Sun, 10 Nov 2024 22:51:25 +0800 Subject: [PATCH 2/2] build: version 2.5.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b39ed60..dce3729 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",