From c3570d4e4e9415f2343dc20728a733d32e002c81 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Fri, 5 Jul 2024 20:33:37 +0300 Subject: [PATCH] fml --- package-lock.json | 2 +- package.json | 2 +- tsconfig.json | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c0aa55f..19e99e35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "eslint": "^8.56.0", "mocha": "^10.6.0", "ts-loader": "^9.4.2", - "typescript": "^5.5", + "typescript": "^5", "vscode-extension-tester": "^8.3.1", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" diff --git a/package.json b/package.json index b9caf647..628d1dff 100644 --- a/package.json +++ b/package.json @@ -245,7 +245,7 @@ "eslint": "^8.56.0", "mocha": "^10.6.0", "ts-loader": "^9.4.2", - "typescript": "^5.5", + "typescript": "^5", "vscode-extension-tester": "^8.3.1", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" diff --git a/tsconfig.json b/tsconfig.json index 2e375cae..7715694c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,14 @@ { "compilerOptions": { - "module": "es6", - "target": "ES2020", + "module": "commonjs", + "target": "es6", "outDir": "out", "lib": [ - "ES2020" + "es6" ], "sourceMap": true, "rootDir": "src", + "skipLibCheck": true, "esModuleInterop": true, // Without this, will report errors in k8s client node modules https://github.com/kubernetes-client/javascript/issues/751#issuecomment-986953203 "strict": true /* enable all strict type-checking options */ /* Additional Checks */