Improve commands to run storybook
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary
Improve the commands in the root package.json to not default to opening 4 instances of storybook.
## 💬 Description
Since the addition of the canary packages, doing a `npm run storybook` in the root folder results in 4 storybook instances being run. This is a big drain on system resources and arguably not particularly useful.
Possibly there could be 2 commands:
1 to run the web-components & react versions
1 to run the canary versions
Open to other ideas on how to resolve
After making these changes, the contributing.md file should be reviewed to ensure the instructions there are still correct
Contributor guide
Research direction
Start with the root package.json scripts that run Storybook and compare them with the current contributing.md instructions. Define separate or otherwise clearer commands so the default does not launch four instances, then verify the documented commands and expected web-components, React, and canary workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, storybook, typescript
- Domain
- documentation, frontend, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100