Skip to content

Commit

Permalink
fix(project): upgraded angular material to v15
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Nov 25, 2022
1 parent 3774ee7 commit 9e66c77
Show file tree
Hide file tree
Showing 12 changed files with 260 additions and 466 deletions.
686 changes: 232 additions & 454 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
"@angular/common": "^15.0.1",
"@angular/compiler": "^15.0.1",
"@angular/core": "^15.0.1",
"@angular/flex-layout": "^13.0.0-beta.38",
"@angular/flex-layout": "^14.0.0-beta.41",
"@angular/forms": "^15.0.1",
"@angular/material": "^15.0.0",
"@angular/platform-browser": "^15.0.1",
"@angular/platform-browser-dynamic": "^15.0.1",
"@angular/platform-server": "^15.0.1",
"@angular/router": "^15.0.1",
"@briebug/jest-schematic": "^3.1.0",
"@nguniversal/express-engine": "^14.2.0",
"@nguniversal/express-engine": "^15.0.0",
"@nguniversal/module-map-ngfactory-loader": "^8.2.6",
"angular-cli-ghpages": "^0.6.2",
"angulartics2": "^12.1.0",
Expand All @@ -70,7 +70,7 @@
"@angular/compiler-cli": "^15.0.1",
"@angular/language-service": "^15.0.1",
"@compodoc/compodoc": "^1.1.11",
"@nguniversal/builders": "^14.2.0",
"@nguniversal/builders": "^15.0.0",
"@release-it/conventional-changelog": "^1.1.4",
"@schematics/angular": "^9.1.15",
"@schematics/update": "^0.1001.7",
Expand Down Expand Up @@ -149,4 +149,4 @@
}
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {CommonModule} from '@angular/common';
import {forwardRef, NgModule} from '@angular/core';
import {NgModule} from '@angular/core';
import {FlexLayoutModule} from '@angular/flex-layout';
import {FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule} from '@angular/forms';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {MatIconModule} from '@angular/material/icon';
import {MatLegacyInputModule as MatInputModule} from '@angular/material/legacy-input';
import {MatGoogleMapsAutocompleteDirective} from './directives/mat-google-maps-autocomplete.directive';
import {MatValidateAddressDirective} from './directives/address-validator/mat-address-validator.directive';
// tslint:disable-next-line:max-line-length
import {MatGoogleMapsAutocompleteComponent, MatSearchGoogleMapsAutocompleteComponent} from './component';
import {MatInputModule} from '@angular/material/input';


@NgModule({
Expand Down
10 changes: 5 additions & 5 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ import {HttpClientModule} from '@angular/common/http';

import {MatGoogleMapsAutocompleteModule} from '@angular-material-extensions/google-maps-autocomplete';
import {MatButtonToggleModule} from '@angular/material/button-toggle';
import {MatLegacyCardModule as MatCardModule} from '@angular/material/legacy-card';
import {MatExpansionModule} from '@angular/material/expansion';
import {MatLegacyInputModule as MatInputModule} from '@angular/material/legacy-input';
import {MatLegacyRadioModule as MatRadioModule} from '@angular/material/legacy-radio';
import {MatLegacyTabsModule as MatTabsModule} from '@angular/material/legacy-tabs';
import {FlexLayoutModule} from '@angular/flex-layout';
import {ConfigComponent} from '../config/config.component';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
Expand All @@ -21,6 +17,10 @@ import {Angulartics2Module} from 'angulartics2';
import {MarkdownModule} from 'ngx-markdown';
import {RouterModule} from '@angular/router';
import {CommonModule} from '@angular/common';
import {MatCardModule} from '@angular/material/card';
import {MatInputModule} from '@angular/material/input';
import {MatTabsModule} from '@angular/material/tabs';
import {MatRadioModule} from '@angular/material/radio';

const googleMapsParams = {
apiKey: environment.GOOGLE_MAPS_API_KEY,
Expand All @@ -40,7 +40,7 @@ const googleMapsParams = {
BrowserAnimationsModule,
RouterModule.forRoot([], {
initialNavigation: 'enabledBlocking',
relativeLinkResolution: 'legacy'
// relativeLinkResolution: 'legacy'
}),
Angulartics2Module.forRoot(),
MarkdownModule.forRoot(),
Expand Down

0 comments on commit 9e66c77

Please sign in to comment.