Skip to content

Commit 968a6c3

Browse files
lucperkinsclaude
andcommitted
Remove components that no other project uses
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>
1 parent 1fbc3cb commit 968a6c3

37 files changed

Lines changed: 5 additions & 1993 deletions

‎package-lock.json‎

Lines changed: 1 addition & 502 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,25 @@
3535
"@storybook/addon-vitest": "^10.2.0",
3636
"@storybook/react-vite": "^10.4.6",
3737
"@types/react": "^19.1.4",
38+
"@vitest/browser": "^4.1.10",
39+
"@vitest/coverage-v8": "^4.1.8",
3840
"chromatic": "^12.2.0",
3941
"esbuild": "^0.28.1",
42+
"playwright": "^1.56.1",
4043
"prettier": "^3.5.3",
4144
"rollup": "^4.41.0",
4245
"rollup-plugin-sass": "^1.15.2",
4346
"rollup-plugin-svg-import": "^3.0.0",
4447
"sass": "^1.89.0",
4548
"storybook": "^10.4.6",
4649
"typescript": "^5.8.3",
47-
"vitest": "^4.1.8",
48-
"@vitest/browser": "^4.1.10",
49-
"playwright": "^1.56.1",
50-
"@vitest/coverage-v8": "^4.1.8"
50+
"vitest": "^4.1.8"
5151
},
5252
"peerDependencies": {
5353
"react": "^19.1.0"
5454
},
5555
"dependencies": {
5656
"@heroicons/react": "^2.2.0",
57-
"@radix-ui/react-icons": "^1.0.3",
58-
"@shikijs/core": "^3.5.0",
59-
"@shikijs/engine-javascript": "^3.5.0",
60-
"@shikijs/langs": "^3.5.0",
61-
"@shikijs/themes": "^3.5.0",
62-
"@shikijs/types": "^3.5.0",
6357
"clsx": "^2.1.1",
6458
"react-icons": "^5.5.0"
6559
}

‎src/Button/Button.stories.tsx‎

Lines changed: 0 additions & 267 deletions
This file was deleted.

‎src/Button/index.scss‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)