chore(auth): drop unused auth and passport deps#2915
Open
alex-connolly wants to merge 1 commit into
Open
Conversation
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>
|
| 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.
|
View your CI Pipeline Execution ↗ for commit 7c30655
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@imtbl/auth'simx.APIErrortype with a local{ code, message, details? }shape and remove the unused@imtbl/generated-clientsdependency@imtbl/passportproduction deps left after the auth/wallet split:ethers,localforage,oidc-client-ts,@imtbl/toolkitpnpm-lock.yamlaccordinglyThese 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)Made with Cursor