diff --git a/.husky/common.sh b/.husky/common.sh index 5f0540b7c..9d5129bd7 100644 --- a/.husky/common.sh +++ b/.husky/common.sh @@ -3,7 +3,7 @@ command_exists () { command -v "$1" >/dev/null 2>&1 } -# Workaround for Windows 10, Git Bash and Pnpm +# Workaround for Windows 10, Git Bash and Yarn if command_exists winpty && test -t 1; then exec < /dev/tty fi diff --git a/package.json b/package.json index 0a5d6b740..149b36669 100644 --- a/package.json +++ b/package.json @@ -2,17 +2,12 @@ "name": "vue-pure-admin", "version": "2.1.0", "private": true, - "packageManager": "pnpm@6.20.1", "workspaces": [ "build/**", "mock/**", "src/**", "types/**" ], - "engines": { - "node": ">= 16", - "pnpm": ">= 6" - }, "scripts": { "dev": "cross-env --max_old_space_size=4096 vite", "serve": "pnpm dev",