Skip to content

Drop unused dependencies - #3442

Merged
david-crespo merged 1 commit into
mainfrom
drop-unused-deps
Nov 11, 2026
Merged

david-crespo merged 1 commit into
mainfrom
drop-unused-deps

Conversation

@david-crespo

Copy link
Copy Markdown
Collaborator

Nothing in the repo references these packages any more. The lockfile goes from 709 to 704 entries. tslib and @react-router/node stay installed as dependencies of other packages, so for those two this only tidies package.json. Lint, tsc, build, and the vitest suite pass. I did not run e2e locally.

  • tslib came from the Nx generator that created the repo (source), along with importHelpers: true in tsconfig, which tells tsc to import helpers like __awaiter from tslib instead of inlining them. tsc never emitted our build (that was Babel, then Vite), but with importHelpers on, typechecking fails with TS2354 if tslib can't be resolved and the target needs a helper, as ours did while it was es2015. IP pool utilization #2078 raised the target to es2020 and Use tsgo, upgrade oxlint #3075 removed importHelpers. It is still installed through @peculiar/x509 and others.
  • @tailwindcss/container-queries was added in Instance Metrics using OxQL #2654 for the @container and @[48rem]: variants on the instance metrics tabs, loaded as a plugin in tailwind.config.ts. Tailwind 4 has container queries built in, and Tailwind 4 #2910 deleted the config file that loaded the plugin but left the package.
  • @tanstack/react-query-devtools was added in Add react query devtools #1238 to show the React Query devtools panel in dev. It was commented out in cc67cff to keep it out of screenshots, and Use React Router framework mode + SPA mode #3400 deleted the commented-out lines.
  • react-is and @types/react-is also came from the Nx generator, which adds them alongside styled-components (source) because styled-components 5 has react-is as a peer dependency. We replaced styled-components with emotion in 451bef6. @reach/menu-button 0.16 also had react-is as a peer dependency until Reach menu button -> Radix #1395 replaced it with Radix, and no package in the lockfile has had one since. Nothing in the repo has ever imported react-is, so the types were never used.
  • @react-router/node was added in Use React Router framework mode + SPA mode #3400, following the React Router SPA guide, which says a project needs it for the build-time render of index.html. Our entry.server.tsx uses web streams and doesn't import it, and @react-router/dev already depends on the exact same version, so it stays installed.

@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Nov 11, 2026 9:04pm UTC

Request Review

@david-crespo
david-crespo enabled auto-merge (squash) November 11, 2026 21:06
@david-crespo
david-crespo merged commit efc2149 into main Nov 11, 2026
9 checks passed
@david-crespo
david-crespo deleted the drop-unused-deps branch November 11, 2026 21:20

This branch was successfully deployed

1 active deployment
Preview — 0cbd9fb2 Deployed Nov 11, 2026 by vercel[bot]
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