Skip to content

Commit 6a7af3a

Browse files
authored
Merge pull request #204 from wp99cp/develop
Update Dependencies and Angular Version
2 parents c48d5bb + 0834d5c commit 6a7af3a

File tree

22 files changed

+7761
-5171
lines changed

22 files changed

+7761
-5171
lines changed

frontend/angular.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@
140140
}
141141
}
142142
},
143-
"defaultProject": "eMeal",
144143
"cli": {
145-
"defaultCollection": "@angular-eslint/schematics"
144+
"schematicCollections": [
145+
"@angular-eslint/schematics"
146+
]
146147
}
147148
}

frontend/package-lock.json

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

frontend/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emeal/menuplanung",
3-
"version": "1.14.9",
3+
"version": "1.14.10",
44
"license": "MIT",
55
"copyrights": "© 2019 - 2023 Cevi Züri 11 - eMeal Menüplanung",
66
"scripts": {
@@ -10,28 +10,28 @@
1010
"start:prod": "angular-build-info && ng serve --configuration production --ssl",
1111
"build": "angular-build-info && ng build",
1212
"analize-bundle": "angular-build-info && ng build --stats-json && webpack-bundle-analyzer dist/eMeal/stats.json",
13-
"build:prod": "angular-build-info && ng build --configuration production --aot=true --buildOptimizer=true --progress=true\n",
13+
"build:prod": "angular-build-info && ng build --configuration production --aot=true --progress=true\n",
1414
"test": "ng test",
1515
"lint": "ng lint",
1616
"e2e": "ng e2e"
1717
},
1818
"private": true,
1919
"dependencies": {
20-
"@angular-devkit/schematics": "^13.1.4",
21-
"@angular/animations": "^13.1.3",
22-
"@angular/cdk": "^13.1.3",
23-
"@angular/common": "^13.1.3",
24-
"@angular/compiler": "^13.1.3",
25-
"@angular/core": "^13.1.3",
20+
"@angular-devkit/schematics": "^14.2.11",
21+
"@angular/animations": "^14.3.0",
22+
"@angular/cdk": "^14.2.7",
23+
"@angular/common": "^14.3.0",
24+
"@angular/compiler": "^14.3.0",
25+
"@angular/core": "^14.3.0",
2626
"@angular/fire": "^7.2.0",
27-
"@angular/forms": "^13.1.3",
28-
"@angular/localize": "^13.1.3",
29-
"@angular/material": "^13.1.3",
30-
"@angular/material-moment-adapter": "^13.1.3",
31-
"@angular/platform-browser": "^13.1.3",
32-
"@angular/platform-browser-dynamic": "^13.1.3",
33-
"@angular/router": "^13.1.3",
34-
"@angular/service-worker": "^13.1.3",
27+
"@angular/forms": "^14.3.0",
28+
"@angular/localize": "^14.3.0",
29+
"@angular/material": "^14.2.7",
30+
"@angular/material-moment-adapter": "^14.2.7",
31+
"@angular/platform-browser": "^14.3.0",
32+
"@angular/platform-browser-dynamic": "^14.3.0",
33+
"@angular/router": "^14.3.0",
34+
"@angular/service-worker": "^14.3.0",
3535
"@schematics/angular": "^13.3.3",
3636
"cross": "^1.0.0",
3737
"firebase": "^9.6.4",
@@ -42,15 +42,15 @@
4242
"zone.js": "~0.11.4"
4343
},
4444
"devDependencies": {
45-
"@angular-devkit/build-angular": "^13.1.4",
45+
"@angular-devkit/build-angular": "^14.2.11",
4646
"@angular-eslint/builder": "13.2.1",
4747
"@angular-eslint/eslint-plugin": "13.1.0",
4848
"@angular-eslint/eslint-plugin-template": "13.1.0",
49-
"@angular-eslint/schematics": "13.1.0",
49+
"@angular-eslint/schematics": "^14.0.0",
5050
"@angular-eslint/template-parser": "13.1.0",
51-
"@angular/cli": "^13.1.4",
52-
"@angular/compiler-cli": "^13.1.3",
53-
"@angular/language-service": "^13.1.3",
51+
"@angular/cli": "^14.2.11",
52+
"@angular/compiler-cli": "^14.3.0",
53+
"@angular/language-service": "^14.3.0",
5454
"@types/core-js": "^2.5.4",
5555
"@types/jasmine": "~3.3.8",
5656
"@types/jasminewd2": "^2.0.8",

frontend/src/app/modules/application-module/components/edit-recipe-in-camp/edit-recipe-in-camp.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Component, EventEmitter, Input, OnChanges, OnInit, Output} from '@angular/core';
2-
import {FormBuilder} from '@angular/forms';
2+
import {UntypedFormBuilder} from '@angular/forms';
33
import {Observable} from 'rxjs';
44
import {mergeMap, take} from 'rxjs/operators';
55
import {Camp} from '../../classes/camp';
@@ -42,7 +42,7 @@ export class EditRecipeInCampComponent implements OnInit, Saveable, OnChanges {
4242
private recipeChanged = false;
4343

4444
constructor(
45-
private formBuilder: FormBuilder,
45+
private formBuilder: UntypedFormBuilder,
4646
private databaseService: DatabaseService,
4747
public dialog: MatDialog,
4848
public snackBar: MatSnackBar) {

frontend/src/app/modules/application-module/components/edit-recipe/edit-recipe.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
22
import {Recipe} from '../../classes/recipe';
3-
import {FormBuilder, FormGroup} from '@angular/forms';
3+
import {UntypedFormBuilder, UntypedFormGroup} from '@angular/forms';
44
import {DatabaseService} from '../../services/database.service';
55
import {OverwritenIngredient} from '../../classes/overwritableIngredient';
66
import {Ingredient} from '../../interfaces/firestoreDatatypes';
@@ -24,7 +24,7 @@ export class EditRecipeComponent implements OnInit {
2424
Math = Math;
2525
Number = Number;
2626

27-
public recipeForm: FormGroup;
27+
public recipeForm: UntypedFormGroup;
2828
public ingredients: OverwritenIngredient[];
2929

3030
@Input() public recipe: Recipe;
@@ -43,7 +43,7 @@ export class EditRecipeComponent implements OnInit {
4343
private selectedIngredientID = '';
4444

4545
constructor(
46-
private formBuilder: FormBuilder,
46+
private formBuilder: UntypedFormBuilder,
4747
private databaseService: DatabaseService,
4848
private dialog: MatDialog,
4949
private router: Router,

frontend/src/app/modules/application-module/dialoges/camp-info/camp-info.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Inject } from '@angular/core';
2-
import { FormBuilder, FormGroup } from '@angular/forms';
2+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
33
import { Camp } from '../../classes/camp';
44
import { DatabaseService } from '../../services/database.service';
55
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
@@ -15,15 +15,15 @@ import {HelpService} from '../../services/help.service';
1515
})
1616
export class CampInfoComponent {
1717

18-
public campInfosForm: FormGroup;
18+
public campInfosForm: UntypedFormGroup;
1919
public camp: Camp;
2020

2121
public hasAccess: Promise<boolean>
2222
public valueHasNotChanged = true;
2323

2424
constructor(
2525
@Inject(MAT_DIALOG_DATA) data: { camp: Camp },
26-
formBuilder: FormBuilder,
26+
formBuilder: UntypedFormBuilder,
2727
dbService: DatabaseService,
2828
public helpService: HelpService) {
2929

frontend/src/app/modules/application-module/dialoges/create-camp/create-camp.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Component} from '@angular/core';
2-
import {FormBuilder, FormGroup} from '@angular/forms';
2+
import {UntypedFormBuilder, UntypedFormGroup} from '@angular/forms';
33
import firebase from 'firebase/compat/app';
44
import {map} from 'rxjs/operators';
55
import {FirestoreObject} from '../../classes/firebaseObject';
@@ -34,10 +34,10 @@ import Timestamp = firebase.firestore.Timestamp;
3434
export class CreateCampComponent {
3535

3636
// Form data to create new CampClass
37-
public newCampInfos: FormGroup;
38-
public newCampParticipants: FormGroup;
37+
public newCampInfos: UntypedFormGroup;
38+
public newCampParticipants: UntypedFormGroup;
3939

40-
constructor(private formBuilder: FormBuilder,
40+
constructor(private formBuilder: UntypedFormBuilder,
4141
public dbService: DatabaseService,
4242
private authService: AuthenticationService,
4343
public helpService: HelpService) {

frontend/src/app/modules/application-module/dialoges/create-meal/create-meal.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component, OnInit, Inject } from '@angular/core';
22
import { AuthenticationService } from '../../services/authentication.service';
33
import { map } from 'rxjs/operators';
44
import { Observable } from 'rxjs';
5-
import { FormGroup, FormBuilder } from '@angular/forms';
5+
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
66
import { empty } from 'rxjs';
77
import { FirestoreMeal } from '../../interfaces/firestoreDatatypes';
88
import { FirestoreObject } from '../../classes/firebaseObject';
@@ -16,11 +16,11 @@ import {Router} from '@angular/router';
1616
})
1717
export class CreateMealComponent implements OnInit {
1818

19-
public newMealForm: FormGroup;
19+
public newMealForm: UntypedFormGroup;
2020

2121
constructor(
2222
private authService: AuthenticationService,
23-
formBuilder: FormBuilder,
23+
formBuilder: UntypedFormBuilder,
2424
public router: Router,
2525
public dialogRef: MatDialog,
2626
@Inject(MAT_DIALOG_DATA) public data: { mealName: string }) {

frontend/src/app/modules/application-module/dialoges/create-recipe/create-recipe.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit, Inject } from '@angular/core';
2-
import { FormGroup, FormBuilder } from '@angular/forms';
2+
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
33
import { AuthenticationService } from '../../services/authentication.service';
44
import { Observable, empty } from 'rxjs';
55
import { map } from 'rxjs/operators';
@@ -15,11 +15,11 @@ import {Router} from '@angular/router';
1515
})
1616
export class CreateRecipeComponent implements OnInit {
1717

18-
public newRecipeForm: FormGroup;
18+
public newRecipeForm: UntypedFormGroup;
1919

2020
constructor(
2121
private authService: AuthenticationService,
22-
formBuilder: FormBuilder,
22+
formBuilder: UntypedFormBuilder,
2323
public router: Router,
2424
public dialogRef: MatDialog,
2525
@Inject(MAT_DIALOG_DATA) public data: { recipeName: string }) {

frontend/src/app/modules/application-module/dialoges/edit-day/edit-day.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Component, Inject, OnInit} from '@angular/core';
2-
import {FormBuilder, FormGroup} from '@angular/forms';
2+
import {UntypedFormBuilder, UntypedFormGroup} from '@angular/forms';
33
import {MAT_DIALOG_DATA} from '@angular/material/dialog';
44

55
import {Day} from '../../classes/day';
@@ -31,12 +31,12 @@ import {SwissDateAdapter} from "../../../../shared/utils/format-datapicker";
3131
})
3232
export class EditDayComponent implements OnInit {
3333

34-
public dayInfo: FormGroup;
34+
public dayInfo: UntypedFormGroup;
3535
private currentDate;
3636

3737
constructor(
3838
@Inject(MAT_DIALOG_DATA) public data: { day: Day, specificMeals: SpecificMeal[], days: Day[], access: boolean },
39-
private formBuilder: FormBuilder,
39+
private formBuilder: UntypedFormBuilder,
4040
public swissDateAdapter: SwissDateAdapter) {
4141
}
4242

0 commit comments

Comments
 (0)