From a68f5aa83e89fa1dc7e88e396fbff65d77fa7038 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 28 Feb 2022 15:35:27 -0800 Subject: [PATCH] Fix gulp files not belonging to any project This moves the gulp files into the top level tsconfig project. However this also revealed that they were not being type checked and contain main errors, so I've also disabled `checkJs` for now --- build/jsconfig.json | 15 --------------- build/tsconfig.build.json | 10 +++++++--- build/tsconfig.json | 7 ++++--- 3 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 build/jsconfig.json diff --git a/build/jsconfig.json b/build/jsconfig.json deleted file mode 100644 index 299294ef055..00000000000 --- a/build/jsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "es2017", - "jsx": "preserve", - "checkJs": true - }, - "include": [ - "**/*.js" - ], - "exclude": [ - "node_modules", - "**/node_modules/*" - ] -} \ No newline at end of file diff --git a/build/tsconfig.build.json b/build/tsconfig.build.json index 2402a092886..0a00f2d0f48 100644 --- a/build/tsconfig.build.json +++ b/build/tsconfig.build.json @@ -2,6 +2,10 @@ "extends": "./tsconfig.json", "compilerOptions": { "allowJs": false, - "checkJs": false - } -} \ No newline at end of file + "checkJs": false, + "noEmit": false + }, + "include": [ + "**/*.ts" + ] +} diff --git a/build/tsconfig.json b/build/tsconfig.json index a0378eefc23..de65bb698d3 100644 --- a/build/tsconfig.json +++ b/build/tsconfig.json @@ -12,16 +12,17 @@ // use the tsconfig.build.json for compiling which disable JavaScript // type checking so that JavaScript file are not transpiled "allowJs": true, - "checkJs": true, "strict": true, "exactOptionalPropertyTypes": false, "useUnknownInCatchVariables": false, "noUnusedLocals": true, "noUnusedParameters": true, - "newLine": "lf" + "newLine": "lf", + "noEmit": true }, "include": [ - "**/*.ts" + "**/*.ts", + "**/*.js" ], "exclude": [ "node_modules/**"