Skip to content

chore: upgrade to storybook 10#1827

Merged
janhenrikoverland merged 3 commits intomasterfrom
chore/upgrade-to-storybook-10
Apr 7, 2026
Merged

chore: upgrade to storybook 10#1827
janhenrikoverland merged 3 commits intomasterfrom
chore/upgrade-to-storybook-10

Conversation

@janhenrikoverland
Copy link
Copy Markdown
Collaborator

@janhenrikoverland janhenrikoverland commented Apr 6, 2026

Upgrades Storybook from 8.6 to 10.3. The only breaking change in v10 is ESM-only, so the main config needed a small conversion from CJS to ESM.

Also removed @mihkeleidast/storybook-addon-source — it was listed as a dependency but never actually used and it's not compatible with v10.

Changes:

  • storybook deps upgraded to ^10.3.4
  • Converted .storybook/main.js from CJS to ESM
  • Removed unused withJsx decorator from .storybook/preview.js
  • Removed @storybook/react (merged into the framework package in v10)
  • Added eslint-plugin-storybook

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 6, 2026

@janhenrikoverland janhenrikoverland enabled auto-merge (squash) April 6, 2026 13:33
@janhenrikoverland janhenrikoverland merged commit 3598c51 into master Apr 7, 2026
9 checks passed
@janhenrikoverland janhenrikoverland deleted the chore/upgrade-to-storybook-10 branch April 7, 2026 06:59
@dhis2-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 29.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants