From c0b668d81f45af26de1bdc8b365860166148c164 Mon Sep 17 00:00:00 2001 From: anthogez Date: Thu, 14 Mar 2024 09:45:48 +0000 Subject: [PATCH] fix: tsconfig changing tsconfig as the one deployed recently with node v18 introduction was breaking the cli. instead of support es2015/2019 we are introducing es2022 --- tsconfig.json | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 6e98e8a..2ec0b7a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,29 +1,20 @@ { "compilerOptions": { - "outDir": "./dist", - "rootDir": ".", - "pretty": true, - "moduleResolution": "node", - // https://github.com/tsconfig/bases#node-12-tsconfigjson - "target": "es2019", - "lib": [ - "es2019", - "es2020.promise", - "es2020.bigint", - "es2020.string", - "DOM", - "DOM.Iterable" - ], - "module": "commonjs", - "allowJs": true, - "sourceMap": true, - "resolveJsonModule": true, - "strict": true, - "noImplicitAny": false, // Needed to compile tap and ansi-escapes - "composite": true, - "useUnknownInCatchVariables": false, + "outDir": "./dist", + "pretty": true, + "target": "es2022", + "lib": [ + "ES2022", + ], + "module": "commonjs", + "allowJs": true, + "sourceMap": true, + "strict": true, + // "declaration": true, + "importHelpers": true, + "noImplicitAny": false // Needed to compile tap and ansi-escapes }, "include": [ - "./lib/**/*" + "./lib/**/*" ] } \ No newline at end of file