mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-51237 Setting moduleResolution to bundler, fixing build issues
This commit is contained in:
@@ -315,8 +315,6 @@ export default [
|
|||||||
parser: angularTemplateParser
|
parser: angularTemplateParser
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
...angularEslintTemplatePlugin.configs.recommended.rules,
|
|
||||||
...angularEslintTemplatePlugin.configs.accessibility.rules,
|
|
||||||
...nxPlugin.configs['angular-template'].rules,
|
...nxPlugin.configs['angular-template'].rules,
|
||||||
'@angular-eslint/template/prefer-self-closing-tags': 'error'
|
'@angular-eslint/template/prefer-self-closing-tags': 'error'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"extends": "../../../tsconfig.json",
|
"extends": "../../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"moduleResolution": "bundler"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"exclude": ["../**/*.spec.ts" ],
|
"exclude": ["../**/*.spec.ts" ],
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@HostListener('keyup.enter')
|
@HostListener('keyup.enter')
|
||||||
private toggleOverlay(): void {
|
toggleOverlay(): void {
|
||||||
if (!this.overlayRef.hasAttached()) {
|
if (!this.overlayRef.hasAttached()) {
|
||||||
this.attachOverlay();
|
this.attachOverlay();
|
||||||
} else {
|
} else {
|
||||||
@@ -125,7 +125,7 @@ export class PopOverDirective implements OnInit, OnDestroy, AfterViewInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@HostListener('document:keyup.esc')
|
@HostListener('document:keyup.esc')
|
||||||
private detachOverlay(): void {
|
detachOverlay(): void {
|
||||||
if (this.overlayRef.hasAttached()) {
|
if (this.overlayRef.hasAttached()) {
|
||||||
this.overlayRef.detach();
|
this.overlayRef.detach();
|
||||||
this._open = false;
|
this._open = false;
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"extends": "../../../tsconfig.json",
|
"extends": "../../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"moduleResolution": "bundler"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"exclude": ["../**/*.spec.ts" ],
|
"exclude": ["../**/*.spec.ts" ],
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"skipTemplateCodegen": true,
|
"skipTemplateCodegen": true,
|
||||||
"strictMetadataEmit": true,
|
"strictMetadataEmit": true,
|
||||||
"enableResourceInlining": true,
|
"enableResourceInlining": true,
|
||||||
|
"typeCheckHostBindings": false,
|
||||||
"strictTemplates": true
|
"strictTemplates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"skipTemplateCodegen": true,
|
"skipTemplateCodegen": true,
|
||||||
"strictMetadataEmit": true,
|
"strictMetadataEmit": true,
|
||||||
"enableResourceInlining": true,
|
"enableResourceInlining": true,
|
||||||
|
"typeCheckHostBindings": false,
|
||||||
"strictTemplates": true
|
"strictTemplates": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationDir": "../../../dist/libs/js-api/typings",
|
"declarationDir": "../../../dist/libs/js-api/typings",
|
||||||
|
"emitDeclarationOnly": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"extends": "../../../tsconfig.json",
|
"extends": "../../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"moduleResolution": "bundler"
|
|
||||||
},
|
},
|
||||||
"exclude": ["../**/*.spec.ts", "../**/test.ts", "../**/*.module.ts" ],
|
"exclude": ["../**/*.spec.ts", "../**/test.ts", "../**/*.module.ts" ],
|
||||||
"include": ["../src/**/*", "*.ts"]
|
"include": ["../src/**/*", "*.ts"]
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"extends": "../../../tsconfig.json",
|
"extends": "../../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"moduleResolution": "bundler"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "bundler",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user