From 5035fe00d9e4f1f4710d2bd88cb3fdafd2c00a24 Mon Sep 17 00:00:00 2001 From: Ehsan Rezaei Date: Thu, 3 Sep 2026 18:29:50 +0200 Subject: [PATCH] AAE-51237 Setting moduleResolution to bundler, fixing build issues --- eslint.config.mjs | 2 -- lib/content-services/.storybook/tsconfig.json | 1 - .../lib/permission-manager/components/pop-over.directive.ts | 4 ++-- lib/core/.storybook/tsconfig.json | 1 - lib/core/tsconfig.json | 1 + lib/insights/tsconfig.json | 1 + lib/js-api/tsconfig/tsconfig.types.json | 1 + lib/process-services-cloud/.storybook/tsconfig.json | 1 - lib/stories/.storybook/tsconfig.json | 1 - tsconfig.json | 2 +- 10 files changed, 6 insertions(+), 9 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index ff38c8fa52..b47cac90a5 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -315,8 +315,6 @@ export default [ parser: angularTemplateParser }, rules: { - ...angularEslintTemplatePlugin.configs.recommended.rules, - ...angularEslintTemplatePlugin.configs.accessibility.rules, ...nxPlugin.configs['angular-template'].rules, '@angular-eslint/template/prefer-self-closing-tags': 'error' } diff --git a/lib/content-services/.storybook/tsconfig.json b/lib/content-services/.storybook/tsconfig.json index 0d22811575..f3add426f0 100644 --- a/lib/content-services/.storybook/tsconfig.json +++ b/lib/content-services/.storybook/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "emitDecoratorMetadata": true, - "moduleResolution": "bundler" }, "exclude": ["../**/*.spec.ts" ], diff --git a/lib/content-services/src/lib/permission-manager/components/pop-over.directive.ts b/lib/content-services/src/lib/permission-manager/components/pop-over.directive.ts index ed2caeea0e..735c76a482 100644 --- a/lib/content-services/src/lib/permission-manager/components/pop-over.directive.ts +++ b/lib/content-services/src/lib/permission-manager/components/pop-over.directive.ts @@ -100,7 +100,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit { } @HostListener('keyup.enter') - private toggleOverlay(): void { + toggleOverlay(): void { if (!this.overlayRef.hasAttached()) { this.attachOverlay(); } else { @@ -125,7 +125,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit { } @HostListener('document:keyup.esc') - private detachOverlay(): void { + detachOverlay(): void { if (this.overlayRef.hasAttached()) { this.overlayRef.detach(); this._open = false; diff --git a/lib/core/.storybook/tsconfig.json b/lib/core/.storybook/tsconfig.json index 815e1814b2..933df9fda4 100644 --- a/lib/core/.storybook/tsconfig.json +++ b/lib/core/.storybook/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "emitDecoratorMetadata": true, - "moduleResolution": "bundler" }, "exclude": ["../**/*.spec.ts" ], diff --git a/lib/core/tsconfig.json b/lib/core/tsconfig.json index 8474bf7f56..c811bf5ca5 100644 --- a/lib/core/tsconfig.json +++ b/lib/core/tsconfig.json @@ -21,6 +21,7 @@ "skipTemplateCodegen": true, "strictMetadataEmit": true, "enableResourceInlining": true, + "typeCheckHostBindings": false, "strictTemplates": true } } diff --git a/lib/insights/tsconfig.json b/lib/insights/tsconfig.json index 446c749a6c..5cd87f1750 100644 --- a/lib/insights/tsconfig.json +++ b/lib/insights/tsconfig.json @@ -21,6 +21,7 @@ "skipTemplateCodegen": true, "strictMetadataEmit": true, "enableResourceInlining": true, + "typeCheckHostBindings": false, "strictTemplates": true } } diff --git a/lib/js-api/tsconfig/tsconfig.types.json b/lib/js-api/tsconfig/tsconfig.types.json index a0454c19cf..6c2854787c 100644 --- a/lib/js-api/tsconfig/tsconfig.types.json +++ b/lib/js-api/tsconfig/tsconfig.types.json @@ -6,5 +6,6 @@ "removeComments": false, "declaration": true, "declarationDir": "../../../dist/libs/js-api/typings", + "emitDeclarationOnly": true } } diff --git a/lib/process-services-cloud/.storybook/tsconfig.json b/lib/process-services-cloud/.storybook/tsconfig.json index 57100f1b7e..31ba89b45e 100644 --- a/lib/process-services-cloud/.storybook/tsconfig.json +++ b/lib/process-services-cloud/.storybook/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "emitDecoratorMetadata": true, - "moduleResolution": "bundler" }, "exclude": ["../**/*.spec.ts", "../**/test.ts", "../**/*.module.ts" ], "include": ["../src/**/*", "*.ts"] diff --git a/lib/stories/.storybook/tsconfig.json b/lib/stories/.storybook/tsconfig.json index c927466932..2d2a3fa27f 100644 --- a/lib/stories/.storybook/tsconfig.json +++ b/lib/stories/.storybook/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "emitDecoratorMetadata": true, - "moduleResolution": "bundler" }, "exclude": [ diff --git a/tsconfig.json b/tsconfig.json index 87188468c5..8f3c49fa27 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "baseUrl": ".", "sourceMap": true, "declaration": false, - "moduleResolution": "node", + "moduleResolution": "bundler", "experimentalDecorators": true, "skipLibCheck": true, "noUnusedLocals": true,