Update to tsconfig.build.json inside packages (#4444)

* Update to tsconfig.build.json inside packages

* Update refs
This commit is contained in:
Jaco
2022-01-12 10:44:56 +02:00
committed by GitHub
parent bc4e656745
commit 2ceb727ee6
35 changed files with 361 additions and 212 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/kusama/*.ts",
"**/polkadot/*.ts"
],
"references": [
{
"path": "../api-base/tsconfig.build.json"
},
{
"path": "../rpc-augment/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-augment/tsconfig.build.json"
}
]
}
-19
View File
@@ -1,19 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/kusama/*.ts",
"**/polkadot/*.ts"
],
"references": [
{ "path": "../api-base" },
{ "path": "../rpc-augment" },
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-augment" }
]
}
+5 -5
View File
@@ -10,10 +10,10 @@
"**/kusama/*.ts"
],
"references": [
{ "path": "../api-base" },
{ "path": "../rpc-augment" },
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-augment" }
{ "path": "../api-base/tsconfig.build.json" },
{ "path": "../rpc-augment/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" },
{ "path": "../types-augment/tsconfig.build.json" }
]
}
+5 -5
View File
@@ -10,10 +10,10 @@
"**/polkadot/*.ts"
],
"references": [
{ "path": "../api-base" },
{ "path": "../rpc-augment" },
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-augment" }
{ "path": "../api-base/tsconfig.build.json" },
{ "path": "../rpc-augment/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" },
{ "path": "../types-augment/tsconfig.build.json" }
]
}
@@ -6,7 +6,11 @@
"rootDir": "./src"
},
"references": [
{ "path": "../types" },
{ "path": "../types-codec" }
{
"path": "../rpc-core/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
}
]
}
@@ -14,9 +14,17 @@
"mock.ts"
],
"references": [
{ "path": "../api" },
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-create" }
{
"path": "../api/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-create/tsconfig.build.json"
}
]
}
+4 -4
View File
@@ -17,9 +17,9 @@
"mock.ts"
],
"references": [
{ "path": "../api" },
{ "path": "../api-augment" },
{ "path": "../api-contract" },
{ "path": "../types" }
{ "path": "../api/tsconfig.build.json" },
{ "path": "../api-augment/tsconfig.build.json" },
{ "path": "../api-contract/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" }
]
}
+30
View File
@@ -0,0 +1,30 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/test/*",
"**/checkTypes.manual.ts",
"**/*.spec.ts"
],
"references": [
{
"path": "../api-base/tsconfig.build.json"
},
{
"path": "../api-augment/tsconfig.build.json"
},
{
"path": "../rpc-core/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
}
]
}
-20
View File
@@ -1,20 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/test/*",
"**/checkTypes.manual.ts",
"**/*.spec.ts"
],
"references": [
{ "path": "../api-base" },
{ "path": "../api-augment" },
{ "path": "../rpc-core" },
{ "path": "../types" },
{ "path": "../types-codec" }
]
}
+10 -10
View File
@@ -13,15 +13,15 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../api" },
{ "path": "../api-augment" },
{ "path": "../api-base" },
{ "path": "../api-derive" },
{ "path": "../rpc-augment" },
{ "path": "../rpc-provider" },
{ "path": "../types" },
{ "path": "../types-augment" },
{ "path": "../types-codec" },
{ "path": "../types-support" }
{ "path": "../api/tsconfig.build.json" },
{ "path": "../api-augment/tsconfig.build.json" },
{ "path": "../api-base/tsconfig.build.json" },
{ "path": "../api-derive/tsconfig.build.json" },
{ "path": "../rpc-augment/tsconfig.build.json" },
{ "path": "../rpc-provider/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-augment/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" },
{ "path": "../types-support/tsconfig.build.json" }
]
}
+39
View File
@@ -0,0 +1,39 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/checkTypes.manual.ts",
"**/*.spec.ts",
"**/test/**/*"
],
"references": [
{
"path": "../api-base/tsconfig.build.json"
},
{
"path": "../api-derive/tsconfig.build.json"
},
{
"path": "../rpc-augment/tsconfig.build.json"
},
{
"path": "../rpc-core/tsconfig.build.json"
},
{
"path": "../rpc-provider/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-known/tsconfig.build.json"
}
]
}
-23
View File
@@ -1,23 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"exclude": [
"**/checkTypes.manual.ts",
"**/*.spec.ts",
"**/test/**/*"
],
"references": [
{ "path": "../api-base" },
{ "path": "../api-derive" },
{ "path": "../rpc-augment" },
{ "path": "../rpc-core" },
{ "path": "../rpc-provider" },
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-known" }
]
}
+9 -9
View File
@@ -13,14 +13,14 @@
"**/test/**/*"
],
"references": [
{ "path": "../api" },
{ "path": "../api-augment" },
{ "path": "../api-base" },
{ "path": "../api-derive" },
{ "path": "../rpc-core" },
{ "path": "../rpc-provider" },
{ "path": "../types" },
{ "path": "../types-known" },
{ "path": "../types-support" }
{ "path": "../api/tsconfig.build.json" },
{ "path": "../api-augment/tsconfig.build.json" },
{ "path": "../api-base/tsconfig.build.json" },
{ "path": "../api-derive/tsconfig.build.json" },
{ "path": "../rpc-core/tsconfig.build.json" },
{ "path": "../rpc-provider/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-known/tsconfig.build.json" },
{ "path": "../types-support/tsconfig.build.json" }
]
}
+19
View File
@@ -0,0 +1,19 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../rpc-core/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
}
]
}
-13
View File
@@ -1,13 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../rpc-core" },
{ "path": "../types" },
{ "path": "../types-codec" }
]
}
@@ -10,7 +10,11 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../rpc-provider" },
{ "path": "../types" }
{
"path": "../rpc-provider/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
}
]
}
+4 -4
View File
@@ -12,9 +12,9 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../rpc-core" },
{ "path": "../rpc-augment" },
{ "path": "../rpc-provider" },
{ "path": "../types" }
{ "path": "../rpc-core/tsconfig.build.json" },
{ "path": "../rpc-augment/tsconfig.build.json" },
{ "path": "../rpc-provider/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" }
]
}
@@ -10,7 +10,11 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-support" }
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-support/tsconfig.build.json"
}
]
}
+2 -2
View File
@@ -12,7 +12,7 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../rpc-provider" },
{ "path": "../types" }
{ "path": "../rpc-provider/tsconfig.build.json" },
{ "path": "../types/tsconfig.build.json" }
]
}
+1 -1
View File
@@ -31,7 +31,7 @@
},
"dependencies": {
"@babel/core": "^7.16.7",
"@babel/register": "^7.16.8",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@polkadot/api": "7.3.2-5",
"@polkadot/api-augment": "7.3.2-5",
+37
View File
@@ -0,0 +1,37 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../api/tsconfig.build.json"
},
{
"path": "../api-augment/tsconfig.build.json"
},
{
"path": "../rpc-augment/tsconfig.build.json"
},
{
"path": "../rpc-provider/tsconfig.build.json"
},
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-augment/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-create/tsconfig.build.json"
},
{
"path": "../types-support/tsconfig.build.json"
}
]
}
-19
View File
@@ -1,19 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../api" },
{ "path": "../api-augment" },
{ "path": "../rpc-augment" },
{ "path": "../rpc-provider" },
{ "path": "../types" },
{ "path": "../types-augment" },
{ "path": "../types-codec" },
{ "path": "../types-create" },
{ "path": "../types-support" }
]
}
@@ -6,7 +6,11 @@
"rootDir": "./src"
},
"references": [
{ "path": "../rpc-core" },
{ "path": "../types" }
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
}
]
}
+3 -3
View File
@@ -14,8 +14,8 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-augment" },
{ "path": "../types-support" }
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-augment/tsconfig.build.json" },
{ "path": "../types-support/tsconfig.build.json" }
]
}
@@ -10,6 +10,8 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types-codec" }
{
"path": "../types-codec/tsconfig.build.json"
}
]
}
+2 -2
View File
@@ -12,7 +12,7 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-codec" }
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" }
]
}
+19
View File
@@ -0,0 +1,19 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../types/tsconfig.build.json"
},
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-create/tsconfig.build.json"
}
]
}
-13
View File
@@ -1,13 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../types" },
{ "path": "../types-codec" },
{ "path": "../types-create" }
]
}
@@ -6,6 +6,9 @@
"rootDir": "./src",
"resolveJsonModule": true
},
"include": ["src/**/*.json", "src/**/*.ts"],
"include": [
"src/**/*.json",
"src/**/*.ts"
],
"references": []
}
@@ -11,7 +11,11 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types-codec" },
{ "path": "../types-create" }
{
"path": "../types-codec/tsconfig.build.json"
},
{
"path": "../types-create/tsconfig.build.json"
}
]
}
+5 -5
View File
@@ -13,10 +13,10 @@
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-augment" },
{ "path": "../types-codec" },
{ "path": "../types-create" },
{ "path": "../types-support" }
{ "path": "../types/tsconfig.build.json" },
{ "path": "../types-augment/tsconfig.build.json" },
{ "path": "../types-codec/tsconfig.build.json" },
{ "path": "../types-create/tsconfig.build.json" },
{ "path": "../types-support/tsconfig.build.json" }
]
}