update angular core and cli to v14

This commit is contained in:
Alex Martzios 2022-09-23 15:51:21 +03:00
parent 5dfa3b41c4
commit 94a59dc5a6
4 changed files with 19 additions and 20 deletions

View File

@ -337,6 +337,5 @@
}
}
}
},
"defaultProject": "explore"
}
}

View File

@ -23,18 +23,18 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~13.3.11",
"@angular/animations": "^14.2.3",
"@angular/cdk": "^13.3.9",
"@angular/common": "~13.3.11",
"@angular/compiler": "~13.3.11",
"@angular/core": "~13.3.11",
"@angular/forms": "~13.3.11",
"@angular/localize": "^13.3.11",
"@angular/common": "^14.2.3",
"@angular/compiler": "^14.2.3",
"@angular/core": "^14.2.3",
"@angular/forms": "^14.2.3",
"@angular/localize": "^14.2.3",
"@angular/material": "^13.3.9",
"@angular/platform-browser": "~13.3.11",
"@angular/platform-browser-dynamic": "~13.3.11",
"@angular/platform-server": "~13.3.11",
"@angular/router": "~13.3.11",
"@angular/platform-browser": "^14.2.3",
"@angular/platform-browser-dynamic": "^14.2.3",
"@angular/platform-server": "^14.2.3",
"@angular/router": "^14.2.3",
"@nguniversal/express-engine": "^13.1.1",
"clipboard": "^1.5.16",
"core-js": "^2.5.4",
@ -49,10 +49,10 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.3.9",
"@angular/cli": "~13.3.9",
"@angular/compiler-cli": "~13.3.11",
"@angular/language-service": "~13.3.11",
"@angular-devkit/build-angular": "^14.2.3",
"@angular/cli": "^14.2.3",
"@angular/compiler-cli": "^14.2.3",
"@angular/language-service": "^14.2.3",
"@nguniversal/builders": "^13.1.1",
"@types/compression": "^1.7.0",
"@types/express": "^4.17.0",

View File

@ -5,7 +5,7 @@ import {Subscription} from "rxjs";
import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.component";
import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
import {properties} from "src/environments/environment";
import {FormBuilder, FormControl} from "@angular/forms";
import {UntypedFormBuilder, UntypedFormControl} from "@angular/forms";
import {ActivatedRoute, Router} from "@angular/router";
import {Meta, Title} from "@angular/platform-browser";
import {Location} from "@angular/common";
@ -27,7 +27,7 @@ export class FosComponent implements OnInit, OnDestroy {
public fosOptions: string[] = [];
public index: number = 0;
public keywordControl: FormControl;
public keywordControl: UntypedFormControl;
public keyword: string = null;
public viewResults = [];
@ -41,7 +41,7 @@ export class FosComponent implements OnInit, OnDestroy {
constructor(
private httpClient: HttpClient,
private fb: FormBuilder,
private fb: UntypedFormBuilder,
private location: Location,
private route: ActivatedRoute,
private _router: Router,

View File

@ -10,7 +10,7 @@
"moduleResolution": "node",
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"target": "es2020",
"typeRoots": [
"node_modules/@types"
],