Skip to content

chore(storybook): upgrade to v10.3.5#276

Merged
froggy1014 merged 3 commits into
devfrom
chore/storybook-v10-evan
Apr 30, 2026
Merged

chore(storybook): upgrade to v10.3.5#276
froggy1014 merged 3 commits into
devfrom
chore/storybook-v10-evan

Conversation

@froggy1014

Copy link
Copy Markdown
Contributor

Changes

Storybook를 v8.4.x에서 v10.3.5로 업그레이드합니다.

패키지 변경

  • storybook, @storybook/react, @storybook/react-vite, @storybook/addon-docs → v10.3.5
  • 제거된 패키지 (v9+에서 storybook 코어에 통합):
    • @storybook/addon-essentials, addon-interactions, addon-links, @storybook/blocks
    • @storybook/manager-api, @storybook/theming, @storybook/test
    • 이제 storybook/manager-api, storybook/theming 서브패스로 접근 가능

설정 변경

  • .storybook/main.ts: CLI --static-dirstaticDirs 설정, pnpm MDX shim 경로 문제 해결 (providerImportSource)
  • .storybook/manager.ts: @storybook/*storybook/* 서브패스 import 변경
  • docs/*.mdx: @storybook/addon-docs@storybook/addon-docs/blocks import 변경

pnpm 설정

  • pnpm.onlyBuiltDependencies: [esbuild]로 빌드 스크립트 명시적 허용

Visuals

Storybook v10.3.5 빌드 성공 확인:

◇  Output directory: storybook-static
└  Storybook build completed successfully

Checklist

  • Have you written the functional specifications?
  • Have you written the test code?

Additional Discussion Points

pnpm hoisting: Storybook v10 + pnpm 환경에서 일부 패키지가 중첩 node_modules에서 찾아지지 않는 문제가 있었습니다. 필요한 패키지들(@storybook/*, @radix-ui/*, @vanilla-extract/*, react 등)의 hoisting 설정이 현재 node_modules에 적용되어 있습니다. 새 환경에서 문제 발생 시 .npmrcpublic-hoist-pattern 추가가 필요할 수 있습니다.

froggy1014 added 3 commits May 1, 2026 00:24
- storybook, @storybook/react, @storybook/react-vite, @storybook/addon-docs → v10.3.5
- Remove consolidated packages: addon-essentials, addon-interactions, addon-links, blocks
  (merged into storybook core in v9+)
- Remove @storybook/manager-api, @storybook/theming, @storybook/test
  (now accessible as storybook/manager-api, storybook/theming, storybook/test)
- Update pnpm.onlyBuiltDependencies to allow esbuild build scripts
- main.ts: use staticDirs instead of CLI --static-dir flag
  add providerImportSource for pnpm MDX shim path resolution
  update addons array (essentials/interactions/links now in core)
- manager.ts: update imports from @storybook/* to storybook/* subpaths
  (manager-api and theming consolidated into storybook package)
In v10, Meta and other block components moved from @storybook/addon-docs
root export to @storybook/addon-docs/blocks subpath.
@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • release/v1

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0d23cbf6-2eeb-4a19-a328-42be7d1cfc25

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/storybook-v10-evan

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@changeset-bot

changeset-bot Bot commented Apr 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3a1edaf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov

codecov Bot commented Apr 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Yeom-JinHo Yeom-JinHo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@froggy1014 froggy1014 merged commit f9ec672 into dev Apr 30, 2026
5 checks passed
@froggy1014 froggy1014 deleted the chore/storybook-v10-evan branch April 30, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants