Skip to content

chore(deps-dev): bump storybook from 9.1.1 to 10.1.0#981

Merged
tbouffard merged 3 commits intomainfrom
chore/bump_storybook_v10
Dec 23, 2025
Merged

chore(deps-dev): bump storybook from 9.1.1 to 10.1.0#981
tbouffard merged 3 commits intomainfrom
chore/bump_storybook_v10

Conversation

@tbouffard
Copy link
Copy Markdown
Member

@tbouffard tbouffard commented Dec 22, 2025

Major version upgrade of Storybook with necessary adjustments:

  • Bump vite to v7 (required by Storybook 10)
  • Add eslint plugin for Storybook
  • Update dependabot config to track latest Storybook version
  • Adjust Storybook configuration for v10 compatibility
  • Display JS/TS source code in addon instead of generated HTML

Summary by CodeRabbit

  • Chores

    • Upgraded Storybook and Vite to newer v10/v7 releases.
    • Enabled automated dependency updates for Storybook packages (Dependabot will now consider Storybook).
    • Added Storybook linting integration to the dev tooling.
  • New Features

    • Storybook UI now shows a TypeScript code source panel for stories.
    • Storybook notifications and crash reports are turned off for a cleaner experience.

✏️ Tip: You can customize this high-level summary in your review settings.

- Add eslint plugin for Storybook
- Bump vite to v7 (required by Storybook 10)
- Update dependabot config to track latest Storybook version
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Dec 22, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Dec 22, 2025

Walkthrough

Dependabot was allowed to resume updates for Storybook by removing its ignore entries. Storybook ESLint rules were added and scoped to story files in packages/html. Storybook and related devDependencies in packages/html were upgraded to v10.1.10 and Vite to v7.3.0; eslint-plugin-storybook was added to root devDependencies.

Changes

Cohort / File(s) Summary
Dependabot configuration
.github/dependabot.yml
Removed @storybook/* and storybook from the Dependabot ignore list so Storybook packages can be updated automatically.
ESLint configuration
eslint.config.mjs
Imported Storybook ESLint plugin and inserted Storybook recommended flat-config entries scoped to `packages/html/stories/**/*.stories.@(ts
Root devDependencies
package.json
Added eslint-plugin-storybook (~10.1.10) to devDependencies.
HTML package deps & Storybook config
packages/html/package.json, packages/html/.storybook/main.ts, packages/html/.storybook/preview.ts
Upgraded Storybook packages (storybook, addon-docs, addon-links, html-vite) from ~9.1.16 → ~10.1.10 and Vite from ~6.4.1 → ~7.3.0; set core.disableWhatsNewNotifications = true, core.enableCrashReports = false in main.ts; added docs.source = { type: 'code', language: 'typescript' } to preview.ts.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Review compatibility implications of Storybook v10 for existing stories and HTML/preview customizations.
  • Verify ESLint flat-config ordering and that the Storybook plugin rules only target intended story files.
  • Check Vite v7 compatibility with the package's build and Storybook html-vite integration.

Possibly related PRs

Suggested labels

dependencies, skip-changelog, javascript

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is minimal and does not follow the required template structure. It lacks issue reference, discussion confirmation, PR checklist validation, and detailed explanation of changes. Please fill out the complete PR template including: issue reference (closes #XXX), confirmation of discussion with maintainers, PR checklist items, detailed overview of changes, and any relevant screenshots/documentation updates.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title directly relates to the main change: upgrading Storybook from version 9.1.1 to 10.1.0, which is the primary objective of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/bump_storybook_v10

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.

@sonarqubecloud
Copy link
Copy Markdown

@tbouffard tbouffard merged commit de11ee6 into main Dec 23, 2025
11 checks passed
@tbouffard tbouffard deleted the chore/bump_storybook_v10 branch December 23, 2025 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant