mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
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
This commit is contained in:
parent
603da6cf7d
commit
70a9e93229
@ -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 });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user