Skip to content

Commit 171cf38

Browse files
committed
feat(deps): upgrade angular from v18 to v19
1 parent 205cb0c commit 171cf38

File tree

10 files changed

+2714
-1596
lines changed

10 files changed

+2714
-1596
lines changed

firestore/package-lock.json

Lines changed: 2656 additions & 1546 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firestore/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,35 @@
1717
},
1818
"private": true,
1919
"dependencies": {
20-
"@angular/animations": "^18.2.13",
20+
"@angular/animations": "^19.2.14",
2121
"@angular/cdk": "^16.1.3",
22-
"@angular/common": "^18.2.13",
23-
"@angular/compiler": "^18.2.13",
24-
"@angular/core": "^18.2.13",
22+
"@angular/common": "^19.2.14",
23+
"@angular/compiler": "^19.2.14",
24+
"@angular/core": "^19.2.14",
2525
"@angular/fire": "^7.6.1",
2626
"@angular/flex-layout": "^15.0.0-beta.42",
27-
"@angular/forms": "^18.2.13",
27+
"@angular/forms": "^19.2.14",
2828
"@angular/material": "^16.1.3",
29-
"@angular/platform-browser": "^18.2.13",
30-
"@angular/platform-browser-dynamic": "^18.2.13",
31-
"@angular/router": "^18.2.13",
29+
"@angular/platform-browser": "^19.2.14",
30+
"@angular/platform-browser-dynamic": "^19.2.14",
31+
"@angular/router": "^19.2.14",
3232
"@material/layout-grid": "^15.0.0-canary.b994146f6.0",
3333
"rxjs": "~7.8.0",
3434
"tslib": "^2.3.0",
35-
"zone.js": "~0.14.10"
35+
"zone.js": "~0.15.1"
3636
},
3737
"devDependencies": {
38-
"@angular-devkit/build-angular": "^18.2.20",
39-
"@angular/cli": "~18.2.20",
40-
"@angular/compiler-cli": "^18.2.13",
38+
"@angular-devkit/build-angular": "^19.2.15",
39+
"@angular/cli": "~19.2.15",
40+
"@angular/compiler-cli": "^19.2.14",
4141
"@types/jasmine": "~4.3.0",
4242
"jasmine-core": "~4.6.0",
4343
"karma": "~6.4.0",
4444
"karma-chrome-launcher": "~3.2.0",
4545
"karma-coverage": "~2.2.0",
4646
"karma-jasmine": "~5.1.0",
4747
"karma-jasmine-html-reporter": "~2.1.0",
48-
"typescript": "~5.4.5",
48+
"typescript": "~5.8.3",
4949
"prettier": "^1.5.3"
5050
}
5151
}

firestore/src/app/app.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ import { Router } from "@angular/router";
1919

2020

2121
@Component({
22-
selector: 'app-root',
23-
templateUrl: './app.component.html',
24-
styleUrls: ['./app.component.css'],
22+
selector: 'app-root',
23+
templateUrl: './app.component.html',
24+
styleUrls: ['./app.component.css'],
25+
standalone: false
2526
})
2627
export class AppComponent {
2728
constructor(private router: Router) { }

firestore/src/app/filter-dialog/filter-dialog.component.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ import { DialogData, filterCategories, filterCities } from './dialogdata';
2020

2121

2222
@Component({
23-
selector: 'app-filter-dialog',
24-
templateUrl: './filter-dialog.component.html',
25-
styleUrls: ['./filter-dialog.component.css'],
26-
encapsulation: ViewEncapsulation.None,
23+
selector: 'app-filter-dialog',
24+
templateUrl: './filter-dialog.component.html',
25+
styleUrls: ['./filter-dialog.component.css'],
26+
encapsulation: ViewEncapsulation.None,
27+
standalone: false
2728
})
2829
export class FilterDialogComponent {
2930
cities: string[] = filterCities;

firestore/src/app/homepage/homepage.component.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,20 @@ import { SignInModalComponent } from '../sign-in-modal/sign-in-modal.component';
3434
import { HomepageFirestore } from './hompage.service';
3535

3636
@Component({
37-
selector: 'app-homepage',
38-
templateUrl: './homepage.component.html',
39-
styleUrls: ['./homepage.component.css'],
40-
providers: [
41-
{
42-
provide: MAT_DIALOG_DATA,
43-
useValue: {}
44-
},
45-
{
46-
provide: MatDialogRef,
47-
useValue: {}
48-
}
49-
]
37+
selector: 'app-homepage',
38+
templateUrl: './homepage.component.html',
39+
styleUrls: ['./homepage.component.css'],
40+
providers: [
41+
{
42+
provide: MAT_DIALOG_DATA,
43+
useValue: {}
44+
},
45+
{
46+
provide: MatDialogRef,
47+
useValue: {}
48+
}
49+
],
50+
standalone: false
5051
})
5152

5253
export class HomepageComponent {

firestore/src/app/restaurant-card/restaurant-card.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ import { Restaurant } from '../../types/restaurant';
1919
import { Router } from '@angular/router';
2020

2121
@Component({
22-
selector: 'app-restaurant-card',
23-
templateUrl: './restaurant-card.component.html',
24-
styleUrls: ['./restaurant-card.component.css'],
22+
selector: 'app-restaurant-card',
23+
templateUrl: './restaurant-card.component.html',
24+
styleUrls: ['./restaurant-card.component.css'],
25+
standalone: false
2526
})
2627
export class RestaurantCardComponent {
2728
onCardClicked = () => {

firestore/src/app/restuarant-page/restuarant-page.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ import {
2525
} from '../submit-review-modal/submit-review-modal.component';
2626

2727
@Component({
28-
selector: 'app-restuarant-page',
29-
templateUrl: './restuarant-page.component.html',
30-
styleUrls: ['./restuarant-page.component.css']
28+
selector: 'app-restuarant-page',
29+
templateUrl: './restuarant-page.component.html',
30+
styleUrls: ['./restuarant-page.component.css'],
31+
standalone: false
3132
})
3233
export class RestuarantPageComponent implements OnInit {
3334
restaurantData: Observable<Restaurant> = new Observable();

firestore/src/app/review-list/review-list.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ import { Observable } from 'rxjs';
2020
import { Firestore, collection, collectionData } from '@angular/fire/firestore';
2121

2222
@Component({
23-
selector: 'app-review-list',
24-
templateUrl: './review-list.component.html',
25-
styleUrls: ['./review-list.component.css']
23+
selector: 'app-review-list',
24+
templateUrl: './review-list.component.html',
25+
styleUrls: ['./review-list.component.css'],
26+
standalone: false
2627
})
2728
export class ReviewListComponent implements OnInit {
2829
@Input() restaurantID: string | null = null;

firestore/src/app/sign-in-modal/sign-in-modal.component.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ export interface SignInOptions {
2828
}
2929

3030
@Component({
31-
selector: "app-sign-in-modal",
32-
templateUrl: "./sign-in-modal.component.html",
33-
styleUrls: ["./sign-in-modal.component.css"],
34-
encapsulation: ViewEncapsulation.None,
31+
selector: "app-sign-in-modal",
32+
templateUrl: "./sign-in-modal.component.html",
33+
styleUrls: ["./sign-in-modal.component.css"],
34+
encapsulation: ViewEncapsulation.None,
35+
standalone: false
3536
})
3637

3738
/**

firestore/src/app/submit-review-modal/submit-review-modal.component.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ import { Auth } from '@angular/fire/auth';
2222
import { Rating } from "../../types/ratings";
2323

2424
@Component({
25-
selector: "app-submit-review-modal",
26-
templateUrl: "./submit-review-modal.component.html",
27-
styleUrls: ["./submit-review-modal.component.css"],
28-
encapsulation: ViewEncapsulation.None
25+
selector: "app-submit-review-modal",
26+
templateUrl: "./submit-review-modal.component.html",
27+
styleUrls: ["./submit-review-modal.component.css"],
28+
encapsulation: ViewEncapsulation.None,
29+
standalone: false
2930
})
3031
export class SubmitReviewModalComponent {
3132
private firestore: Firestore = inject(Firestore);

0 commit comments

Comments
 (0)