Skip to content

chore: add storybook serve script to run it from root folder #1484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 30, 2023
Merged

chore: add storybook serve script to run it from root folder #1484

merged 5 commits into from
Jul 30, 2023

Conversation

OlkaB
Copy link
Contributor

@OlkaB OlkaB commented Jul 19, 2023

## What did you do?
Added script that enables running Storybook from root folder

## Why did you do it?
For a convenience

How have you tested it?

By using it

Were docs updated if needed?

  • Yes

@davidnixon
Copy link
Contributor

I'm really sorry. I broke this when I merged the conflict that I created in package.json with CI updates.
I did this

"serve:storybook": "yarn --cwd storybook storybook"

But that does not work. Can you put it back almost the way you had it originally.

"serve:storybook": "cd ./storybook && yarn run serve"

sorry! :-(

Copy link
Contributor

@davidnixon davidnixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured out I could fix my own mistake. :-)

@davidnixon davidnixon merged commit c55fe31 into carbon-design-system:vNext Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants