Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Fix tsconfig.json package mappings

Changed files
+47 -62
exchanges
graphcache
packages
core
preact-urql
react-urql
svelte-urql
scripts
typescript
+2 -2
exchanges/graphcache/tsconfig.json
···
{
-
"extends": "../../scripts/typescript/tsconfig.json",
-
"include": ["src/**/*.ts", "src/**/*.tsx"]
+
"extends": "../../tsconfig.json",
+
"include": ["src"]
}
+4
packages/core/tsconfig.json
···
+
{
+
"extends": "../../tsconfig.json",
+
"include": ["src"]
+
}
+2 -20
packages/preact-urql/tsconfig.json
···
{
-
"compilerOptions": {
-
"esModuleInterop": true,
-
"noUnusedLocals": true,
-
"rootDir": "./src",
-
"baseUrl": ".",
-
"outDir": "dist/cjs",
-
"lib": ["dom", "esnext"],
-
"jsxFactory": "h",
-
"jsx": "react",
-
"declaration": false,
-
"module": "es2015",
-
"moduleResolution": "node",
-
"target": "esnext",
-
"strict": true,
-
"noImplicitAny": false,
-
"noUnusedParameters": true,
-
"sourceMap": true,
-
"pretty": true
-
},
-
"include": ["src/**/*.ts", "src/**/*.tsx"]
+
"extends": "../../tsconfig.json",
+
"include": ["src"]
}
+2 -2
packages/react-urql/tsconfig.json
···
{
-
"extends": "../../scripts/typescript/tsconfig.json",
-
"include": ["src/**/*.ts", "src/**/*.tsx"]
+
"extends": "../../tsconfig.json",
+
"include": ["src"]
}
+2 -20
packages/svelte-urql/tsconfig.json
···
{
-
"compilerOptions": {
-
"esModuleInterop": true,
-
"noUnusedLocals": true,
-
"rootDir": "./src",
-
"baseUrl": ".",
-
"outDir": "dist/cjs",
-
"lib": ["dom", "esnext"],
-
"jsxFactory": "h",
-
"jsx": "react",
-
"declaration": false,
-
"module": "es2015",
-
"moduleResolution": "node",
-
"target": "esnext",
-
"strict": true,
-
"noImplicitAny": false,
-
"noUnusedParameters": true,
-
"sourceMap": true,
-
"pretty": true
-
},
-
"include": ["src/**/*.ts", "src/**/*.tsx"]
+
"extends": "../../tsconfig.json",
+
"include": ["src"]
}
-18
scripts/typescript/tsconfig.json
···
-
{
-
"compilerOptions": {
-
"esModuleInterop": true,
-
"forceConsistentCasingInFileNames": true,
-
"noUnusedLocals": true,
-
"declaration": false,
-
"rootDir": "./src",
-
"baseUrl": ".",
-
"lib": ["dom", "esnext"],
-
"jsx": "react",
-
"module": "es2015",
-
"moduleResolution": "node",
-
"target": "esnext",
-
"strict": true,
-
"noImplicitAny": false,
-
"noUnusedParameters": true
-
}
-
}
+35
tsconfig.json
···
+
{
+
"compilerOptions": {
+
"baseUrl": "./",
+
"paths": {
+
"@urql/core": ["packages/core/src"],
+
"@urql/exchange-graphcache": ["exchanges/graphcache/src"],
+
"urql": ["packages/react-urql/src"],
+
"preact-urql": ["packages/preact-urql/src"],
+
"svelte-urql": ["packages/svelte-urql/src"]
+
},
+
"esModuleInterop": true,
+
"forceConsistentCasingInFileNames": true,
+
"noUnusedLocals": true,
+
"declaration": false,
+
"lib": ["dom", "esnext"],
+
"jsx": "react",
+
"module": "es2015",
+
"moduleResolution": "node",
+
"target": "esnext",
+
"strict": true,
+
"noImplicitAny": false,
+
"noUnusedParameters": true
+
},
+
"include": [
+
"packages",
+
"exchanges"
+
],
+
"exclude": [
+
"scripts",
+
"packages/*/examples",
+
"packages/*/dist",
+
"exchanges/*/examples",
+
"exchanges/*/dist"
+
]
+
}