File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,11 @@ export * from "./d2.js"
22export * from "./multiset.js"
33export * from "./operators/index.js"
44export * from "./types.js"
5+
6+ // Export additional types and functions that are needed
7+ export type { MultiSetArray } from "./multiset.js"
8+ export { MultiSet } from "./multiset.js"
9+ export type { IStreamBuilder , KeyValue } from "./types.js"
10+ export { RootStreamBuilder } from "./d2.js"
11+ export { orderByWithFractionalIndex } from "./operators/orderBy.js"
12+ export type { JoinType } from "./operators/join.js"
Original file line number Diff line number Diff line change 1010 "esModuleInterop" : true ,
1111 "skipLibCheck" : true ,
1212 "forceConsistentCasingInFileNames" : true ,
13- "jsx" : " react"
13+ "jsx" : " react" ,
14+ "paths" : {
15+ "@tanstack/db" : [" ../db/src" ],
16+ "@tanstack/db-ivm" : [" ../db-ivm/src" ]
17+ }
1418 },
1519 "include" : [" src" , " tests" , " vite.config.ts" ],
1620 "exclude" : [" node_modules" , " dist" ]
Original file line number Diff line number Diff line change 1- import { defineConfig } from "vite"
1+ import { defineConfig , mergeConfig } from "vitest/config"
2+ import { tanstackViteConfig } from "@tanstack/config/vite"
3+ import react from "@vitejs/plugin-react"
4+ import packageJson from "./package.json"
25
3- export default defineConfig ( {
6+ const config = defineConfig ( {
7+ plugins : [ react ( ) ] ,
48 test : {
5- testTimeout : 10000 ,
6- coverage : {
7- enabled : false , // Disable coverage to bypass missing coverage provider
8- } ,
9+ name : packageJson . name ,
10+ dir : `./tests` ,
11+ environment : `jsdom` ,
12+ coverage : { enabled : true , provider : `istanbul` , include : [ `src/**/*` ] } ,
13+ typecheck : { enabled : true } ,
914 } ,
1015} )
16+
17+ export default mergeConfig (
18+ config ,
19+ tanstackViteConfig ( {
20+ entry : `./src/index.ts` ,
21+ srcDir : `./src` ,
22+ } )
23+ )
You can’t perform that action at this time.
0 commit comments