Adjust with tsconfig.build.json inside packages (#1377)

This commit is contained in:
Jaco
2022-01-12 10:14:28 +02:00
committed by GitHub
parent 98932406b9
commit d259174901
24 changed files with 195 additions and 119 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@polkadot/dev": "^0.65.27",
"@polkadot/dev": "^0.65.31",
"@types/jest": "^27.4.0"
},
"resolutions": {
@@ -6,6 +6,8 @@
"rootDir": "./src"
},
"references": [
{ "path": "../util" }
{
"path": "../util/tsconfig.build.json"
}
]
}
@@ -6,8 +6,11 @@
"rootDir": "./src"
},
"references": [
{ "path": "../hw-ledger" },
{ "path": "../util" },
{ "path": "../x-fetch" }
{
"path": "../hw-ledger-transports/tsconfig.build.json"
},
{
"path": "../util/tsconfig.build.json"
}
]
}
@@ -6,7 +6,11 @@
"rootDir": "./src"
},
"references": [
{ "path": "../hw-ledger-transports" },
{ "path": "../util" }
{
"path": "../util/tsconfig.build.json"
},
{
"path": "../util-crypto/tsconfig.build.json"
}
]
}
+19
View File
@@ -0,0 +1,19 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../hw-ledger/tsconfig.build.json"
},
{
"path": "../util/tsconfig.build.json"
},
{
"path": "../x-fetch/tsconfig.build.json"
}
]
}
+22
View File
@@ -0,0 +1,22 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../networks/tsconfig.build.json"
},
{
"path": "../util/tsconfig.build.json"
},
{
"path": "../x-bigint/tsconfig.build.json"
},
{
"path": "../x-randomvalues/tsconfig.build.json"
}
]
}
-14
View File
@@ -1,14 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../networks" },
{ "path": "../util" },
{ "path": "../x-bigint" },
{ "path": "../x-randomvalues" }
]
}
+25
View File
@@ -0,0 +1,25 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../x-bigint/tsconfig.build.json"
},
{
"path": "../x-global/tsconfig.build.json"
},
{
"path": "../x-randomvalues/tsconfig.build.json"
},
{
"path": "../x-textdecoder/tsconfig.build.json"
},
{
"path": "../x-textencoder/tsconfig.build.json"
}
]
}
-15
View File
@@ -1,15 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-bigint" },
{ "path": "../x-global" },
{ "path": "../x-randomvalues" },
{ "path": "../x-textdecoder" },
{ "path": "../x-textencoder" }
]
}
@@ -6,7 +6,8 @@
"rootDir": "./src"
},
"references": [
{ "path": "../util" },
{ "path": "../util-crypto" }
{
"path": "../x-global/tsconfig.build.json"
}
]
}
@@ -6,6 +6,8 @@
"rootDir": "./src"
},
"references": [
{ "path": "../util" }
{
"path": "../util/tsconfig.build.json"
}
]
}
@@ -6,6 +6,8 @@
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
{
"path": "../x-global/tsconfig.build.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
]
}
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../x-global/tsconfig.build.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
]
}
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../x-global/tsconfig.build.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
]
}
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../x-global/tsconfig.build.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
]
}
+13
View File
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{
"path": "../x-global/tsconfig.build.json"
}
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../x-global" }
]
}
+42 -14
View File
@@ -4,19 +4,47 @@
},
"files": [],
"references": [
{ "path": "./packages/hw-ledger" },
{ "path": "./packages/hw-ledger-transports" },
{ "path": "./packages/keyring" },
{ "path": "./packages/networks" },
{ "path": "./packages/util" },
{ "path": "./packages/util-crypto" },
{ "path": "./packages/x-bigint" },
{ "path": "./packages/x-bundle" },
{ "path": "./packages/x-fetch" },
{ "path": "./packages/x-global" },
{ "path": "./packages/x-randomvalues" },
{ "path": "./packages/x-textdecoder" },
{ "path": "./packages/x-textencoder" },
{ "path": "./packages/x-ws" },
{
"path": "./packages/hw-ledger/tsconfig.build.json"
},
{
"path": "./packages/hw-ledger-transports/tsconfig.build.json"
},
{
"path": "./packages/keyring/tsconfig.build.json"
},
{
"path": "./packages/networks/tsconfig.build.json"
},
{
"path": "./packages/util/tsconfig.build.json"
},
{
"path": "./packages/util-crypto/tsconfig.build.json"
},
{
"path": "./packages/x-bigint/tsconfig.build.json"
},
{
"path": "./packages/x-bundle/tsconfig.build.json"
},
{
"path": "./packages/x-fetch/tsconfig.build.json"
},
{
"path": "./packages/x-global/tsconfig.build.json"
},
{
"path": "./packages/x-randomvalues/tsconfig.build.json"
},
{
"path": "./packages/x-textdecoder/tsconfig.build.json"
},
{
"path": "./packages/x-textencoder/tsconfig.build.json"
},
{
"path": "./packages/x-ws/tsconfig.build.json"
}
]
}
+10 -10
View File
@@ -1361,9 +1361,9 @@ __metadata:
languageName: node
linkType: hard
"@babel/register@npm:^7.16.8":
version: 7.16.8
resolution: "@babel/register@npm:7.16.8"
"@babel/register@npm:^7.16.9":
version: 7.16.9
resolution: "@babel/register@npm:7.16.9"
dependencies:
clone-deep: ^4.0.1
find-cache-dir: ^2.0.0
@@ -1372,7 +1372,7 @@ __metadata:
source-map-support: ^0.5.16
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: e6b53de9eff3766cf62397561d3250c1c9da0cd67c5879c439140c42cf5a0a017b69025ec526c015af0b5ae7a50f7df61415be68ff6bb0af78af99a58ba59f85
checksum: bbe9552c9e5816aec2bf7d899b43f95fd649714f38d14de48f42c895cc9ef65708f1359f393c235d5f02224c115544aeeb174495682a07734cdf9484ed2e6175
languageName: node
linkType: hard
@@ -1958,9 +1958,9 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.65.27":
version: 0.65.27
resolution: "@polkadot/dev@npm:0.65.27"
"@polkadot/dev@npm:^0.65.31":
version: 0.65.31
resolution: "@polkadot/dev@npm:0.65.31"
dependencies:
"@babel/cli": ^7.16.8
"@babel/core": ^7.16.7
@@ -1976,7 +1976,7 @@ __metadata:
"@babel/preset-env": ^7.16.8
"@babel/preset-react": ^7.16.7
"@babel/preset-typescript": ^7.16.7
"@babel/register": ^7.16.8
"@babel/register": ^7.16.9
"@babel/runtime": ^7.16.7
"@rollup/plugin-alias": ^3.1.9
"@rollup/plugin-commonjs": ^21.0.1
@@ -2046,7 +2046,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: cbd5d65a9d7fa78c1a8e5a214b5fbf7e2e2286fe35c16780f8dd069076adbf0c91dca647ba9d83c62e78b527df1b669528c2c3b8683e0c0711cbdfa47b3830f3
checksum: 8c2b24fa398aee60ba0ffa72c9d0c7964b565e94702511b24d52189c36d3703c3b325080384bcca29c85ad5b5e7057131d42b91e566df6fef5783af8ed8298bf
languageName: node
linkType: hard
@@ -9176,7 +9176,7 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.16.7
"@polkadot/dev": ^0.65.27
"@polkadot/dev": ^0.65.31
"@types/jest": ^27.4.0
languageName: unknown
linkType: soft