From 268b4179dece5a39241ba1036aa27e43bcc3aee7 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Thu, 10 Feb 2022 01:09:45 +0200 Subject: [PATCH] Install the self-contained binary version of pnpm This is a breaking change because the binary version of pnpm is only available from v6.17.1 close #18 --- dist/index.js | Bin 568900 -> 568915 bytes src/install-pnpm/run.ts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 769b1244fa4a79f157e9fc61ad07805e785a4a40..2b41a3d65c38b870f4308862ecdee82660d61274 100644 GIT binary patch delta 96 zcmX?dN9pn%r48S?r5p { const { version, dest } = inputs - const target = version ? `pnpm@${version}` : 'pnpm' + const target = version ? `@pnpm/exe@${version}` : '@pnpm/exe' const pkgJson = path.join(dest, 'package.json') await remove(dest) @@ -20,7 +20,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise { stdio: ['pipe', 'inherit', 'inherit'], }) - const response = await fetch('https://pnpm.io/pnpm.js') + const response = await fetch('https://get.pnpm.io/v6.16.js') response.body.pipe(cp.stdin) const exitCode = await new Promise((resolve, reject) => {