-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Core and Vite: Use story index as source of truth for Vite paths #30612
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
+488
−441
Merged
Changes from 35 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
be5ae52
initial index-based importFn generation
JReinhold 21926a5
refactor vite hmr and importFn generation
JReinhold cc0b7fa
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/cu…
JReinhold 9dd972a
fix hmr
JReinhold 0ffeef0
use StoryIndexGenerator when building too
JReinhold f6ba58a
fix importPath for virtual modules
JReinhold bd43701
cleanup
JReinhold 23996ff
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold c7ce2ac
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/cu…
JReinhold c0b65de
make storyIndexGenerator a preset property
JReinhold 567fe81
make importPath optional
JReinhold beb26c1
rename storiesJson -> indexJson
JReinhold 1e7bf42
improve importfn paths, tests
JReinhold c2528fe
fix invalid import paths
JReinhold 43b968e
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 13f9a62
cleanup
JReinhold 28bb2f5
Merge branch 'jeppe/custom-indexer-importpath' of github.com:storyboo…
JReinhold 8b9df0a
silent weird ts error
JReinhold 137980d
fix checks
JReinhold 416b534
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/cu…
JReinhold df56ebf
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/cu…
JReinhold 40e0d9d
make import entries unique in optimize deps
JReinhold 6e6a491
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 09d8aed
add vscode workspace
JReinhold 9a0b8e5
Fix file change watching invalidating index
JReinhold de4b6de
Merge branch 'jeppe/custom-indexer-importpath' of github.com:storyboo…
JReinhold 2f20882
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 4c43d3d
fix build not passing normalizedStories to storyIndexGenerator preset
JReinhold 09b8db1
Merge branch 'jeppe/custom-indexer-importpath' of github.com:storyboo…
JReinhold a075997
make StoryIndexGenerator do specifier lookup instead of watchStorySpe…
JReinhold ac49974
fix potential race condition with story index generator
JReinhold f72345e
fix SIG tests
JReinhold 2063b51
fix unit tests to match new event batching behavior
JReinhold 25e76c9
remove comment
JReinhold e5ece54
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 920b476
cleanup
JReinhold c9c58c6
Merge branch 'jeppe/custom-indexer-importpath' of github.com:storyboo…
JReinhold d4cdc75
simplify index error handling
JReinhold c648147
support node 20 in map keys
JReinhold d4d5654
cleanup
JReinhold c3941b1
cleanup
JReinhold 2f8ceda
improve variable name
JReinhold 2121367
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 43774a7
Merge branch 'next' into jeppe/custom-indexer-importpath
JReinhold 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
Some comments aren't visible on the classic Files Changed page.
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
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 was deleted.
Oops, something went wrong.
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.
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.