From 8cd58f2a5dc0f6328f823be5af2632a57576c75a Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Fri, 27 Oct 2023 12:32:23 +0100 Subject: [PATCH] skip-lib check in service-spec-importers --- .projenrc.ts | 5 +++++ packages/@aws-cdk/service-spec-importers/tsconfig.dev.json | 1 + packages/@aws-cdk/service-spec-importers/tsconfig.json | 1 + 3 files changed, 7 insertions(+) diff --git a/.projenrc.ts b/.projenrc.ts index c76185082..4a1edc845 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -101,6 +101,11 @@ const serviceSpecImporters = new TypeScriptWorkspace({ ], devDeps: ['@types/fs-extra', '@types/glob@^8', 'ajv-cli@^5', 'source-map-support', 'ts-json-schema-generator'], private: false, + tsconfig: { + compilerOptions: { + skipLibCheck: true, + }, + }, }); for (const tsconfig of [serviceSpecImporters.tsconfig, serviceSpecImporters.tsconfigDev]) { diff --git a/packages/@aws-cdk/service-spec-importers/tsconfig.dev.json b/packages/@aws-cdk/service-spec-importers/tsconfig.dev.json index ace6e0423..b489cad7b 100644 --- a/packages/@aws-cdk/service-spec-importers/tsconfig.dev.json +++ b/packages/@aws-cdk/service-spec-importers/tsconfig.dev.json @@ -24,6 +24,7 @@ "strictPropertyInitialization": true, "stripInternal": true, "target": "ES2019", + "skipLibCheck": true, "composite": true, "outDir": "lib" }, diff --git a/packages/@aws-cdk/service-spec-importers/tsconfig.json b/packages/@aws-cdk/service-spec-importers/tsconfig.json index c26ae2921..ace1391b2 100644 --- a/packages/@aws-cdk/service-spec-importers/tsconfig.json +++ b/packages/@aws-cdk/service-spec-importers/tsconfig.json @@ -26,6 +26,7 @@ "strictPropertyInitialization": true, "stripInternal": true, "target": "ES2019", + "skipLibCheck": true, "composite": true }, "include": [