storybookjs / bench

Storybook benchmark
MIT License
15 stars 4 forks source link

Add support of Yarn 2+ #3

Closed gaetanmaisse closed 3 years ago

gaetanmaisse commented 3 years ago

Yarn 2 doesn't support the -W option when running yarn add. So I added a check to know if we are using Yarn 1 or 2 and update the command accordingly.

Related to https://github.com/storybookjs/storybook/pull/13559

shilman commented 2 years ago

:rocket: PR was released in v0.7.0 :rocket: