[Barrel #59 Phase 3] Migrate 32 src/lib/ files from localDb barrel to direct db/ imports - #11790
Closed
jonlwheat2-gif wants to merge 1 commit into
Closed
Conversation
…db/ imports Phase 3 of Issue #59: replace all barrel imports from @/lib/localDb with direct imports to the specific db/ modules in src/lib/. 32 files changed, 80 insertions, 91 deletions. Zero barrel imports remain in src/lib/ (excluding the barrel file itself).
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.
Part of #11782 (tracks #59 on the fork)
Summary
Phase 3 of Issue #59: replace all barrel imports from
@/lib/localDbwith direct imports to the specificdb/modules insrc/lib/.32 files changed, 80 insertions, 91 deletions. Zero barrel imports remain in
src/lib/(excluding the barrel file itself).What this does
Same mechanical rewrite as Phase 2, applied to the service/handler layer:
Why
localDb.ts— import specificdb/modules instead"bundle-barrel-imports: "Import directly, avoid barrel files"src/lib/consumersTesting
rg -c "from.*@/lib/localDb" src/lib/ --type tsreturns 0 (excluding the barrel file)Dependencies
Should be merged after Phase 2 and before Phase 5 (barrel deletion).