Repository navigation
Remove components that no other project uses - #91
Open
lucperkins wants to merge 2 commits into
Open
lucperkins wants to merge 2 commits into
lucperkins wants to merge 2 commits into
Conversation
flakehub and docs.determinate.systems are the only consumers of this package, and between them they import BusyIcon, CodeInline, ColorProvider, ColorSchemeToggle, CopyButton, LabeledRadioInput, LabeledTextInput, and PageLayout. This keeps those and everything they depend on, and removes the rest: Button, CodeBlock, CodeFile, DownloadButton, GitHubButton, Highlight, InstallCTA, Link, MacInstaller, and the useHighlight and useObjectURL hooks. The Shiki packages and @radix-ui/react-icons were only used by those, so they're gone too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for determinate-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
# Conflicts: # package-lock.json # package.json
This branch has not been deployed
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.
flakehubanddocs.determinate.systemsare the only projects that depend on this package, according to a code search across the org. Between them they import:BusyIconCodeInline(docs, through theexport *incomponents/DS.tsx)ColorProviderColorSchemeToggleCopyButtonLabeledRadioInputandLabeledTextInputPageLayoutThis keeps those and everything they depend on (
ClipboardIcon,ColorContext,DetSysIcon,Header,LabeledInput,Navigation,Placeholder), and removes the rest:Button,CodeBlock,CodeFile,DownloadButton,GitHubButton,Highlight,InstallCTA,Link, andMacInstalleruseHighlightanduseObjectURLhooks, which only those used@shikijs/*packages and@radix-ui/react-icons, which only those usedThis is a breaking change to the package's exports, but nothing that consumes it imports any of the removed ones.
Testing
npm run build,npm run format, andcodespell srcpass.🤖 Generated with Claude Code
Summary by CodeRabbit