From c496f00caff033ae0003e311ea6adc2f5db7b7b5 Mon Sep 17 00:00:00 2001 From: Kagol Date: Fri, 29 Mar 2024 18:11:16 +0800 Subject: [PATCH] chore: add node version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3c0ba1e59a7..f6162ae974e 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "pnpm": ">=6.35" }, "scripts": { - "preinstall": "npx only-allow pnpm", + "preinstall": "node -v && pnpm -v && npx only-allow pnpm", "postinstall": "pnpm build:internals", "prepare": "husky install", "bootstrap": "pnpm --filter=\"!./packages/dist/**\" install",