-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Addons, core: Make react
and Storybook packages devDependencies
where possible
#24676
Merged
Merged
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
1ad0785
move react and @storybook from peer deps to dev deps
JReinhold c2b2b1a
globalize packages when bundling
JReinhold ab399bd
use separate bundling technique for addons, manager packages
JReinhold 51f2cf9
update eslint rules
JReinhold c841f89
Merge branch 'next' of github.com:storybookjs/storybook into experime…
JReinhold d1b9518
fix blocks dep
JReinhold 1388c64
move Vite deps otimization to presets
JReinhold f2a0396
Merge branch 'next' into experiment-addon-peer-dep
ndelangen d43b004
fixes for types check
ndelangen 642cfd7
fix
ndelangen 0149d22
fix
ndelangen 88e116a
remove need for prop-types in preact
ndelangen c596b98
fix event-log-checker
ndelangen 4ea32f3
Discard changes to scripts/event-log-checker.ts
ndelangen 1d9cc82
fix
ndelangen a7a0b23
Merge branch 'experiment-addon-peer-dep' of github.com:storybookjs/st…
ndelangen 7120771
fix types export from manager-api
JReinhold 0551bec
rename optimizeDeps > optimizeViteDeps
JReinhold c31f632
refactor and simplify preview globalization
JReinhold 4e59075
refactor manager+preview bundling and globals
JReinhold 54ab656
Merge branch 'next' of github.com:storybookjs/storybook into experime…
JReinhold fdee9bf
reword missing react error
JReinhold 765dbb1
make global types more strict
JReinhold b5a5307
keep SB packages as regular dependencies of manager-api
JReinhold 5f8223c
fix ts-dedent missing from svelte renderer
JReinhold 7d703fa
Merge branch 'next' into experiment-addon-peer-dep
JReinhold 214a6f8
add import entry to globals exports
JReinhold 94abc13
Merge branch 'next' into experiment-addon-peer-dep
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
There are no files selected for viewing
This file contains 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check if the
react-dom
dep is needed truly in these addons?It's not a big deal at all having them as devDependencies of course, no harm to users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, I added it as a todo to my cooldown period.