Skip to content

Conversation

@hyoseong1994
Copy link

@hyoseong1994 hyoseong1994 commented Jan 14, 2026

Summary

Upgrades Storybook from 8.6.12 to 9.0.0 as requested in issue #239.

Changes

  • Updated all @storybook/* packages to 9.0.0
  • Updated @chromatic-com/storybook to 3.2.2
  • Updated @storybook/test-runner to 0.21.0
  • No configuration changes required - existing configs are compatible

  • @storybook/addon-queryparams가 더 이상 업데이트되지 않아서 decorator로 변경
  • 스토리북에서 ts 검증이 엄격하게 변경되었기 때문에 tsconfig.node.json에 추가
  • 각 스토리의 아폴로가 캐시하여 스토리를 변경하더라도 동일한 API 결과를 사용하는 문제가 있어 apollo cache clear 추가
  • 로컬 스토리지북을 타겟으로 스토리지북 테스트 수정

issue

유효한 URL임에도 불구하고 "Are you sure it's running?" 오류가 발생

image

302 로그인 페이지로 리디렉션

image

storybook-test.yml 에서
storybook build -> 로컬 serve -> 로컬 타켓 테스트
로 변경하였습니다.

Closes #239


Generated with Claude Code

github-actions bot and others added 3 commits October 19, 2025 18:40
- Updated all @storybook/* packages to 9.0.0
- Updated @chromatic-com/storybook to 3.2.2
- Updated @storybook/test-runner to 0.21.0
- No configuration changes required - existing configs are compatible

Co-authored-by: Dale Seo <[email protected]>
@hyoseong1994 hyoseong1994 changed the title Sb mig Upgrade Storybook to v10 Jan 14, 2026
Copy link
Member

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

storybook-test.yml 에서
storybook build -> 로컬 serve -> 로컬 타켓 테스트
로 변경하였습니다.

조치는 이해가 되는데 이슈가 왜 발생하는지 잘 이해가 안 되는데 원인 분석을 해보셨을까요? 혹시 현재 이번달 Chromatic 무료 사용량을 다 소진해서 그런 걸까요?

Comment on lines +64 to +65
"@storybook/addon-docs": "^10.1.11",
"@storybook/test-runner": "^0.24.2"
Copy link
Member

Choose a reason for hiding this comment

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

혹시 package.json을 직접 수정하셨나요? 알파벳 순으로 정렬이 되어 있지 않아서요.

env:
TARGET_URL: "${{ github.event.deployment_status.environment_url }}"
- run: bun run build-storybook
- run: yes | bunx serve storybook-static -l 6006 &
Copy link
Member

Choose a reason for hiding this comment

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

yes가 왜 필요한 거에요?


const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
Copy link
Member

Choose a reason for hiding this comment

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

현재 mdx 스토리가 없더라도 "../src/**/*.mdx"를 제거하시면 안 될 것 같습니다. 나중에 mdx 스토리를 추가했을 때 왜 안 되는지 영문을 모를 것 같아요.

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.

스토리북 업그레이드

3 participants