From 12d867f9154c2151bb863de04b3fd973674dd4c8 Mon Sep 17 00:00:00 2001 From: Ernesto Resende Date: Mon, 16 Jan 2023 15:04:57 -0300 Subject: [PATCH] chore(build): update build configs --- tsconfig.base.json | 29 ----------------------------- tsconfig.build.json | 5 ----- tsconfig.json | 32 ++++++++++++++++++++++++-------- tsconfig.test.json | 4 ++-- 4 files changed, 26 insertions(+), 44 deletions(-) delete mode 100644 tsconfig.base.json delete mode 100644 tsconfig.build.json diff --git a/tsconfig.base.json b/tsconfig.base.json deleted file mode 100644 index e9515d5..0000000 --- a/tsconfig.base.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "compilerOptions": { - "rootDir": "./src", - "outDir": "./dist", - "target": "es2019", - "module": "ESNext", - "moduleResolution": "node", - "esModuleInterop": true, - "sourceMap": true, - "declaration": true, - "declarationMap": true, - "removeComments": true, - "strict": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitOverride": true, - "noFallthroughCasesInSwitch": true, - "noUnusedParameters": true, - "noUnusedLocals": true, - "forceConsistentCasingInFileNames": true, - "importsNotUsedAsValues": "error", - "lib": ["es2019", "esnext.asynciterable"], - "types": ["node"], - "baseUrl": ".", - "paths": { - "*" : ["types/*"] - } - } -} diff --git a/tsconfig.build.json b/tsconfig.build.json deleted file mode 100644 index 555be5d..0000000 --- a/tsconfig.build.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "include": ["src/**/*"], - "exclude": ["**/__tests__"], -} diff --git a/tsconfig.json b/tsconfig.json index a882676..935835d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,27 @@ { "compilerOptions": { - "composite": true + "rootDir": "./src", + "outDir": "./dist", + "baseUrl": ".", + "downlevelIteration": true, + "module": "ESNext", + "moduleResolution": "node", + "strict": true, + "esModuleInterop": true, + "sourceMap": true, + "declaration": true, + "declarationMap": true, + "removeComments": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitOverride": true, + "noFallthroughCasesInSwitch": true, + "noUnusedParameters": true, + "noUnusedLocals": true, + "forceConsistentCasingInFileNames": true, + "importsNotUsedAsValues": "error", + }, - "files": [], - "include": [], - "references": [ - { "path": "./tsconfig.build.json" }, - { "path": "./tsconfig.test.json" }, - ] -} \ No newline at end of file + "include": ["src/**/*"], + "exclude": ["**/__tests__"] +} diff --git a/tsconfig.test.json b/tsconfig.test.json index 636cb94..5e15c61 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,8 +1,8 @@ { - "extends": "./tsconfig.base.json", + "extends": "./tsconfig.json", "include": ["src/**/*"], "compilerOptions": { "noEmit": true, "types": ["node", "jest"] } -} \ No newline at end of file +}