From 34e94b7bd5e59ab2af84a801503828d74ffc9143 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sat, 25 May 2024 18:04:34 -0400 Subject: [PATCH] WIP --- package-lock.json | 13 +++++++++++++ package.json | 1 + tsconfig.json | 10 +++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 8860f303a..f03db9c0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,6 +115,7 @@ "@react-native/js-polyfills": "^0.74.83", "@react-native/metro-babel-transformer": "^0.74.83", "@react-native/metro-config": "^0.74.83", + "@react-native/typescript-config": "0.73.1", "@tsconfig/react-native": "^3.0.2", "@types/bip38": "^3.1.2", "@types/bs58check": "^2.1.0", @@ -5837,6 +5838,12 @@ "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz", "integrity": "sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==" }, + "node_modules/@react-native/typescript-config": { + "version": "0.73.1", + "resolved": "https://registry.npmjs.org/@react-native/typescript-config/-/typescript-config-0.73.1.tgz", + "integrity": "sha512-7Wrmdp972ZO7xvDid+xRGtvX6xz47cpGj7Y7VKlUhSVFFqbOGfB5WCpY1vMr6R/fjl+Og2fRw+TETN2+JnJi0w==", + "dev": true + }, "node_modules/@react-native/virtualized-lists": { "version": "0.73.4", "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.73.4.tgz", @@ -26750,6 +26757,12 @@ "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.73.2.tgz", "integrity": "sha512-bRBcb2T+I88aG74LMVHaKms2p/T8aQd8+BZ7LuuzXlRfog1bMWWn/C5i0HVuvW4RPtXQYgIlGiXVDy9Ir1So/w==" }, + "@react-native/typescript-config": { + "version": "0.73.1", + "resolved": "https://registry.npmjs.org/@react-native/typescript-config/-/typescript-config-0.73.1.tgz", + "integrity": "sha512-7Wrmdp972ZO7xvDid+xRGtvX6xz47cpGj7Y7VKlUhSVFFqbOGfB5WCpY1vMr6R/fjl+Og2fRw+TETN2+JnJi0w==", + "dev": true + }, "@react-native/virtualized-lists": { "version": "0.73.4", "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.73.4.tgz", diff --git a/package.json b/package.json index 88f38f123..614fa598b 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@react-native/metro-babel-transformer": "^0.74.83", "@react-native/metro-config": "^0.74.83", "@tsconfig/react-native": "^3.0.2", + "@react-native/typescript-config": "0.73.1", "@types/bip38": "^3.1.2", "@types/bs58check": "^2.1.0", "@types/create-hash": "^1.2.2", diff --git a/tsconfig.json b/tsconfig.json index baf6058d8..4c571d5ed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,15 @@ "skipLibCheck": true, "resolveJsonModule": true, "module": "esnext", + "moduleResolution": "node" }, "extends": "@react-native/typescript-config/tsconfig.json", - "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js", "components/react-native-draggable-flatlist", "scripts/maccatalystpatches"], + "exclude": [ + "node_modules", + "babel.config.js", + "metro.config.js", + "jest.config.js", + "components/react-native-draggable-flatlist", + "scripts/maccatalystpatches" + ] }