From 8f8b2ea02dbcbd87afcc5426f59969f87ea42c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Thu, 20 Jun 2024 10:02:53 +0800 Subject: [PATCH] =?UTF-8?q?build(package.json):=20preinstall=20=E9=99=90?= =?UTF-8?q?=E5=88=B6=E5=8F=AA=E8=83=BD=E7=94=A8=20pnpm=20=E5=8C=85?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=99=A8=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index cfa1f5a..e818506 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "pnpm": ">=7.30" }, "scripts": { + "preinstall": "npx only-allow pnpm", "uvm": "npx @dcloudio/uvm@latest", "uvm-rm": "node ./scripts/postupgrade.js", "postuvm": "echo upgrade uni-app success!",