From 5277a725fab5a030b7e7d1d397b1d6246743b06a Mon Sep 17 00:00:00 2001 From: Yonggang Liu Date: Mon, 16 Dec 2024 17:52:14 -0500 Subject: [PATCH] HARMONY-1872: Add skipLibCheck ts configuration to deal with services build issue in cicd. --- services/harmony/tsconfig.base.json | 3 ++- services/harmony/tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/harmony/tsconfig.base.json b/services/harmony/tsconfig.base.json index 64555fe13..fb838baa2 100644 --- a/services/harmony/tsconfig.base.json +++ b/services/harmony/tsconfig.base.json @@ -10,6 +10,7 @@ "allowJs": true, "noImplicitAny": false, "sourceMap": true, - "outDir": "built" + "outDir": "built", + "skipLibCheck": true // Optional: Ignores type definition errors in node_modules } } \ No newline at end of file diff --git a/services/harmony/tsconfig.json b/services/harmony/tsconfig.json index b7feb4045..514eea9ab 100644 --- a/services/harmony/tsconfig.json +++ b/services/harmony/tsconfig.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.base.json", "compilerOptions": { "resolveJsonModule": true, + "skipLibCheck": true // Optional: Ignores type definition errors in node_modules }, "include": [ "./app/**/*", @@ -10,4 +11,4 @@ "exclude": [ "./built/**/*" ] -} \ No newline at end of file +}