Repository navigation
build(deps): make four Radix and sonner peers optional - #64
Merged
TheGreatAxios merged 1 commit intoSep 27, 2026
Conversation
TheGreatAxios
force-pushed
the
cl-9109-react-ui-mark-tooltip-dropdown-menu-and-sonner-peers
branch
from
September 25, 2026 21:55
c3f2f76 to
376d59f
Compare
TheGreatAxios
force-pushed
the
cl-9109-react-ui-mark-tooltip-dropdown-menu-and-sonner-peers
branch
from
September 26, 2026 01:32
376d59f to
71d03a9
Compare
@radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-tooltip and sonner are imported only by subpath-only modules kept out of the root barrel. dep-guard reads the optional peers from peerDependenciesMeta.
TheGreatAxios
force-pushed
the
cl-9109-react-ui-mark-tooltip-dropdown-menu-and-sonner-peers
branch
from
September 26, 2026 01:37
71d03a9 to
45ac2ac
Compare
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.
Stacked on #63; merge that first.
Summary
@radix-ui/react-dialog,@radix-ui/react-dropdown-menu,@radix-ui/react-tooltipandsonnerare optional inpeerDependenciesMeta(breaking).ui/dialog,ui/command-palette,ui/mic-permission-dialog,ui/menu,ui/tooltipandui/toastare inBARREL_EXCLUDED(subpath-only).dep-guardreads the optional peers frompackage.json, so the barrel check follows the manifest.Toaster/toastfrom@corbits/react-ui/ui/toastand has a table of which subpath needs which peer; IMPLEMENTATION.md and CHANGELOG match.Verification
dep-guardis clean for all four peers;typecheck,lint,bun testandbun run buildpass.Closes CL-9109
Closes CL-9318