Skip to content

chore(package.json): remove unused '@radix-ui/*' dependencies - #1642

Open
sukvvon wants to merge 1 commit into
mainfrom
sukvvon/remove-radix-ui-dependency
Open

sukvvon wants to merge 1 commit into
mainfrom
sukvvon/remove-radix-ui-dependency

Conversation

@sukvvon

@sukvvon sukvvon commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Removes the Radix UI packages that are no longer imported anywhere after the Base UI migration.

  • package.json: drop @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, and @radix-ui/react-tooltip
  • knip.jsonc: drop the matching ignoreDependencies entries and their "removed in a follow-up PR" comment
  • pnpm-lock.yaml: removal only (-323 lines) — the three packages, the Radix internals they pulled in, and the older @floating-ui/* versions only Radix depended on

Summary by CodeRabbit

  • Chores
    • Removed three Radix UI packages from the project’s dependencies and dependency-scan exclusions. This is an internal maintenance change with no user-facing feature changes.

@sukvvon
sukvvon requested a review from a team November 30, 2026 01:01
@sukvvon sukvvon self-assigned this Nov 30, 2026
@changeset-bot

changeset-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c5d5e22

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change removes @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, and @radix-ui/react-tooltip from package.json and removes their entries and explanatory comment from knip.jsonc.

Changes: Radix UI dependency removal

Layer / File(s) Summary
Remove Radix UI dependency entries
knip.jsonc, package.json
The three Radix UI packages were removed from the dependency manifest and from Knip's ignored dependency list.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • TanStack/tanstack.com#1123: Migrates the application from Radix UI to Base UI, enabling removal of these same three dependencies.

Suggested reviewers: kevinvandy, ladybluenotes

Merge Risk: Minimal · up to c5d5e · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: removing the unused @radix-ui/* dependencies from package.json. The raw summary confirms that package.json drops @radix-ui/react-dialog, @radix-ui/react-dropdown-menu,…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: removing the unused @radix-ui/* dependencies from package.json. The raw summary confirms that package.json drops @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, and @radix-ui/react-tooltip. The objectives also describe the same cleanup, including the knip.jsonc ignore-entry removal and lockfile updates. The title uses the scope prefix 'chore(package.json)' and is specific, concise, and accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d3c783da-b48c-4d25-a3c2-ee67c67c3778
Commits

Reviewing files that changed from the base of the PR and between 8e9dd77 and c5d5e22.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 2

  • knip.jsonc
  • package.json
Files with no reviewable changes: 2

  • knip.jsonc
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@github-actions

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19462.90 KiB 19462.90 KiB 0.00 KiB (0.00%)
JavaScript (gzip) 6397.38 KiB 6397.18 KiB 🟢 -0.20 KiB (-0.00%)
CSS 822.88 KiB 822.88 KiB 0.00 KiB (0.00%)
CSS (gzip) 125.92 KiB 125.92 KiB 0.00 KiB (0.00%)
Page Main (gzip) PR merge build (gzip) Change
/ 576.08 KiB 576.09 KiB 🔴 +0.01 KiB (+0.00%)
/libraries 518.93 KiB 518.94 KiB 🔴 +0.01 KiB (+0.00%)
/start/latest 543.71 KiB 543.72 KiB 🔴 +0.01 KiB (+0.00%)
/router/latest 544.00 KiB 544.02 KiB 🔴 +0.02 KiB (+0.00%)
/query/latest 542.46 KiB 542.47 KiB 🔴 +0.02 KiB (+0.00%)
/table/latest 575.27 KiB 575.28 KiB 🔴 +0.01 KiB (+0.00%)
/charts/latest 624.57 KiB 624.59 KiB 🔴 +0.02 KiB (+0.00%)
/ai/latest 569.39 KiB 569.39 KiB 🔴 +0.00 KiB (+0.00%)
Docs article 529.96 KiB 529.99 KiB 🔴 +0.03 KiB (+0.01%)
Framework docs article 529.97 KiB 530.00 KiB 🔴 +0.03 KiB (+0.01%)
/blog 523.14 KiB 523.15 KiB 🔴 +0.01 KiB (+0.00%)
/maintainers 522.23 KiB 522.24 KiB 🔴 +0.01 KiB (+0.00%)
/showcase 520.18 KiB 520.20 KiB 🔴 +0.01 KiB (+0.00%)
/chat 518.69 KiB 518.69 KiB 🔴 +0.00 KiB (+0.00%)
/chat/c/:conversationId 519.39 KiB 519.39 KiB 0.00 KiB (0.00%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at 8e9dd77. Gzip sizes are summed per file. Build run

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com c5d5e22 Commit Preview URL

Branch Preview URL
Nov 30 2026, 01:05 AM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant