瀏覽代碼

chore: update

xiaoxian521 3 年之前
父節點
當前提交
91fe227e8c
共有 2 個文件被更改,包括 1 次插入6 次删除
  1. 1 1
      .husky/common.sh
  2. 0 5
      package.json

+ 1 - 1
.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

+ 0 - 5
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",