From c8fb8723b760d306d6fa86d8737cc735206b4b20 Mon Sep 17 00:00:00 2001 From: Lilith Date: Mon, 23 Feb 2026 16:52:51 -0800 Subject: [PATCH] =?UTF-8?q?chore(packages):=20=F0=9F=94=A7=20Update=20Type?= =?UTF-8?q?Script=20strict=20mode=20to=20enforce=20"strict":=20true=20acro?= =?UTF-8?q?ss=20all=20@packages/=20modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- @packages/@hooks/attribute-hooks/tsconfig.json | 2 +- @packages/@hooks/messaging-hooks/tsconfig.json | 3 +-- @packages/@hooks/react-hooks/tsconfig.json | 2 +- @packages/@hooks/react-query-utils/tsconfig.json | 2 +- @packages/@infrastructure/api-client/tsconfig.json | 2 +- @packages/@infrastructure/email-client/tsconfig.json | 4 +--- @packages/@infrastructure/health-client/tsconfig.json | 6 ++---- @packages/@infrastructure/image-security/tsconfig.json | 2 +- @packages/@providers/attribute-ui/tsconfig.json | 5 ++--- @packages/@providers/auth-provider/tsconfig.json | 2 +- @packages/@providers/profile-client/tsconfig.json | 2 +- @packages/@providers/wizard-provider/tsconfig.json | 5 ++--- @packages/@testing/e2e-auth/tsconfig.json | 2 +- @packages/@testing/mocks/tsconfig.json | 7 ++----- @packages/@testing/test-utils/tsconfig.json | 6 ++++-- @packages/@ui/developer-fab/tsconfig.json | 7 ++----- features/blog/frontend-admin/tsconfig.json | 2 +- features/blog/frontend-public/tsconfig.json | 6 ++---- features/blog/shared/tsconfig.json | 2 +- features/cms/frontend-admin/tsconfig.json | 2 +- features/conversation-assistant/shared/tsconfig.json | 2 +- features/frontend-showcase/e2e/tsconfig.json | 5 +---- features/i18n/react/tsconfig.json | 2 +- features/landing/frontend-admin/tsconfig.json | 2 +- features/marketplace/frontend-admin/tsconfig.json | 2 +- features/profile/frontend-app/tsconfig.json | 3 +-- features/profile/plugin-profile-editor/tsconfig.json | 3 +-- features/share/frontend-public/tsconfig.json | 2 +- features/share/shared/tsconfig.json | 2 +- features/webmap/router/tsconfig.json | 2 +- features/webmap/shared/tsconfig.json | 2 +- 31 files changed, 40 insertions(+), 58 deletions(-) diff --git a/@packages/@hooks/attribute-hooks/tsconfig.json b/@packages/@hooks/attribute-hooks/tsconfig.json index 1fc5a1f67..ad29b8c33 100755 --- a/@packages/@hooks/attribute-hooks/tsconfig.json +++ b/@packages/@hooks/attribute-hooks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "rootDir": "./src" diff --git a/@packages/@hooks/messaging-hooks/tsconfig.json b/@packages/@hooks/messaging-hooks/tsconfig.json index 3a634f562..720415a9d 100755 --- a/@packages/@hooks/messaging-hooks/tsconfig.json +++ b/@packages/@hooks/messaging-hooks/tsconfig.json @@ -1,11 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", "declaration": true, "declarationMap": true, - "jsx": "react-jsx", "lib": ["ES2020", "DOM"] }, "include": ["src"], diff --git a/@packages/@hooks/react-hooks/tsconfig.json b/@packages/@hooks/react-hooks/tsconfig.json index bde5b0424..eae35121e 100755 --- a/@packages/@hooks/react-hooks/tsconfig.json +++ b/@packages/@hooks/react-hooks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "include": [ "src/**/*" ], diff --git a/@packages/@hooks/react-query-utils/tsconfig.json b/@packages/@hooks/react-query-utils/tsconfig.json index c9885c235..a7e5269d8 100755 --- a/@packages/@hooks/react-query-utils/tsconfig.json +++ b/@packages/@hooks/react-query-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "include": [ "src/**/*" ], diff --git a/@packages/@infrastructure/api-client/tsconfig.json b/@packages/@infrastructure/api-client/tsconfig.json index bde5b0424..eae35121e 100755 --- a/@packages/@infrastructure/api-client/tsconfig.json +++ b/@packages/@infrastructure/api-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "include": [ "src/**/*" ], diff --git a/@packages/@infrastructure/email-client/tsconfig.json b/@packages/@infrastructure/email-client/tsconfig.json index 4c6b37651..79fc235a2 100644 --- a/@packages/@infrastructure/email-client/tsconfig.json +++ b/@packages/@infrastructure/email-client/tsconfig.json @@ -1,10 +1,8 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/nestjs", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", - "experimentalDecorators": true, - "emitDecoratorMetadata": true, "incremental": false }, "include": ["src/**/*"], diff --git a/@packages/@infrastructure/health-client/tsconfig.json b/@packages/@infrastructure/health-client/tsconfig.json index 6b6454aad..161a7f1bc 100755 --- a/@packages/@infrastructure/health-client/tsconfig.json +++ b/@packages/@infrastructure/health-client/tsconfig.json @@ -1,10 +1,8 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/nestjs", "compilerOptions": { "outDir": "./dist", - "rootDir": "./src", - "experimentalDecorators": true, - "emitDecoratorMetadata": true + "rootDir": "./src" }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts"] diff --git a/@packages/@infrastructure/image-security/tsconfig.json b/@packages/@infrastructure/image-security/tsconfig.json index 4d63bc475..467f4c190 100755 --- a/@packages/@infrastructure/image-security/tsconfig.json +++ b/@packages/@infrastructure/image-security/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/nestjs", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/@packages/@providers/attribute-ui/tsconfig.json b/@packages/@providers/attribute-ui/tsconfig.json index b3979da7b..f42703052 100755 --- a/@packages/@providers/attribute-ui/tsconfig.json +++ b/@packages/@providers/attribute-ui/tsconfig.json @@ -1,8 +1,7 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { - "outDir": "./dist", - "jsx": "react-jsx" + "outDir": "./dist" }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.test.tsx"] diff --git a/@packages/@providers/auth-provider/tsconfig.json b/@packages/@providers/auth-provider/tsconfig.json index a53358d63..494014651 100755 --- a/@packages/@providers/auth-provider/tsconfig.json +++ b/@packages/@providers/auth-provider/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "include": [ "src/**/*" ], diff --git a/@packages/@providers/profile-client/tsconfig.json b/@packages/@providers/profile-client/tsconfig.json index a53358d63..494014651 100644 --- a/@packages/@providers/profile-client/tsconfig.json +++ b/@packages/@providers/profile-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "include": [ "src/**/*" ], diff --git a/@packages/@providers/wizard-provider/tsconfig.json b/@packages/@providers/wizard-provider/tsconfig.json index ca7c185d0..9488707f9 100755 --- a/@packages/@providers/wizard-provider/tsconfig.json +++ b/@packages/@providers/wizard-provider/tsconfig.json @@ -1,11 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", "declaration": true, - "declarationMap": true, - "jsx": "react-jsx" + "declarationMap": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"] diff --git a/@packages/@testing/e2e-auth/tsconfig.json b/@packages/@testing/e2e-auth/tsconfig.json index dea6d1c9c..58a8d2b39 100644 --- a/@packages/@testing/e2e-auth/tsconfig.json +++ b/@packages/@testing/e2e-auth/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base-bundler", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/@packages/@testing/mocks/tsconfig.json b/@packages/@testing/mocks/tsconfig.json index fcfd0b34f..494ad00fc 100755 --- a/@packages/@testing/mocks/tsconfig.json +++ b/@packages/@testing/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base-bundler", "include": [ "src/**/*" ], @@ -8,9 +8,6 @@ "dist" ], "compilerOptions": { - "noEmit": true, - "moduleResolution": "bundler", - "module": "ESNext", - "lib": ["ES2022", "DOM"] + "noEmit": true } } diff --git a/@packages/@testing/test-utils/tsconfig.json b/@packages/@testing/test-utils/tsconfig.json index 4d7e0f265..47cada7ee 100755 --- a/@packages/@testing/test-utils/tsconfig.json +++ b/@packages/@testing/test-utils/tsconfig.json @@ -1,10 +1,12 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "composite": true, "outDir": "dist", "rootDir": "src", - "types": ["vitest/globals", "@testing-library/jest-dom"] + "types": ["vitest/globals", "@testing-library/jest-dom"], + "experimentalDecorators": true, + "emitDecoratorMetadata": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"] diff --git a/@packages/@ui/developer-fab/tsconfig.json b/@packages/@ui/developer-fab/tsconfig.json index 2f4b34faf..24cef6fd2 100755 --- a/@packages/@ui/developer-fab/tsconfig.json +++ b/@packages/@ui/developer-fab/tsconfig.json @@ -1,13 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "rootDir": "./src", "outDir": "./dist", "declaration": true, - "declarationMap": true, - "jsx": "react-jsx", - "module": "ESNext", - "moduleResolution": "bundler" + "declarationMap": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "src/__tests__/**", "**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"] diff --git a/features/blog/frontend-admin/tsconfig.json b/features/blog/frontend-admin/tsconfig.json index a7fd3c93e..c4ad52d1f 100644 --- a/features/blog/frontend-admin/tsconfig.json +++ b/features/blog/frontend-admin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "incremental": false, diff --git a/features/blog/frontend-public/tsconfig.json b/features/blog/frontend-public/tsconfig.json index b09974972..2fffde3cd 100644 --- a/features/blog/frontend-public/tsconfig.json +++ b/features/blog/frontend-public/tsconfig.json @@ -1,12 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", - "jsx": "react-jsx", "paths": { - "@/*": ["./src/*"], - + "@/*": ["./src/*"] } }, "include": ["src"], diff --git a/features/blog/shared/tsconfig.json b/features/blog/shared/tsconfig.json index e844d4f1d..88f59203d 100644 --- a/features/blog/shared/tsconfig.json +++ b/features/blog/shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base", "compilerOptions": { "outDir": "./dist", "rootDir": "./src" diff --git a/features/cms/frontend-admin/tsconfig.json b/features/cms/frontend-admin/tsconfig.json index ca0b27537..4d7919d85 100644 --- a/features/cms/frontend-admin/tsconfig.json +++ b/features/cms/frontend-admin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "incremental": false, diff --git a/features/conversation-assistant/shared/tsconfig.json b/features/conversation-assistant/shared/tsconfig.json index eb662afa2..5bfbb9bb8 100755 --- a/features/conversation-assistant/shared/tsconfig.json +++ b/features/conversation-assistant/shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base-bundler", "compilerOptions": { "outDir": "./dist", "declaration": true, diff --git a/features/frontend-showcase/e2e/tsconfig.json b/features/frontend-showcase/e2e/tsconfig.json index c1dc8d9b9..148d1f528 100755 --- a/features/frontend-showcase/e2e/tsconfig.json +++ b/features/frontend-showcase/e2e/tsconfig.json @@ -1,10 +1,7 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base-bundler", "compilerOptions": { "target": "ES2022", - "module": "ES2022", - "lib": ["ES2022"], - "moduleResolution": "bundler", "types": ["node", "@playwright/test"], "strict": true, "esModuleInterop": true, diff --git a/features/i18n/react/tsconfig.json b/features/i18n/react/tsconfig.json index cb9bf51f7..805300261 100755 --- a/features/i18n/react/tsconfig.json +++ b/features/i18n/react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "declaration": true, diff --git a/features/landing/frontend-admin/tsconfig.json b/features/landing/frontend-admin/tsconfig.json index a750bc0f6..d7a0b0555 100644 --- a/features/landing/frontend-admin/tsconfig.json +++ b/features/landing/frontend-admin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "incremental": false, diff --git a/features/marketplace/frontend-admin/tsconfig.json b/features/marketplace/frontend-admin/tsconfig.json index a750bc0f6..d7a0b0555 100644 --- a/features/marketplace/frontend-admin/tsconfig.json +++ b/features/marketplace/frontend-admin/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "incremental": false, diff --git a/features/profile/frontend-app/tsconfig.json b/features/profile/frontend-app/tsconfig.json index 9a4bde517..26d38b656 100755 --- a/features/profile/frontend-app/tsconfig.json +++ b/features/profile/frontend-app/tsconfig.json @@ -1,8 +1,7 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "baseUrl": "../../..", - "jsx": "react-jsx", "skipLibCheck": true, "noImplicitAny": false, "declaration": false, diff --git a/features/profile/plugin-profile-editor/tsconfig.json b/features/profile/plugin-profile-editor/tsconfig.json index 72d5fd12a..62c237f85 100755 --- a/features/profile/plugin-profile-editor/tsconfig.json +++ b/features/profile/plugin-profile-editor/tsconfig.json @@ -1,11 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", "declaration": false, "declarationMap": false, - "jsx": "react-jsx", "skipLibCheck": true, "baseUrl": "./", "paths": { diff --git a/features/share/frontend-public/tsconfig.json b/features/share/frontend-public/tsconfig.json index 01e253034..49c98613f 100644 --- a/features/share/frontend-public/tsconfig.json +++ b/features/share/frontend-public/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/react", "compilerOptions": { "outDir": "./dist", "declaration": false, diff --git a/features/share/shared/tsconfig.json b/features/share/shared/tsconfig.json index e844d4f1d..88f59203d 100644 --- a/features/share/shared/tsconfig.json +++ b/features/share/shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base", "compilerOptions": { "outDir": "./dist", "rootDir": "./src" diff --git a/features/webmap/router/tsconfig.json b/features/webmap/router/tsconfig.json index 5c83444c9..2030aed1b 100755 --- a/features/webmap/router/tsconfig.json +++ b/features/webmap/router/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base-bundler", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/features/webmap/shared/tsconfig.json b/features/webmap/shared/tsconfig.json index dc786cb28..0e17351b7 100755 --- a/features/webmap/shared/tsconfig.json +++ b/features/webmap/shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "@lilith/configs/typescript/base", "compilerOptions": { "outDir": "./dist", "rootDir": "./src",