mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
10
lib/insights/scss-bundle.config.json
Normal file
10
lib/insights/scss-bundle.config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundlerOptions": {
|
||||
"entryFile": "./lib/insights/src/lib/styles/_index.scss",
|
||||
"rootDir": ".",
|
||||
"project": "../../",
|
||||
"outFile": "./lib/dist/insights/_theming.scss",
|
||||
"ignoreImports": ["~@angular/.*"],
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
@@ -21,7 +21,8 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
import { MatChipsModule } from '@angular/material/chips';
|
||||
import { MatNativeDateModule, MatOptionModule, MatRippleModule, MAT_LABEL_GLOBAL_OPTIONS } from '@angular/material/core';
|
||||
import { MatNativeDateModule, MatOptionModule, MatRippleModule } from '@angular/material/core';
|
||||
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||
import { MatDialogModule } from '@angular/material/dialog';
|
||||
import { MatGridListModule } from '@angular/material/grid-list';
|
||||
@@ -53,7 +54,7 @@ import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
MatChipsModule, MatMenuModule
|
||||
],
|
||||
providers: [
|
||||
{ provide: MAT_LABEL_GLOBAL_OPTIONS, useValue: { float: 'never' }}
|
||||
{ provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { floatLabel: 'never' } }
|
||||
]
|
||||
})
|
||||
export class MaterialModule {}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../dist/insights/",
|
||||
"declarationMap": true,
|
||||
"baseUrl": "src",
|
||||
"paths": {
|
||||
"@alfresco/adf-extensions": ["../../dist/extensions"],
|
||||
|
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"extends": "./tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"declarationMap": false
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user