From 22c69da0c30a271908fe2188bca06e5f017525d8 Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Mon, 2 Dec 2024 13:23:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=E4=B8=BApnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cdd288c..6ba96da 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"", "fix": "eslint src --fix", "prepare": "husky install", - "lint-staged": "lint-staged" + "lint-staged": "lint-staged", + "preinstall": "npx only-allow pnpm" }, "lint-staged": { "src/**/*.{ts,vue}": [