From d5cbbd082edbbd39e91f8c70cb906341ca70ca8a Mon Sep 17 00:00:00 2001 From: Peter Sanderson Date: Thu, 7 Nov 2024 23:59:14 +0100 Subject: [PATCH] chore: fix 'yarn update-project-references' --- packages/blockchain-link-utils/tsconfig.json | 1 + packages/blockchain-link-utils/tsconfig.lib.json | 3 +++ packages/blockchain-link/tsconfig.json | 1 + packages/blockchain-link/tsconfig.lib.json | 3 +++ packages/coinjoin/tsconfig.json | 1 + packages/connect-explorer/tsconfig.json | 3 ++- packages/connect-iframe/tsconfig.json | 3 ++- packages/connect-plugin-stellar/tsconfig.json | 5 ++++- packages/connect-plugin-stellar/tsconfig.lib.json | 3 +++ packages/connect-popup/tsconfig.json | 1 + packages/connect-web/tsconfig.json | 3 ++- packages/connect-web/tsconfig.lib.json | 3 +++ packages/connect-webextension/tsconfig.json | 1 + packages/connect-webextension/tsconfig.lib.json | 3 +++ packages/connect/tsconfig.json | 1 + packages/connect/tsconfig.lib.json | 3 +++ packages/product-components/tsconfig.json | 3 ++- packages/schema-utils/tsconfig.json | 2 +- packages/schema-utils/tsconfig.lib.json | 6 +++++- packages/suite-build/tsconfig.json | 3 ++- packages/suite-storage/tsconfig.json | 1 + packages/suite-web/tsconfig.json | 1 + packages/suite/tsconfig.json | 3 ++- packages/transport-test/tsconfig.json | 1 + packages/transport/tsconfig.json | 1 + packages/transport/tsconfig.lib.json | 3 +++ packages/utils/tsconfig.json | 2 +- packages/utils/tsconfig.lib.json | 6 +++++- packages/utxo-lib/tsconfig.json | 5 ++++- packages/utxo-lib/tsconfig.lib.json | 3 +++ scripts/tsconfig.json | 4 +++- suite-native/react-native-graph/tsconfig.json | 3 ++- tsconfig.json | 2 +- 33 files changed, 72 insertions(+), 15 deletions(-) diff --git a/packages/blockchain-link-utils/tsconfig.json b/packages/blockchain-link-utils/tsconfig.json index 4a916aecceb..384167f6a4b 100644 --- a/packages/blockchain-link-utils/tsconfig.json +++ b/packages/blockchain-link-utils/tsconfig.json @@ -5,6 +5,7 @@ { "path": "../env-utils" }, { "path": "../utils" }, { "path": "../blockchain-link-types" }, + { "path": "../eslint" }, { "path": "../type-utils" } ] } diff --git a/packages/blockchain-link-utils/tsconfig.lib.json b/packages/blockchain-link-utils/tsconfig.lib.json index 0a807b03a87..ff5e7509065 100644 --- a/packages/blockchain-link-utils/tsconfig.lib.json +++ b/packages/blockchain-link-utils/tsconfig.lib.json @@ -14,6 +14,9 @@ { "path": "../blockchain-link-types" }, + { + "path": "../eslint" + }, { "path": "../type-utils" } diff --git a/packages/blockchain-link/tsconfig.json b/packages/blockchain-link/tsconfig.json index 8835026e99c..e13bab8d4a8 100644 --- a/packages/blockchain-link/tsconfig.json +++ b/packages/blockchain-link/tsconfig.json @@ -13,6 +13,7 @@ { "path": "../utils" }, { "path": "../utxo-lib" }, { "path": "../e2e-utils" }, + { "path": "../eslint" }, { "path": "../type-utils" } ] } diff --git a/packages/blockchain-link/tsconfig.lib.json b/packages/blockchain-link/tsconfig.lib.json index 54918d49e91..428254ad4b5 100644 --- a/packages/blockchain-link/tsconfig.lib.json +++ b/packages/blockchain-link/tsconfig.lib.json @@ -25,6 +25,9 @@ { "path": "../e2e-utils" }, + { + "path": "../eslint" + }, { "path": "../type-utils" } diff --git a/packages/coinjoin/tsconfig.json b/packages/coinjoin/tsconfig.json index 0bd72f7b1af..0dc96bcb848 100644 --- a/packages/coinjoin/tsconfig.json +++ b/packages/coinjoin/tsconfig.json @@ -8,6 +8,7 @@ { "path": "../blockchain-link" }, { "path": "../blockchain-link-types" }, { "path": "../blockchain-link-utils" }, + { "path": "../eslint" }, { "path": "../utils" }, { "path": "../utxo-lib" } ] diff --git a/packages/connect-explorer/tsconfig.json b/packages/connect-explorer/tsconfig.json index 587719a4cd5..ce360c089b1 100644 --- a/packages/connect-explorer/tsconfig.json +++ b/packages/connect-explorer/tsconfig.json @@ -24,6 +24,7 @@ { "path": "../protobuf" }, { "path": "../schema-utils" }, { "path": "../theme" }, - { "path": "../utils" } + { "path": "../utils" }, + { "path": "../eslint" } ] } diff --git a/packages/connect-iframe/tsconfig.json b/packages/connect-iframe/tsconfig.json index b85b5eb4b90..22e8c593575 100644 --- a/packages/connect-iframe/tsconfig.json +++ b/packages/connect-iframe/tsconfig.json @@ -9,6 +9,7 @@ { "path": "../connect" }, { "path": "../connect-analytics" }, { "path": "../connect-common" }, - { "path": "../env-utils" } + { "path": "../env-utils" }, + { "path": "../eslint" } ] } diff --git a/packages/connect-plugin-stellar/tsconfig.json b/packages/connect-plugin-stellar/tsconfig.json index a8cca951753..72cf2ecc55c 100644 --- a/packages/connect-plugin-stellar/tsconfig.json +++ b/packages/connect-plugin-stellar/tsconfig.json @@ -2,5 +2,8 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "./libDev" }, "include": ["."], - "references": [{ "path": "../utils" }] + "references": [ + { "path": "../utils" }, + { "path": "../eslint" } + ] } diff --git a/packages/connect-plugin-stellar/tsconfig.lib.json b/packages/connect-plugin-stellar/tsconfig.lib.json index 8cd606846ba..59c8b0c6763 100644 --- a/packages/connect-plugin-stellar/tsconfig.lib.json +++ b/packages/connect-plugin-stellar/tsconfig.lib.json @@ -7,6 +7,9 @@ "references": [ { "path": "../utils" + }, + { + "path": "../eslint" } ] } diff --git a/packages/connect-popup/tsconfig.json b/packages/connect-popup/tsconfig.json index cf08ba98670..0e722bc91b0 100644 --- a/packages/connect-popup/tsconfig.json +++ b/packages/connect-popup/tsconfig.json @@ -16,6 +16,7 @@ { "path": "../device-utils" }, { "path": "../transport" }, { "path": "../urls" }, + { "path": "../eslint" }, { "path": "../node-utils" }, { "path": "../trezor-user-env-link" }, { "path": "../utils" } diff --git a/packages/connect-web/tsconfig.json b/packages/connect-web/tsconfig.json index a9b9b19bebd..33ef6527d75 100644 --- a/packages/connect-web/tsconfig.json +++ b/packages/connect-web/tsconfig.json @@ -23,6 +23,7 @@ "references": [ { "path": "../connect" }, { "path": "../connect-common" }, - { "path": "../utils" } + { "path": "../utils" }, + { "path": "../eslint" } ] } diff --git a/packages/connect-web/tsconfig.lib.json b/packages/connect-web/tsconfig.lib.json index 28965c9985a..0120e049f8f 100644 --- a/packages/connect-web/tsconfig.lib.json +++ b/packages/connect-web/tsconfig.lib.json @@ -15,6 +15,9 @@ }, { "path": "../utils" + }, + { + "path": "../eslint" } ] } diff --git a/packages/connect-webextension/tsconfig.json b/packages/connect-webextension/tsconfig.json index 1de2775067c..865c4a1398f 100644 --- a/packages/connect-webextension/tsconfig.json +++ b/packages/connect-webextension/tsconfig.json @@ -11,6 +11,7 @@ { "path": "../connect-common" }, { "path": "../connect-web" }, { "path": "../utils" }, + { "path": "../eslint" }, { "path": "../node-utils" }, { "path": "../trezor-user-env-link" } ] diff --git a/packages/connect-webextension/tsconfig.lib.json b/packages/connect-webextension/tsconfig.lib.json index 2600ac9935e..b2f9e227332 100644 --- a/packages/connect-webextension/tsconfig.lib.json +++ b/packages/connect-webextension/tsconfig.lib.json @@ -19,6 +19,9 @@ { "path": "../utils" }, + { + "path": "../eslint" + }, { "path": "../node-utils" }, diff --git a/packages/connect/tsconfig.json b/packages/connect/tsconfig.json index 06ad952f548..9461881cd2a 100644 --- a/packages/connect/tsconfig.json +++ b/packages/connect/tsconfig.json @@ -12,6 +12,7 @@ { "path": "../transport" }, { "path": "../utils" }, { "path": "../utxo-lib" }, + { "path": "../eslint" }, { "path": "../trezor-user-env-link" } ] } diff --git a/packages/connect/tsconfig.lib.json b/packages/connect/tsconfig.lib.json index dca0a4a6e3b..d9412084d95 100644 --- a/packages/connect/tsconfig.lib.json +++ b/packages/connect/tsconfig.lib.json @@ -34,6 +34,9 @@ { "path": "../utxo-lib" }, + { + "path": "../eslint" + }, { "path": "../trezor-user-env-link" } diff --git a/packages/product-components/tsconfig.json b/packages/product-components/tsconfig.json index 4a1e37f9552..5389a996a22 100644 --- a/packages/product-components/tsconfig.json +++ b/packages/product-components/tsconfig.json @@ -29,6 +29,7 @@ { "path": "../react-utils" }, { "path": "../theme" }, { "path": "../urls" }, - { "path": "../utils" } + { "path": "../utils" }, + { "path": "../eslint" } ] } diff --git a/packages/schema-utils/tsconfig.json b/packages/schema-utils/tsconfig.json index c7ebe855e21..d836e07709c 100644 --- a/packages/schema-utils/tsconfig.json +++ b/packages/schema-utils/tsconfig.json @@ -1,5 +1,5 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "libDev" }, - "references": [] + "references": [{ "path": "../eslint" }] } diff --git a/packages/schema-utils/tsconfig.lib.json b/packages/schema-utils/tsconfig.lib.json index 81f5735adfc..3528a06e0f9 100644 --- a/packages/schema-utils/tsconfig.lib.json +++ b/packages/schema-utils/tsconfig.lib.json @@ -4,5 +4,9 @@ "outDir": "lib" }, "include": ["./src"], - "references": [] + "references": [ + { + "path": "../eslint" + } + ] } diff --git a/packages/suite-build/tsconfig.json b/packages/suite-build/tsconfig.json index ec831118d03..c049babcf11 100644 --- a/packages/suite-build/tsconfig.json +++ b/packages/suite-build/tsconfig.json @@ -6,6 +6,7 @@ { "path": "../../suite-common/suite-config" }, - { "path": "../suite" } + { "path": "../suite" }, + { "path": "../eslint" } ] } diff --git a/packages/suite-storage/tsconfig.json b/packages/suite-storage/tsconfig.json index 1c6db14a535..f7434c2f17a 100644 --- a/packages/suite-storage/tsconfig.json +++ b/packages/suite-storage/tsconfig.json @@ -4,6 +4,7 @@ "include": [".", "**/*.json"], "references": [ { "path": "../env-utils" }, + { "path": "../eslint" }, { "path": "../utils" } ] } diff --git a/packages/suite-web/tsconfig.json b/packages/suite-web/tsconfig.json index 853bf2ae107..b0713b02bcc 100644 --- a/packages/suite-web/tsconfig.json +++ b/packages/suite-web/tsconfig.json @@ -24,6 +24,7 @@ }, { "path": "../e2e-utils" }, { "path": "../env-utils" }, + { "path": "../eslint" }, { "path": "../protobuf" }, { "path": "../suite-analytics" }, { "path": "../transport" }, diff --git a/packages/suite/tsconfig.json b/packages/suite/tsconfig.json index dad2bc930c3..384e5e6006f 100644 --- a/packages/suite/tsconfig.json +++ b/packages/suite/tsconfig.json @@ -107,6 +107,7 @@ { "path": "../theme" }, { "path": "../type-utils" }, { "path": "../urls" }, - { "path": "../utils" } + { "path": "../utils" }, + { "path": "../eslint" } ] } diff --git a/packages/transport-test/tsconfig.json b/packages/transport-test/tsconfig.json index 23e480cb5d3..2b66b2baf84 100644 --- a/packages/transport-test/tsconfig.json +++ b/packages/transport-test/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "libDev" }, "references": [ + { "path": "../eslint" }, { "path": "../protobuf" }, { "path": "../transport" }, { "path": "../transport-bridge" }, diff --git a/packages/transport/tsconfig.json b/packages/transport/tsconfig.json index 43106de2360..8581a057a40 100644 --- a/packages/transport/tsconfig.json +++ b/packages/transport/tsconfig.json @@ -8,6 +8,7 @@ { "path": "../protobuf" }, { "path": "../protocol" }, { "path": "../utils" }, + { "path": "../eslint" }, { "path": "../trezor-user-env-link" } ] } diff --git a/packages/transport/tsconfig.lib.json b/packages/transport/tsconfig.lib.json index d7bb9e4e210..22c4d94fcbe 100644 --- a/packages/transport/tsconfig.lib.json +++ b/packages/transport/tsconfig.lib.json @@ -15,6 +15,9 @@ { "path": "../utils" }, + { + "path": "../eslint" + }, { "path": "../trezor-user-env-link" } diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index b5d4399fca8..1ef32958c3a 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -5,5 +5,5 @@ "outDir": "./libDev" }, "include": ["."], - "references": [] + "references": [{ "path": "../eslint" }] } diff --git a/packages/utils/tsconfig.lib.json b/packages/utils/tsconfig.lib.json index 81f5735adfc..3528a06e0f9 100644 --- a/packages/utils/tsconfig.lib.json +++ b/packages/utils/tsconfig.lib.json @@ -4,5 +4,9 @@ "outDir": "lib" }, "include": ["./src"], - "references": [] + "references": [ + { + "path": "../eslint" + } + ] } diff --git a/packages/utxo-lib/tsconfig.json b/packages/utxo-lib/tsconfig.json index a8cca951753..72cf2ecc55c 100644 --- a/packages/utxo-lib/tsconfig.json +++ b/packages/utxo-lib/tsconfig.json @@ -2,5 +2,8 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "./libDev" }, "include": ["."], - "references": [{ "path": "../utils" }] + "references": [ + { "path": "../utils" }, + { "path": "../eslint" } + ] } diff --git a/packages/utxo-lib/tsconfig.lib.json b/packages/utxo-lib/tsconfig.lib.json index 8a0c4265588..7cb2b374091 100644 --- a/packages/utxo-lib/tsconfig.lib.json +++ b/packages/utxo-lib/tsconfig.lib.json @@ -7,6 +7,9 @@ "references": [ { "path": "../utils" + }, + { + "path": "../eslint" } ] } diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index d08528cac2c..53bed72cc46 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,5 +2,7 @@ "extends": "../tsconfig.base.json", "compilerOptions": { "outDir": "libDev" }, "include": [".", "**/*.json"], - "references": [] + "references": [ + { "path": "../packages/eslint" } + ] } diff --git a/suite-native/react-native-graph/tsconfig.json b/suite-native/react-native-graph/tsconfig.json index 89ad15d0efe..a3e1a467c4a 100644 --- a/suite-native/react-native-graph/tsconfig.json +++ b/suite-native/react-native-graph/tsconfig.json @@ -7,6 +7,7 @@ "references": [ { "path": "../../suite-common/suite-utils" - } + }, + { "path": "../../packages/eslint" } ] } diff --git a/tsconfig.json b/tsconfig.json index 027147744d6..fd8d0ed4e63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -158,10 +158,10 @@ }, { "path": "packages/crypto-utils" }, { "path": "packages/device-utils" }, - { "path": "packages/eslint" }, { "path": "packages/dom-utils" }, { "path": "packages/e2e-utils" }, { "path": "packages/env-utils" }, + { "path": "packages/eslint" }, { "path": "packages/ipc-proxy" }, { "path": "packages/node-utils" }, { "path": "packages/product-components" },