-
Notifications
You must be signed in to change notification settings - Fork 659
[heft] update storybook plugin to be compatible with v9 #5492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5dbc106
[heft] update storybook to be compatible with v9
649b72f
code review changes
UberMouse e16ec67
Merge branch 'main' into storybook-v9-support
UberMouse 9237323
fix ci issues
UberMouse 068525c
Merge branch 'main' into storybook-v9-support
iclanton a42b912
Normalize versions.
iclanton 11979ff
Rush update.
iclanton c4a8d37
Create separate v6 and v9 storybook test projects.
iclanton 7b70cda
Rush update.
iclanton 8e70d6d
fixup! fix ci issues
iclanton 754adbc
fixup! Create separate v6 and v9 storybook test projects.
iclanton 8690ac3
Rush change.
iclanton 48594b1
fixup! Create separate v6 and v9 storybook test projects.
iclanton 8fd660f
fixup! Rush update.
iclanton d88dde8
Bump html-webpack-plugin to the version that works with Webpack 5.
iclanton a646ba3
Clean up the resoluion of the @storybook/react-webpack5 package.
iclanton d994706
Don't run Storybook v9 under Node 18.
iclanton 87d8712
fixup! Rush update.
iclanton e837f6d
fixup! Don't run Storybook v9 under Node 18.
iclanton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| { | ||
| "extends": "./node_modules/local-web-rig/profiles/app/tsconfig-base.json" | ||
| "extends": "./node_modules/local-web-rig/profiles/app/tsconfig-base.json", | ||
| "compilerOptions": { | ||
| "skipLibCheck": true | ||
| } | ||
| } | ||
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
5 changes: 4 additions & 1 deletion
5
build-tests-samples/heft-storybook-react-tutorial/.storybook/main.js
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| const path = require('path'); | ||
|
|
||
| module.exports = { | ||
| stories: ['../lib/**/*.stories.js'], | ||
| addons: ['@storybook/addon-links', '@storybook/addon-essentials'] | ||
| // naively referencing the name of the package causes storybook to fail to resolve it | ||
| framework: path.resolve(require.resolve('@storybook/react-webpack5/preset'), '..') | ||
| }; |
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
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
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
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
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
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
15 changes: 15 additions & 0 deletions
15
common/changes/@rushstack/heft-storybook-plugin/storybook-v9-support_2025-12-09-01-59.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@rushstack/heft-storybook-plugin", | ||
| "comment": "support storybook v9", | ||
iclanton marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "type": "minor" | ||
| }, | ||
| { | ||
| "packageName": "@rushstack/heft-storybook-plugin", | ||
| "comment": "support serve mode with rspack", | ||
iclanton marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "type": "minor" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft-storybook-plugin" | ||
| } | ||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.