Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jun 10, 2025

This is an automated pull request that bumps the version from 9.1.0-alpha.4 to 9.1.0-alpha.5.
Once this pull request is merged, it will trigger a new release of version 9.1.0-alpha.5.
If you're not a core maintainer with permissions to release you can ignore this pull request.

To do

Before merging the PR, there are a few QA steps to go through:

  • Add the "freeze" label to this PR, to ensure it doesn't get automatically forced pushed by new changes.
  • Add the "ci:daily" label to this PR, to trigger the full test suite to run on this PR.

And for each change below:

  1. Ensure the change is appropriate for the version bump. E.g. patch release should only contain patches, not new or de-stabilizing features. If a change is not appropriate, revert the PR.
  2. Ensure the PR is labeled correctly with one of: "BREAKING CHANGE", "feature request", "bug", "maintenance", "dependencies", "documentation", "build", "unknown".
  3. Ensure the PR title is correct, and follows the format "[Area]: [Summary]", e.g. "React: Fix hooks in CSF3 render functions". If it is not correct, change the title in the PR.
    • Areas include: React, Vue, Core, Docs, Controls, etc.
    • First word of summary indicates the type: “Add”, “Fix”, “Upgrade”, etc.
    • The entire title should fit on a line

This is a list of all the PRs merged and commits pushed directly to next, that will be part of this release:

  • 🐛 Bug: Addon Themes: Define missing React dependencies #31688 (will also be patched)
  • 🐛 Bug: CSF: Only add preview annotations to definePreview in csf-factories automigration #31727
  • 🐛 Bug: Addon-vitest: Fix adding with --skip-install failing missing packageJson invariant #31720 (will also be patched)
  • 🐛 Bug: AddonDocs: Remove export of blocks #31724 (will also be patched)

If you've made any changes doing the above QA (change PR titles, revert PRs), manually trigger a re-generation of this PR with this workflow and wait for it to finish. It will wipe your progress in this to do, which is expected.

Feel free to manually commit any changes necessary to this branch after you've done the last re-generation, following the Make Manual Changes section in the docs, especially if you're making changes to the changelog.

When everything above is done:


Generated changelog

9.1.0-alpha.5

  • Addon Themes: Define missing React dependencies - #31688, thanks @ghengeveld!
  • Addon-vitest: Fix adding with --skip-install failing missing packageJson invariant - #31720, thanks @JReinhold!
  • AddonDocs: Remove export of blocks - #31724, thanks @ndelangen!
  • CSF: Only add preview annotations to definePreview in csf-factories automigration - #31727, thanks @kasperpeulen!

Greptile Summary

This prerelease contains several critical bug fixes addressing addon dependencies, CSF factory transformations, and package exports in Storybook 9.1.0-alpha.5.

  • Fixed addon-themes build failures by adding missing React dependencies for non-React projects in code/addons/themes/package.json
  • Fixed CSF factory automigration to correctly handle preview annotations only in definePreview calls in code/lib/cli-storybook/src/codemod/helpers/config-to-csf-factory.ts
  • Fixed addon-vitest installation with --skip-install flag by properly handling packageJson requirement in code/core/src/common/js-package-manager/JsPackageManager.ts
  • Removed blocks export from addon-docs main entrypoint to improve fast build compatibility

@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Jun 10, 2025
@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Jun 10, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

LGTM

21 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

@storybook-bot storybook-bot force-pushed the version-non-patch-from-9.1.0-alpha.4 branch from 3a3142c to f83173b Compare June 10, 2025 11:55
CSF: Only add preview annotations to definePreview in csf-factories automigration
@storybook-bot storybook-bot force-pushed the version-non-patch-from-9.1.0-alpha.4 branch from f83173b to 9520d39 Compare June 10, 2025 12:14
@storybook-bot storybook-bot force-pushed the version-non-patch-from-9.1.0-alpha.4 branch from 9520d39 to 397338d Compare June 10, 2025 12:33
@kasperpeulen kasperpeulen added ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label labels Jun 10, 2025
@nx-cloud
Copy link

nx-cloud bot commented Jun 10, 2025

View your CI Pipeline Execution ↗ for commit 397338d.

Command Status Duration Result
nx run-many -t check -c production --parallel=7 ✅ Succeeded 1s View ↗
nx run-many -t build -c production --parallel=3 ✅ Succeeded 3s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-10 12:48:24 UTC

@nx-cloud
Copy link

nx-cloud bot commented Jun 10, 2025

View your CI Pipeline Execution ↗ for commit 397338d.

Command Status Duration Result
nx run-many -t build -c production --parallel=3 ✅ Succeeded 3s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-10 12:48:14 UTC

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

11 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile

Comment on lines +106 to +108
if (options.configType === 'preview' && !projectAnnotationNames.includes(name)) {
continue;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Consider extracting options.configType === 'preview' check to a descriptive variable name for better readability and maintainability

@storybook-app-bot
Copy link

Package Benchmarks

Commit: 397338d, ran on 10 June 2025 at 12:55:33 UTC

The following packages have significant changes to their size or dependencies:

@storybook/builder-webpack5

Before After Difference
Dependency count 198 198 0
Self size 80 KB 80 KB 0 B
Dependency size 31.34 MB 31.38 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

storybook

Before After Difference
Dependency count 49 49 0
Self size 31.40 MB 31.22 MB 🎉 -185 KB 🎉
Dependency size 17.41 MB 17.41 MB 0 B
Bundle Size Analyzer Link Link

@storybook/angular

Before After Difference
Dependency count 208 208 0
Self size 606 KB 606 KB 0 B
Dependency size 29.74 MB 29.78 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

@storybook/ember

Before After Difference
Dependency count 208 208 0
Self size 28 KB 28 KB 0 B
Dependency size 28.90 MB 28.94 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

@storybook/nextjs

Before After Difference
Dependency count 534 534 0
Self size 216 KB 217 KB 🚨 +425 B 🚨
Dependency size 58.88 MB 58.91 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

@storybook/react-webpack5

Before After Difference
Dependency count 284 284 0
Self size 25 KB 25 KB 0 B
Dependency size 43.60 MB 43.64 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

@storybook/server-webpack5

Before After Difference
Dependency count 210 210 0
Self size 17 KB 17 KB 0 B
Dependency size 32.61 MB 32.65 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

sb

Before After Difference
Dependency count 50 50 0
Self size 1 KB 1 KB 0 B
Dependency size 48.81 MB 48.63 MB 🎉 -185 KB 🎉
Bundle Size Analyzer Link Link

@storybook/cli

Before After Difference
Dependency count 324 324 0
Self size 244 KB 244 KB 🚨 +141 B 🚨
Dependency size 97.86 MB 98.82 MB 🚨 +960 KB 🚨
Bundle Size Analyzer Link Link

@storybook/codemod

Before After Difference
Dependency count 267 267 0
Self size 31 KB 31 KB 0 B
Dependency size 82.25 MB 82.11 MB 🎉 -145 KB 🎉
Bundle Size Analyzer Link Link

create-storybook

Before After Difference
Dependency count 1 1 0
Self size 11.02 MB 12.13 MB 🚨 +1.11 MB 🚨
Dependency size 98 KB 98 KB 0 B
Bundle Size Analyzer Link Link

@storybook/preset-react-webpack

Before After Difference
Dependency count 175 175 0
Self size 24 KB 24 KB 0 B
Dependency size 30.43 MB 30.47 MB 🚨 +39 KB 🚨
Bundle Size Analyzer Link Link

@kasperpeulen kasperpeulen merged commit 69fea5c into next-release Jun 10, 2025
91 of 97 checks passed
@kasperpeulen kasperpeulen deleted the version-non-patch-from-9.1.0-alpha.4 branch June 10, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label release For PRs that trigger new releases. Automated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants