Repository navigation
fix(mail): drop unused @base-ui/react dependency - #5490
Conversation
Why: #5483 moved the mail console onto the shared console-ui shell, so nothing in packages/mail imports @base-ui/react any more. knip reports it as an unused dependency and main fails the knip check. What: remove "@base-ui/react" from packages/mail/package.json and the matching mail workspace entry in bun.lock; no other lockfile entry changes. Verification: - rg "@base-ui/react" packages/mail: no remaining references - bunx turbo run knip --filter=//: pass (before: Unused dependencies (1)) - bunx turbo run typecheck lint build --filter=@shepherdjerred/mail: pass - Not run: CI, deployment (no runtime change) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This change is part of the following stack: Change managed by git-spice. |
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
@codex review Automated re-review request for |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Why
#5483 moved the mail console onto the shared console-ui shell, so nothing in
packages/mailimports@base-ui/reactany more. knip flags the leftover declaration and main fails the knip check.What
Remove
"@base-ui/react": "catalog:"frompackages/mail/package.jsonand the matching@shepherdjerred/mailentry inbun.lock(only that one line changes in the lockfile).Demo
Tooling change, so before/after knip output (
bun scripts/tools/knip.ts, the command behindturbo run knip):Before (main, 668482c):
After (this PR):
Verification
rg -n "@base-ui/react" packages/mail: onlypackage.jsonbefore the change; none afterbunx turbo run knip --filter=//: passbunx turbo run typecheck lint build --filter=@shepherdjerred/mail: pass (9 tasks)🤖 Generated with Claude Code