Adjust tsconfig usage (w/ latest dev) (#5648)

This commit is contained in:
Jaco
2023-05-18 11:59:11 +03:00
committed by GitHub
parent f10f79c0ac
commit 60dd4e9699
19 changed files with 362 additions and 49 deletions
+1
View File
@@ -7,6 +7,7 @@
},
"exclude": [
"**/*.spec.ts",
"**/mod.ts",
"**/kusama/*.ts",
"**/polkadot/*.ts"
],
+3
View File
@@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/mod.ts"
],
"references": [
{ "path": "../rpc-core/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" }
+3 -4
View File
@@ -6,11 +6,10 @@
"rootDir": "./src"
},
"exclude": [
"**/test/**/*.json",
"**/test/**/*.ts",
"**/test/**/*.wasm",
"**/checkTypes.manual.ts",
"**/test/**/*",
"**/*.spec.ts",
"**/checkTypes.manual.ts",
"**/mod.ts",
"mock.ts"
],
"references": [
+1
View File
@@ -8,6 +8,7 @@
"exclude": [
"**/test/*",
"**/checkTypes.manual.ts",
"**/mod.ts",
"**/*.spec.ts"
],
"references": [
+1
View File
@@ -7,6 +7,7 @@
},
"exclude": [
"**/checkTypes.manual.ts",
"**/mod.ts",
"**/*.spec.ts",
"**/test/**/*"
],
+3
View File
@@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/mod.ts"
],
"references": [
{ "path": "../rpc-core/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" },
+1
View File
@@ -7,6 +7,7 @@
},
"exclude": [
"**/checkTypes.manual.ts",
"**/mod.ts",
"**/*.spec.ts"
],
"references": [
+2 -1
View File
@@ -7,7 +7,8 @@
"resolveJsonModule": true
},
"exclude": [
"**/*.spec.ts"
"**/*.spec.ts",
"**/mod.ts"
],
"references": [
{ "path": "../types/tsconfig.build.json" },
+3 -1
View File
@@ -9,7 +9,9 @@
"src/**/*"
],
"exclude": [
"scripts/**/*"
"scripts/**/*",
"**/*.spec.ts",
"**/mod.ts"
],
"references": [
{ "path": "../api/tsconfig.build.json" },
+17
View File
@@ -0,0 +1,17 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src",
"emitDeclarationOnly": false,
"noEmit": true
},
"include": [
"**/*.spec.ts"
],
"references": [
{ "path": "../typegen/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" }
]
}
@@ -5,6 +5,9 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/mod.ts"
],
"references": [
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" }
+1
View File
@@ -8,6 +8,7 @@
"exclude": [
"**/*.data.ts",
"**/checkTypes.manual.ts",
"**/mod.ts",
"**/*.spec.ts",
"**/test/*"
],
+2 -1
View File
@@ -6,7 +6,8 @@
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
"**/*.spec.ts",
"**/mod.ts"
],
"references": [
{ "path": "../types-codec/tsconfig.build.json" }
+2 -1
View File
@@ -6,7 +6,8 @@
"rootDir": "./src"
},
"exclude": [
"**/*.spec.ts"
"**/*.spec.ts",
"**/mod.ts"
],
"references": [
{ "path": "../types/tsconfig.build.json" },
@@ -10,5 +10,8 @@
"src/**/*.json",
"src/**/*.ts"
],
"exclude": [
"**/mod.ts"
],
"references": []
}
+1
View File
@@ -7,6 +7,7 @@
},
"exclude": [
"**/checkTypes.manual.ts",
"**/mod.ts",
"**/*.spec.ts"
],
"references": [