Skip to content

Commit 8e56422

Browse files
committed
run ng update @angular-eslint/schematics@14 @angular/cdk@14 @angular/cli@14 @angular/core@14 @angular/material@14 --force
1 parent 82c3d30 commit 8e56422

File tree

8 files changed

+4512
-3768
lines changed

8 files changed

+4512
-3768
lines changed

angular.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
4-
"defaultProject": "app",
54
"newProjectRoot": "projects",
65
"projects": {
76
"app": {
@@ -188,8 +187,8 @@
188187
}
189188
},
190189
"cli": {
191-
"defaultCollection": "@ionic/angular-toolkit",
192-
"analytics": false
190+
"analytics": false,
191+
"schematicCollections": ["@ionic/angular-toolkit"]
193192
},
194193
"schematics": {
195194
"@ionic/angular-toolkit:component": {

package-lock.json

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

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"private": true,
2121
"dependencies": {
2222
"@angular/animations": "^14.2.0",
23-
"@angular/cdk": "^13.3.9",
23+
"@angular/cdk": "^14.2.0",
2424
"@angular/common": "^14.2.0",
25-
"@angular/core": "^13.3.11",
25+
"@angular/core": "^14.2.0",
2626
"@angular/forms": "^14.2.0",
27-
"@angular/material": "^13.3.9",
27+
"@angular/material": "^14.2.0",
2828
"@angular/platform-browser": "^14.2.0",
2929
"@angular/platform-browser-dynamic": "^14.2.0",
3030
"@angular/router": "^14.2.0",
@@ -84,13 +84,13 @@
8484
"zone.js": "^0.11.4"
8585
},
8686
"devDependencies": {
87-
"@angular-devkit/build-angular": "^13.3.9",
88-
"@angular-eslint/builder": "^13.5.0",
89-
"@angular-eslint/eslint-plugin": "^13.5.0",
90-
"@angular-eslint/eslint-plugin-template": "^13.5.0",
91-
"@angular-eslint/schematics": "^13.5.0",
92-
"@angular-eslint/template-parser": "^13.5.0",
93-
"@angular/cli": "^13.3.9",
87+
"@angular-devkit/build-angular": "^14.2.1",
88+
"@angular-eslint/builder": "^14.0.3",
89+
"@angular-eslint/eslint-plugin": "^14.0.3",
90+
"@angular-eslint/eslint-plugin-template": "^14.0.3",
91+
"@angular-eslint/schematics": "^14.0.3",
92+
"@angular-eslint/template-parser": "^14.0.3",
93+
"@angular/cli": "^14.2.1",
9494
"@angular/compiler": "^14.2.0",
9595
"@angular/compiler-cli": "^14.2.0",
9696
"@angular/language-service": "^14.2.0",
@@ -100,11 +100,11 @@
100100
"@types/jasminewd2": "^2.0.10",
101101
"@types/lodash-es": "^4.17.4",
102102
"@types/node": "^16.7.10",
103-
"@typescript-eslint/eslint-plugin": "5.3.0",
104-
"@typescript-eslint/parser": "5.3.0",
103+
"@typescript-eslint/eslint-plugin": "^5.29.0",
104+
"@typescript-eslint/parser": "^5.29.0",
105105
"assert": "^2.0.0",
106106
"crypto-browserify": "^3.12.0",
107-
"eslint": "^8.2.0",
107+
"eslint": "^8.18.0",
108108
"eslint-plugin-import": "2.25.2",
109109
"eslint-plugin-prefer-arrow": "^1.2.3",
110110
"eslint-plugin-rxjs": "^3.3.7",

src/app/features/login/login.page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpErrorResponse } from '@angular/common/http';
22
import { Component } from '@angular/core';
3-
import { FormGroup } from '@angular/forms';
3+
import { UntypedFormGroup } from '@angular/forms';
44
import { MatSnackBar } from '@angular/material/snack-bar';
55
import { ActivatedRoute, Router } from '@angular/router';
66
import { AlertController } from '@ionic/angular';
@@ -29,7 +29,7 @@ import { EMAIL_REGEXP } from '../../utils/validation';
2929
styleUrls: ['./login.page.scss'],
3030
})
3131
export class LoginPage {
32-
readonly form = new FormGroup({});
32+
readonly form = new UntypedFormGroup({});
3333

3434
readonly model: LoginFormModel = { email: '', password: '' };
3535

src/app/features/profile/phone-verification/phone-verification.page.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpErrorResponse } from '@angular/common/http';
22
import { Component } from '@angular/core';
3-
import { FormGroup } from '@angular/forms';
3+
import { UntypedFormGroup } from '@angular/forms';
44
import { MatSnackBar } from '@angular/material/snack-bar';
55
import { ActivatedRoute, Router } from '@angular/router';
66
import { TranslocoService } from '@ngneat/transloco';
@@ -31,11 +31,11 @@ import {
3131
styleUrls: ['./phone-verification.page.scss'],
3232
})
3333
export class PhoneVerificationPage {
34-
phoneNumberForm = new FormGroup({});
34+
phoneNumberForm = new UntypedFormGroup({});
3535
phoneNumberModel: phoneNumberFormModel = { phoneNumber: '' };
3636
phoneNumberFields: FormlyFieldConfig[] = [];
3737

38-
verificationCodeForm = new FormGroup({});
38+
verificationCodeForm = new UntypedFormGroup({});
3939
verificationCodeModel: verificationCodeModel = { verificationCode: '' };
4040
verificationCodeFields: FormlyFieldConfig[] = [];
4141

src/app/features/signup/signup.page.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpErrorResponse } from '@angular/common/http';
22
import { Component } from '@angular/core';
3-
import { FormGroup } from '@angular/forms';
3+
import { UntypedFormGroup } from '@angular/forms';
44
import { Router } from '@angular/router';
55
import { TranslocoService } from '@ngneat/transloco';
66
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
@@ -19,7 +19,7 @@ import { EMAIL_REGEXP } from '../../utils/validation';
1919
styleUrls: ['./signup.page.scss'],
2020
})
2121
export class SignupPage {
22-
form = new FormGroup({});
22+
form = new UntypedFormGroup({});
2323

2424
model: SignupFormModel = {
2525
email: '',
@@ -78,7 +78,7 @@ export class SignupPage {
7878
{
7979
validators: {
8080
fieldMatch: {
81-
expression: (control: FormGroup) => {
81+
expression: (control: UntypedFormGroup) => {
8282
const { password, confirmPassword } = control.value;
8383
return (
8484
confirmPassword === password ||
@@ -93,7 +93,7 @@ export class SignupPage {
9393
errorPath: 'confirmPassword',
9494
},
9595
referralCodeValidator: {
96-
expression: (control: FormGroup) => {
96+
expression: (control: UntypedFormGroup) => {
9797
const alphanumeric = /^[A-Z0-9]{6}$/g;
9898
const { referralCodeOptional } = control.value;
9999

src/app/shared/actions/actions-dialog/actions-dialog.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Inject } from '@angular/core';
2-
import { FormGroup } from '@angular/forms';
2+
import { UntypedFormGroup } from '@angular/forms';
33
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
44
import { FormlyFieldConfig } from '@ngx-formly/core';
55
import { Action, Param } from '../service/actions.service';
@@ -10,7 +10,7 @@ import { Action, Param } from '../service/actions.service';
1010
styleUrls: ['./actions-dialog.component.scss'],
1111
})
1212
export class ActionsDialogComponent {
13-
readonly form = new FormGroup({});
13+
readonly form = new UntypedFormGroup({});
1414
readonly fields: FormlyFieldConfig[] = [];
1515
readonly model: any = {};
1616

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"module": "es2020",
1111
"moduleResolution": "node",
1212
"importHelpers": true,
13-
"target": "es2015",
13+
"target": "es2020",
1414
"lib": ["es2019", "dom"],
1515
"strict": true,
1616
"resolveJsonModule": true,

0 commit comments

Comments
 (0)