From 0417981538d72ca494ec526dae52c85a61757e6e Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 12 Aug 2023 21:17:45 +0500 Subject: [PATCH] global: remove `maxNodeModuleJsDepth` from tsconfig --- apps/mobile/tsconfig.json | 1 - apps/theme-builder/tsconfig.json | 5 +---- apps/vericrypt/tsconfig.json | 2 -- apps/web/tsconfig.json | 1 - extensions/web-clipper/tsconfig.json | 2 -- packages/common/tsconfig.json | 3 --- packages/core/tsconfig.json | 5 +---- packages/editor-mobile/tsconfig.json | 2 -- tsconfig.json | 1 - 9 files changed, 2 insertions(+), 20 deletions(-) diff --git a/apps/mobile/tsconfig.json b/apps/mobile/tsconfig.json index 2f0d2fc925..593df0fec5 100644 --- a/apps/mobile/tsconfig.json +++ b/apps/mobile/tsconfig.json @@ -6,7 +6,6 @@ "baseUrl": "./", "jsx": "react-native", "noEmit": true, - "maxNodeModuleJsDepth": 5, "types": ["node", "jest", "detox"], "paths": { "@notesnook/*": ["../../packages"], diff --git a/apps/theme-builder/tsconfig.json b/apps/theme-builder/tsconfig.json index 1b8df9e700..4f9b45e691 100644 --- a/apps/theme-builder/tsconfig.json +++ b/apps/theme-builder/tsconfig.json @@ -2,11 +2,8 @@ "extends": "../../tsconfig", "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, "jsx": "react-jsx", - "maxNodeModuleJsDepth": 10, - "noEmit": true, - "downlevelIteration": true + "noEmit": true }, "include": ["src"] } diff --git a/apps/vericrypt/tsconfig.json b/apps/vericrypt/tsconfig.json index 01ddaf231b..4f9b45e691 100644 --- a/apps/vericrypt/tsconfig.json +++ b/apps/vericrypt/tsconfig.json @@ -2,9 +2,7 @@ "extends": "../../tsconfig", "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, "jsx": "react-jsx", - "maxNodeModuleJsDepth": 5, "noEmit": true }, "include": ["src"] diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 70ac09b606..bec1ab94a5 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -4,7 +4,6 @@ "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "jsx": "react-jsx", - "maxNodeModuleJsDepth": 5, "noEmit": true }, "include": ["src", "global.d.ts", "__tests__", "__e2e__"] diff --git a/extensions/web-clipper/tsconfig.json b/extensions/web-clipper/tsconfig.json index ded92adead..fb7955fa1f 100644 --- a/extensions/web-clipper/tsconfig.json +++ b/extensions/web-clipper/tsconfig.json @@ -2,9 +2,7 @@ "extends": "../../tsconfig", "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, "jsx": "react-jsx", - "maxNodeModuleJsDepth": 5, "outDir": "./dist" }, "include": ["src", "global.d.ts"] diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.json index 80ac9524f7..740087b66b 100644 --- a/packages/common/tsconfig.json +++ b/packages/common/tsconfig.json @@ -2,9 +2,6 @@ "extends": "../../tsconfig", "compilerOptions": { "outDir": "./dist", - "maxNodeModuleJsDepth": 10, - "downlevelIteration": true, - "allowJs": true, "jsx": "react-jsx" }, "include": ["src/"] diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index a6c28f3f4c..f655cc416d 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -2,10 +2,7 @@ "extends": "../../tsconfig", "compilerOptions": { "outDir": "./dist", - "maxNodeModuleJsDepth": 10, - "downlevelIteration": true, - "allowJs": true, - "jsx": "react-jsx" + "allowJs": true }, "exclude": ["src/**/*.test.js", "src/**/*.test.skip.js"], "include": ["src/"] diff --git a/packages/editor-mobile/tsconfig.json b/packages/editor-mobile/tsconfig.json index ebdd54ed61..3847e6cd4d 100644 --- a/packages/editor-mobile/tsconfig.json +++ b/packages/editor-mobile/tsconfig.json @@ -5,8 +5,6 @@ "lib": ["dom", "dom.iterable", "esnext"], "jsx": "react-jsx", "noEmit": true, - "downlevelIteration": true, - "maxNodeModuleJsDepth": 5, "allowJs": true }, "include": ["src/"] diff --git a/tsconfig.json b/tsconfig.json index 7208f0381f..518bd05b1c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,6 @@ "noFallthroughCasesInSwitch": true, "resolveJsonModule": true, "isolatedModules": true, - "downlevelIteration": true, "declaration": true, "removeComments": false }