From 8bd0027fb50ac510a39316f95790171c43a55e28 Mon Sep 17 00:00:00 2001 From: marcus-sa Date: Fri, 8 Dec 2023 16:33:34 +0100 Subject: [PATCH] build: update tsconfig --- packages/api-console-gui/tsconfig.json | 8 +++++--- packages/framework-debug-gui/tsconfig.json | 10 ++++++---- packages/mysql/tsconfig.json | 8 +++++--- packages/postgres/tsconfig.json | 8 +++++--- packages/sqlite/tsconfig.json | 8 +++++--- .../tests/setup/suite1/tsconfig.no-types.json | 8 +++++--- 6 files changed, 31 insertions(+), 19 deletions(-) diff --git a/packages/api-console-gui/tsconfig.json b/packages/api-console-gui/tsconfig.json index ed08a84b6..8dd5e249e 100644 --- a/packages/api-console-gui/tsconfig.json +++ b/packages/api-console-gui/tsconfig.json @@ -26,9 +26,11 @@ "marked" ] }, - "reflection": [ - "src/app/store.ts" - ], + "deepkitTypeCompilerOptions": { + "reflection": [ + "src/app/store.ts" + ] + }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, diff --git a/packages/framework-debug-gui/tsconfig.json b/packages/framework-debug-gui/tsconfig.json index 77cfbd360..0545e5cdf 100644 --- a/packages/framework-debug-gui/tsconfig.json +++ b/packages/framework-debug-gui/tsconfig.json @@ -27,10 +27,12 @@ "marked" ] }, - "reflection": [ - "./src/app/state.ts", - "node_modules/@deepkit/api-console-gui/src/app/store.ts" - ], + "deepkitTypeCompilerOptions": { + "reflection": [ + "./src/app/state.ts", + "node_modules/@deepkit/api-console-gui/src/app/store.ts" + ] + }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, diff --git a/packages/mysql/tsconfig.json b/packages/mysql/tsconfig.json index 42786fa1a..00933b1eb 100644 --- a/packages/mysql/tsconfig.json +++ b/packages/mysql/tsconfig.json @@ -17,9 +17,11 @@ "composite": true, "types": [] }, - "reflection": [ - "tests/**/*.ts" - ], + "deepkitTypeCompilerOptions": { + "reflection": [ + "tests/**/*.ts" + ] + }, "include": [ "benchmarks", "src", diff --git a/packages/postgres/tsconfig.json b/packages/postgres/tsconfig.json index 64fa4ea09..0f940df73 100644 --- a/packages/postgres/tsconfig.json +++ b/packages/postgres/tsconfig.json @@ -20,9 +20,11 @@ "sqlstring" ] }, - "reflection": [ - "tests/**/*.ts" - ], + "deepkitTypeCompilerOptions": { + "reflection": [ + "tests/**/*.ts" + ] + }, "include": [ "src", "tests", diff --git a/packages/sqlite/tsconfig.json b/packages/sqlite/tsconfig.json index 80762e5ed..3d42f04c8 100644 --- a/packages/sqlite/tsconfig.json +++ b/packages/sqlite/tsconfig.json @@ -19,9 +19,11 @@ "better-sqlite3" ] }, - "reflection": [ - "tests/**/*.ts" - ], + "deepkitTypeCompilerOptions": { + "reflection": [ + "tests/**/*.ts" + ] + }, "include": [ "benchmarks", "src", diff --git a/packages/type-compiler/tests/setup/suite1/tsconfig.no-types.json b/packages/type-compiler/tests/setup/suite1/tsconfig.no-types.json index 0d630d445..66bac7b24 100644 --- a/packages/type-compiler/tests/setup/suite1/tsconfig.no-types.json +++ b/packages/type-compiler/tests/setup/suite1/tsconfig.no-types.json @@ -1,6 +1,8 @@ { "extends": "./tsconfig.json", - "reflection": [ - "**/*/file1.ts" - ] + "deepkitTypeCompilerOptions": { + "reflection": [ + "**/*/file1.ts" + ] + } }