Repository navigation
chore(deps): bump storybook to 11.0.0-rc.1 and replace @storybook/global - #658
Merged
Merged
Conversation
Bump Storybook workspace dependencies from 11.0.0-beta.5 to 11.0.0-rc.1 (upstream e5411198..7bfb4ca1) and port upstream PR #37729 (bbc335c0): - Replace @storybook/global import with globalThis in virtualModuleModernEntry.js to avoid the Storybook 11 RC.1 preview deprecation warning - Update virtual-module-mapping.test.ts to assert the modern entry does not import @storybook/global - Drop the obsolete @storybook/global resolve.alias in iframe-rsbuild.config.ts
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
v4from Storybook11.0.0-beta.5to11.0.0-rc.1(upstreame5411198...7bfb4ca1) and ports upstream PR storybookjs/storybook#37729 (bbc335c0):Storybook
11.0.0-rc.1deprecates@storybook/globaland logs a runtime deprecation warning in the preview whenever itsglobalexport is read. SwitchingvirtualModuleModernEntry.jstoglobalThiskeeps every preview boot warning-free; third-party addons importing@storybook/globalremain externalized through Storybook'sglobalsNameReferenceMap.Evidence
v4pinned11.0.0-beta.5andvirtualModuleModernEntry.jsimported{ global } from '@storybook/global', which emits a deprecation warning on preview load under11.0.0-rc.1.pnpm install→ resolved all 30 workspace projects to11.0.0-rc.1and rebuilt all packagespnpm check-dependency-version→No dependency version mismatches found.pnpm check→ Lint & type check passed (408 files), format check passed (624 files)pnpm --filter ./sandboxes/react-18 run build:storybook→ Storybookv11.0.0-rc.1build succeededpnpm --filter ./sandboxes/chromatic-turbosnap run build:storybook→ both default and.storybook-jsxStorybookv11.0.0-rc.1builds succeededpnpm test→33 passedtest files /280 passedtests (including updatedvirtual-module-mapping.test.ts)Merge Danger
Door: two-way
Standard Storybook prerelease bump plus a minimal template/alias cleanup mirroring
builder-webpack5.Blast Radius: Low
Only affects the virtual preview entry template (
global→globalThis, identical runtime value) and drops an unused@storybook/globalalias that Storybook's preview externals already handle.