Skip to content

chore(auth): drop unused auth and passport deps#2915

Open
alex-connolly wants to merge 1 commit into
mainfrom
chore/remove-unused-auth-passport-deps
Open

chore(auth): drop unused auth and passport deps#2915
alex-connolly wants to merge 1 commit into
mainfrom
chore/remove-unused-auth-passport-deps

Conversation

@alex-connolly

Copy link
Copy Markdown
Contributor

Summary

  • Replace @imtbl/auth's imx.APIError type with a local { code, message, details? } shape and remove the unused @imtbl/generated-clients dependency
  • Remove leftover @imtbl/passport production deps left after the auth/wallet split: ethers, localforage, oidc-client-ts, @imtbl/toolkit
  • Update pnpm-lock.yaml accordingly

These were type-only / unused install-graph edges (already tree-shaken out of tsup bundles). Auth and passport published artifact sizes were unchanged; consumers no longer pull the removed packages via these entrypoints.

Test plan

  • pnpm --filter @imtbl/auth test (25 passed)
  • pnpm --filter @imtbl/passport test (21 passed)
  • Transpile auth + passport; confirm dist raw/gzip unchanged
  • CI green on this PR

Made with Cursor

Replace auth's imx.APIError type with a local shape so @imtbl/auth no
longer depends on @imtbl/generated-clients. Remove leftover passport
dependencies (ethers, localforage, oidc-client-ts, @imtbl/toolkit)
left after the auth/wallet split.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alex-connolly
alex-connolly requested review from a team as code owners July 25, 2026 19:57
@github-actions

Copy link
Copy Markdown

⚠️ Audience Bundle Size — @imtbl/audience

Metric Size Delta vs main (f8ac366)
Gzipped 21683 bytes (21.17 KB) 0 bytes
Raw (minified) 63197 bytes 0 bytes

Budget: 24.00 KB gzipped (warn at 20.00 KB)

⚠️ Approaching budget — gzipped size exceeds 20.00 KB warning threshold.

@nx-cloud

nx-cloud Bot commented Jul 25, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 7c30655

Command Status Duration Result
nx affected -t build,lint,test ✅ Succeeded 2m 41s View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 1m 6s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-07-25 20:03:12 UTC

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant