From 36fabc6f2d820ef29b35bb83eb8e6b09ca913be2 Mon Sep 17 00:00:00 2001 From: "C.Y.Kun" <30518686+undefined-degisn@users.noreply.github.com> Date: Fri, 12 Nov 2021 17:35:09 +0800 Subject: [PATCH] chore(ci): only-allow use pnpm install deps (#4368) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 922d03b270..2aab5c93e3 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "docs:gen-locale": "pnpm run -C docs gen-locale", "docs:crowdin-credentials": "pnpm run -C docs crowdin-credentials", "prepare": "husky install", - "postinstall": "pnpm gen:version" + "postinstall": "pnpm gen:version", + "preinstall": "npx only-allow pnpm -y" }, "config": { "commitizen": {