Update angular core and cli to version 14

This commit is contained in:
Konstantinos Triantafyllou 2022-09-23 17:00:23 +03:00
parent 9c93a7b5d3
commit 711b296a88
4 changed files with 19 additions and 20 deletions

View File

@ -121,7 +121,6 @@
}
}
},
"defaultProject": "interactivemining",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",

View File

@ -13,15 +13,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^13.3.11",
"@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/platform-browser": "^13.3.11",
"@angular/platform-browser-dynamic": "^13.3.11",
"@angular/router": "^13.3.11",
"@angular/animations": "^14.2.3",
"@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/platform-browser": "^14.2.3",
"@angular/platform-browser-dynamic": "^14.2.3",
"@angular/router": "^14.2.3",
"core-js": "^2.4.1",
"file-saver": "^2.0.2",
"jquery": "^3.4.1",
@ -34,10 +34,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",
"@types/file-saver": "^2.0.1",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.6",
@ -51,7 +51,7 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.6.0",
"ng-packagr": "^13.3.1",
"ng-packagr": "^14.2.1",
"protractor": "~7.0.0",
"ts-node": "~8.2.0",
"typescript": "~4.6.4"

View File

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
import {Settings} from './settings';
import {Phrase} from './phrase';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
import {UntypedFormBuilder, UntypedFormGroup, Validators} from '@angular/forms';
import {ConfigurationService} from '../configuration.service';
import {ActivatedRoute, Router} from '@angular/router';
@ -35,12 +35,12 @@ export class SettingsComponent implements OnInit {
public positiveSelectedRow = -1;
public negativeSelectedRow = -1;
positivePhraseForm: FormGroup;
negativePhraseForm: FormGroup;
positivePhraseForm: UntypedFormGroup;
negativePhraseForm: UntypedFormGroup;
public settings: Settings;
constructor(private formBuilder: FormBuilder,
constructor(private formBuilder: UntypedFormBuilder,
private route: ActivatedRoute,
private router: Router,
private configurationService: ConfigurationService) {

View File

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