From 2a0117b7f1177069c10ff27e30d8f02212a170ab Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 7 Aug 2024 08:34:52 +0300 Subject: [PATCH] install: attempt to make pnpm consistent with package.json packageManager whether or not corepack is present --- install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install b/install index 11d9a2fa..feac6b50 100755 --- a/install +++ b/install @@ -64,6 +64,9 @@ fi if hash corepack 2> /dev/null; then corepack enable --install-directory ~/.local/bin/ corepack enable npm --install-directory ~/.local/bin/ + corepack pnpm config set manage-package-manager-versions=true +elif hash pnpm 2> /dev/null; then + pnpm config set manage-package-manager-versions=true else echo "WARNING! corepack is not installed." sleep 3