From da2a49f40eb93ee6e7edfbe70fb8b12ce5748573 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 4 Mar 2024 18:14:30 +0100 Subject: [PATCH] infra: remove specific tsconfig (#1004) --- mocha.bootstrap.js | 2 +- tsconfig-test.json | 17 ----------------- tsconfig.json | 2 +- tsconfig.lint.json | 2 +- 4 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 tsconfig-test.json diff --git a/mocha.bootstrap.js b/mocha.bootstrap.js index 70a72111..b0d9fb3b 100644 --- a/mocha.bootstrap.js +++ b/mocha.bootstrap.js @@ -2,7 +2,7 @@ const chai = require('chai'); const sinonChai = require('sinon-chai'); const chaiAsPromised = require('chai-as-promised'); -const config = require('./tsconfig-test.json'); +const config = require('./tsconfig.json'); config.compilerOptions.module = 'commonjs'; config.transpileOnly = true; diff --git a/tsconfig-test.json b/tsconfig-test.json deleted file mode 100644 index f4084672..00000000 --- a/tsconfig-test.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "compilerOptions": { - "target": "es2019", - "moduleResolution": "node", - "baseUrl": "src", - "outDir": "dist", - "lib": ["es2019"], - "esModuleInterop": true, - "sourceMap": false, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitAny": true, - "noUnusedLocals": true, - "noImplicitOverride": true - }, - "exclude": ["node_modules", "templates", "dist", "bin"] -} diff --git a/tsconfig.json b/tsconfig.json index 64d1ff55..ea469a93 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "ES2019", "module": "CommonJS", "moduleResolution": "Node", "lib": ["ES2019", "DOM"], diff --git a/tsconfig.lint.json b/tsconfig.lint.json index 9829d894..27526728 100644 --- a/tsconfig.lint.json +++ b/tsconfig.lint.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "ES2019", "moduleResolution": "Node", "module": "CommonJS", "strict": true,