Skip to content

Commit dc16941

Browse files
fix(svelte-query-devtools): Fix tsconfig paths
1 parent 3147eb6 commit dc16941

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

packages/svelte-query-devtools/tsconfig.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"allowJs": true,
44
"allowSyntheticDefaultImports": true,
55
"checkJs": true,
6-
"composite": true,
76
"esModuleInterop": true,
87
"forceConsistentCasingInFileNames": true,
98
"importsNotUsedAsValues": "error",
@@ -20,24 +19,17 @@
2019
"noUnusedLocals": true,
2120
"noUnusedParameters": true,
2221
"resolveJsonModule": true,
23-
"rootDir": "./src",
2422
"skipLibCheck": true,
2523
"sourceMap": true,
2624
"strict": true,
2725
"strictNullChecks": true,
2826
"target": "esnext",
2927
"tsBuildInfoFile": "./build/.tsbuildinfo",
30-
"types": ["vitest/globals", "@testing-library/jest-dom"]
28+
"paths": {
29+
"@tanstack/query-core": ["../query-core/src"],
30+
"@tanstack/query-devtools": ["../query-devtools/src"],
31+
"@tanstack/svelte-query": ["../svelte-query/src"]
32+
}
3133
},
32-
"include": ["src", "src/**/*.svelte"],
33-
"paths": {
34-
"@tanstack/query-core": ["../query-core/src"],
35-
"@tanstack/query-devtools": ["../query-devtools/src"],
36-
"@tanstack/svelte-query": ["../svelte-query/src"]
37-
},
38-
"references": [
39-
{ "path": "../query-core" },
40-
{ "path": "../query-devtools" },
41-
{ "path": "../svelte-query" }
42-
]
34+
"include": ["src", "src/**/*.svelte"]
4335
}

packages/svelte-query/tsconfig.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"allowJs": true,
44
"allowSyntheticDefaultImports": true,
55
"checkJs": true,
6-
"composite": true,
76
"esModuleInterop": true,
87
"forceConsistentCasingInFileNames": true,
98
"importsNotUsedAsValues": "error",
@@ -20,15 +19,16 @@
2019
"noUnusedLocals": true,
2120
"noUnusedParameters": true,
2221
"resolveJsonModule": true,
23-
"rootDir": "./src",
2422
"skipLibCheck": true,
2523
"sourceMap": true,
2624
"strict": true,
2725
"strictNullChecks": true,
2826
"target": "esnext",
2927
"tsBuildInfoFile": "./build/.tsbuildinfo",
30-
"types": ["vitest/globals", "@testing-library/jest-dom"]
28+
"types": ["vitest/globals", "@testing-library/jest-dom"],
29+
"paths": {
30+
"@tanstack/query-core": ["../query-core/src"]
31+
}
3132
},
32-
"include": ["src", "src/**/*.svelte"],
33-
"references": [{ "path": "../query-core" }]
33+
"include": ["src", "src/**/*.svelte"]
3434
}

0 commit comments

Comments
 (0)