From 5cbc65cea4619c4dc49c7c41993c673a88a57313 Mon Sep 17 00:00:00 2001 From: Kilian Finger Date: Sat, 19 Oct 2024 15:24:39 +0200 Subject: [PATCH] chore: align tsconfigs --- packages/examples/tsconfig.json | 8 ++++++++ packages/expo-app/tsconfig.json | 14 ++------------ packages/react-native-app/tsconfig.json | 17 ++++++----------- 3 files changed, 16 insertions(+), 23 deletions(-) create mode 100644 packages/examples/tsconfig.json diff --git a/packages/examples/tsconfig.json b/packages/examples/tsconfig.json new file mode 100644 index 000000000..3b73000be --- /dev/null +++ b/packages/examples/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "strict": true, + "noEmit": true + }, + "include": ["**/*.ts", "**/*.tsx"] +} diff --git a/packages/expo-app/tsconfig.json b/packages/expo-app/tsconfig.json index e50f0a493..c7b95c2a0 100644 --- a/packages/expo-app/tsconfig.json +++ b/packages/expo-app/tsconfig.json @@ -1,17 +1,7 @@ { "extends": "expo/tsconfig.base", "compilerOptions": { - "strict": true, - "jsx": "preserve", - "paths": { - "@/*": [ - "./src/*" - ], - "@maplibre/maplibre-react-native": ["../../javascript"], - } + "strict": true }, - "include": [ - "**/*.ts", - "**/*.tsx" - ] + "include": ["**/*.ts", "**/*.tsx"] } diff --git a/packages/react-native-app/tsconfig.json b/packages/react-native-app/tsconfig.json index e91508e2c..772c415ae 100644 --- a/packages/react-native-app/tsconfig.json +++ b/packages/react-native-app/tsconfig.json @@ -1,12 +1,7 @@ { - "extends": "../tsconfig.json", - "compilerOptions": { - "noEmit": true, - "paths": { - "@maplibre/maplibre-react-native": ["../../javascript"], - "react": ["./node_modules/@types/react"], - "react-native": ["./node_modules/@types/react-native"] - }, - }, - "include": ["./src/**/*", "index.js", "e2e/firstTest.e2e.js"], - } + "extends": "../../tsconfig.json", + "compilerOptions": { + "strict": true + }, + "include": ["**/*.ts", "**/*.tsx"] +}