Skip to content

Commit a360dd6

Browse files
committed
fix(query-db-collection, trailbase-db-collection): add electric path alias
Both packages alias @tanstack/db-collection-e2e, whose index re-exports suites that import @tanstack/electric-db-collection — but neither tsconfig had an alias for electric, so fresh-clone typecheck fails.
1 parent 741f429 commit a360dd6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/query-db-collection/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"@tanstack/db": ["../db/src"],
1717
"@tanstack/db-ivm": ["../db-ivm/src"],
1818
"@tanstack/offline-transactions": ["../offline-transactions/src"],
19-
"@tanstack/db-collection-e2e": ["../db-collection-e2e/src"]
19+
"@tanstack/db-collection-e2e": ["../db-collection-e2e/src"],
20+
"@tanstack/electric-db-collection": ["../electric-db-collection/src"]
2021
}
2122
},
2223
"include": [

packages/trailbase-db-collection/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"@tanstack/store": ["../store/src"],
1717
"@tanstack/db-ivm": ["../db-ivm/src"],
1818
"@tanstack/db": ["../db/src"],
19-
"@tanstack/db-collection-e2e": ["../db-collection-e2e/src"]
19+
"@tanstack/db-collection-e2e": ["../db-collection-e2e/src"],
20+
"@tanstack/electric-db-collection": ["../electric-db-collection/src"]
2021
}
2122
},
2223
"include": ["src", "tests", "e2e", "vite.config.ts", "vitest.e2e.config.ts"],

0 commit comments

Comments
 (0)