[ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)

* package fixes

* upgrade stylelint config

* upgrade configuration and stats

* code fixes based on Angular upgrade

* rework scss-bundle usage

* use node 14 with travis (lts)

* fix production builds

* fix node sass version
This commit is contained in:
Denys Vuika
2021-07-15 12:48:23 +01:00
committed by GitHub
parent 182021a127
commit c1860f0c1f
54 changed files with 168 additions and 324 deletions
@@ -0,0 +1,10 @@
{
"bundlerOptions": {
"entryFile": "./lib/content-services/src/lib/styles/_index.scss",
"rootDir": ".",
"project": "../../",
"outFile": "./lib/dist/content-services/_theming.scss",
"ignoreImports": ["~@angular/.*"],
"logLevel": "info"
}
}
@@ -23,7 +23,6 @@ import { SEARCH_QUERY_SERVICE_TOKEN } from '../../search-query-service.token';
@Component({
selector: 'adf-search-form',
templateUrl: './search-form.component.html',
styleUrls: ['./search-form.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class SearchFormComponent {
+1
View File
@@ -2,6 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../dist/content-services/",
"declarationMap": true,
"baseUrl": "src",
"paths": {
"@alfresco/adf-extensions": ["../../dist/extensions"],
+4 -1
View File
@@ -1,6 +1,9 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
}
}
}