Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

global: remove `maxNodeModuleJsDepth` from tsconfig

Abdullah Atta0417981538d7
diff --git a/apps/mobile/tsconfig.json b/apps/mobile/tsconfig.json
index 2f0d2fc92..593df0fec 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 1b8df9e70..4f9b45e69 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 01ddaf231..4f9b45e69 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 70ac09b60..bec1ab94a 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 ded92adea..fb7955fa1 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 80ac9524f..740087b66 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 a6c28f3f4..f655cc416 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 ebdd54ed6..3847e6cd4 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 7208f0381..518bd05b1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -11,7 +11,6 @@
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"isolatedModules": true,
- "downlevelIteration": true,
"declaration": true,
"removeComments": false
}