From 15370fd1c75a02d36b5c60a46573e3930b6d45e0 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Thu, 5 Oct 2023 08:54:32 -0400 Subject: [PATCH 1/3] Add instructions for installing yarn --- docs/contribute/code.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/contribute/code.md b/docs/contribute/code.md index e0317f634c8..9b91bd64cb9 100644 --- a/docs/contribute/code.md +++ b/docs/contribute/code.md @@ -17,6 +17,12 @@ Start by [forking](https://docs.github.com/en/github/getting-started-with-github git clone https://github.com/your-username/storybook.git ``` +Storybook uses the [yarn](https://v3.yarnpkg.com/) package manager. Use [corepack](https://github.com/nodejs/corepack) to set up the correct version for use with Storybook. + +```shell +corepack enable +``` + ## Run your first sandbox Storybook development happens in a set of _sandboxes_ which are templated Storybook environments corresponding to different user setups. Within each sandbox, we inject a set of generalized stories that allow us to test core features and addons in all such environments. From 806ea52995e1fe2e637fdfad9b1c7a11ff0d90b4 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Thu, 5 Oct 2023 08:54:52 -0400 Subject: [PATCH 2/3] Add step to cd into storybook directory --- docs/contribute/code.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/contribute/code.md b/docs/contribute/code.md index 9b91bd64cb9..fbc3dda0295 100644 --- a/docs/contribute/code.md +++ b/docs/contribute/code.md @@ -15,6 +15,7 @@ Start by [forking](https://docs.github.com/en/github/getting-started-with-github ```shell git clone https://github.com/your-username/storybook.git +cd storybook ``` Storybook uses the [yarn](https://v3.yarnpkg.com/) package manager. Use [corepack](https://github.com/nodejs/corepack) to set up the correct version for use with Storybook. From e03993cc990811a54f54fa79ce5fc967f4f818ab Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Mon, 9 Oct 2023 19:22:38 +0100 Subject: [PATCH 3/3] Fix capitalization --- docs/contribute/code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contribute/code.md b/docs/contribute/code.md index fbc3dda0295..21337442dd2 100644 --- a/docs/contribute/code.md +++ b/docs/contribute/code.md @@ -18,7 +18,7 @@ git clone https://github.com/your-username/storybook.git cd storybook ``` -Storybook uses the [yarn](https://v3.yarnpkg.com/) package manager. Use [corepack](https://github.com/nodejs/corepack) to set up the correct version for use with Storybook. +Storybook uses the [yarn](https://v3.yarnpkg.com/) package manager. Use [Corepack](https://github.com/nodejs/corepack) to set up the correct version for use with Storybook. ```shell corepack enable