From eed20ce1456c30886790c5322c57da2141ac1686 Mon Sep 17 00:00:00 2001 From: april Date: Wed, 14 Jun 2023 17:46:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=99=90=E5=88=B6=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=E4=B8=BApnpm=E5=92=8Cnode=E7=89=88=E6=9C=AC1?= =?UTF-8?q?6+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 3e4a21a9e79c32fc6bea5964a98195dade31f340 --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4bd2b5dc..cbaf4d50 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "version": "2.3.1", "type": "module", "scripts": { + "preinstall": "npx only-allow pnpm", "dev": "vite serve --mode development", "build:prod": "vite build --mode production &&vue-tsc --noEmit", "prepare": "husky install", @@ -101,5 +102,8 @@ }, "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git", "author": "有来开源组织", - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } }