Repository navigation
build: remove unused Python, client, and documentation dependencies - #15725
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
There was a problem hiding this comment.
No issues found across 20 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Bounded dependency and configuration cleanup: removes unused Python/JS dependencies, refreshes lockfiles, and makes one type-annotation adjustment; no runtime behavior change, so remaining risk is ordinary implementation correctness already reviewed.
View guided diff | Turn on auto-fix | Re-trigger cubic
|
🚀 Expo preview is ready!
|
Summary
Remove unused Python and JavaScript dependencies after auditing imports, scripts, configuration, framework plugins, peer dependencies, and deployment packaging across the server, image resizer, SDK generator, clients, docs, and handbook. Refresh the corresponding lockfiles without upgrading retained package versions.
The client/docs/handbook audit removes 38 direct dependency declarations (including one duplicate), plus one unused catalog entry. All server runtime packages remain required. Intentionally retained implicit dependencies include SQLAlchemy's greenlet support, FastAPI form parsing, certificate trust bundles, Expo native integrations, framework peers, and the separate TypeScript compiler executable/API packages.
Server —
server/debugpypytest-recordingpytest-subteststypes-python-slugify8.0.2, where those annotations became available.types-requestsboto3-stubs[lambda]extratyperdeclarationsqlalchemy-utilsdeclaration>=0.41.2minimum there.Retain
types-redis: current aliases still depend on its generic Redis/Pipeline types. The lockfile also drops orphanedvcrpy.Image resizer —
lambda/image-resizer/types-PillowImage.Imagevariable annotation to accommodate Pillow's native types.taskipydeclarationKeep
certififor botocore's trust bundle and preserve the deployment packaging configuration.SDK generator —
sdk/generator/adaptixhttpxWeb app —
clients/apps/web/@polar-sh/sdk@radix-ui/react-dropdown-menugeistreact-focus-lockreact-timeagorehype-mdx-import-media@types/web@vitest/uiautoprefixerremarkremark-mdxMobile app —
clients/apps/app/@dev-plugins/react-navigation@react-navigation/bottom-tabsexpo-blurexpo-status-barnativewindtailwindcsspatch-package@types/react-test-rendererShared UI —
clients/packages/ui/@radix-ui/react-checkbox@radix-ui/react-select@radix-ui/react-switch@radix-ui/react-tabs@radix-ui/react-toast@radix-ui/react-tooltipOrbit continues to declare the Radix dependencies its implementations need.
Checkout —
clients/packages/checkout/date-fnsOrbit package —
clients/packages/orbit/@vitest/coverage-v8Better Auth example —
clients/adapters/better-auth/example/@typescript/nativetsc; Next uses the retainedtypescriptcompiler API.Client workspace configuration —
clients/@vitest/uiRoot tooling remains:
esbuildis used by the bundle-measurement script, and@manypkg/clihas an explicit workspace policy.Documentation —
docs/@scalar/openapi-parser@types/nodejs-yamlopenapi-samplertsxKeep Mintlify, React, and React DOM for documentation rendering. OpenAPI generation is handled by the Python SDK generator.
Handbook —
handbook/@scalar/openapi-parser@types/nodejs-yamlopenapi-samplertsxKeep Mintlify, React, and React DOM for handbook rendering.
Validation
Not run: full server test execution, production Next builds, native/device builds, standalone Better Auth example build, or hosted CI. No API contract or application behavior changes are intended.