From fe97d90328e65865912000bf20263a800bbdd873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20G=C3=B3mez=20C?= Date: Sat, 13 Apr 2024 20:56:36 -0400 Subject: [PATCH] docs(storybook): update documentation to the latest versions available for pnpm installation --- docs/pages/repo/docs/handbook/tools/storybook.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/repo/docs/handbook/tools/storybook.mdx b/docs/pages/repo/docs/handbook/tools/storybook.mdx index bdf9cee5add0d..02170210d8f24 100644 --- a/docs/pages/repo/docs/handbook/tools/storybook.mdx +++ b/docs/pages/repo/docs/handbook/tools/storybook.mdx @@ -78,7 +78,7 @@ Next, we need to scaffold Storybook: ```shell cd workshop - pnpm dlx sb init --skip-install + pnpm dlx sb init pnpm install --save-dev @storybook/cli # Manually install deps and CLI ``` @@ -157,7 +157,7 @@ And `yarn install` to make sure that your `ui` package is installed in the `work // ... { "dependencies": { - "ui": "workspace:*", + "@repo/ui": "workspace:*", // ... } } @@ -170,7 +170,7 @@ And `pnpm install` one more time to make sure that your `ui` package is installe 3. Replace the `Button` import in the `Button.stories.tsx` so that it comes from your `ui` package: ```jsx filename="apps/workshop/src/stories/Button.stories.tsx" -import { Button } from 'ui' +import { Button } from '@repo/ui/button' ``` ### 4. Align tasks