From 70a9e93229debe7981c067c845fd5645860b53a3 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Fri, 24 Feb 2023 12:43:23 +1100 Subject: [PATCH] Only skip yarn setup for PNP This was breaking the vue-cli templates and seems to be purely for pnp purposes: https://github.com/storybookjs/storybook/pull/21046/files#diff-76aad599d2311ab4fec53db693f2e85d4cb7f798cc37357dfe7839997caef2ba --- scripts/sandbox-generators/generate-sandboxes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sandbox-generators/generate-sandboxes.ts b/scripts/sandbox-generators/generate-sandboxes.ts index 37d63c941c9..a684e7c7d02 100755 --- a/scripts/sandbox-generators/generate-sandboxes.ts +++ b/scripts/sandbox-generators/generate-sandboxes.ts @@ -142,7 +142,7 @@ const runGenerators = async ( // We do the creation inside a temp dir to avoid yarn container problems const createBaseDir = directory(); - if (!script.includes('yarn')) { + if (!script.includes('pnp')) { await setupYarn({ cwd: createBaseDir }); }