Skip to content

feat(create-rsbuild): add storybook as optional tool#6698

Merged
chenjiahan merged 2 commits intomainfrom
add_storybook_tool_1204
Dec 4, 2025
Merged

feat(create-rsbuild): add storybook as optional tool#6698
chenjiahan merged 2 commits intomainfrom
add_storybook_tool_1204

Conversation

@chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Dec 4, 2025

Summary

  • Add Storybook as an additional optional tool for component development
  • Update documentation to reflect the new tool option
  • Bump create-rstack dependency to 1.7.13

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings December 4, 2025 06:58
@netlify
Copy link

netlify bot commented Dec 4, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit a51c45f
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/693135dc3ea11700085f82f2
😎 Deploy Preview https://deploy-preview-6698--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 66 (🔴 down 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Storybook as an optional tool in the create-rsbuild CLI, allowing users to set up Storybook for component development during project initialization.

  • Adds Storybook to the list of optional tools alongside Biome, ESLint, and Prettier
  • Updates English and Chinese documentation to reflect the new tool option
  • Bumps create-rstack dependency to version 1.7.12 which supports the extraTools feature

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/create-rsbuild/src/index.ts Adds extraTools configuration with Storybook option that runs npm create storybook@latest with appropriate flags
packages/create-rsbuild/package.json Updates create-rstack dependency from 1.7.11 to 1.7.12
pnpm-lock.yaml Updates lockfile to reflect the new create-rstack version and integrity hash
website/docs/en/guide/start/quick-start.mdx Updates English documentation to include Storybook in the list of optional tools and adds it to the CLI example output
website/docs/zh/guide/start/quick-start.mdx Updates Chinese documentation to include Storybook in the list of optional tools and adds it to the CLI example output
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit 7f28699 into main Dec 4, 2025
12 checks passed
@chenjiahan chenjiahan deleted the add_storybook_tool_1204 branch December 4, 2025 07:29
This was referenced Dec 4, 2025
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.

1 participant