update angular core and cli to v14

This commit is contained in:
Alex Martzios 2022-09-23 17:31:56 +03:00
parent e691294aa2
commit 84d691c407
4 changed files with 17 additions and 18 deletions

View File

@ -279,6 +279,5 @@
} }
} }
} }
}, }
"defaultProject": "aggregator"
} }

View File

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

View File

@ -128,7 +128,7 @@ export class AppRoutingModule {
})); }));
} }
getOptionalRoutes(){ getOptionalRoutes(){
let optionalRoutes = [ let optionalRoutes: Routes = [
// Deposit Pages // Deposit Pages
{ path: 'participate/deposit-datasets', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'}, { path: 'participate/deposit-datasets', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'},
{ path: 'participate/deposit-datasets-result', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'}, { path: 'participate/deposit-datasets-result', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'},

View File

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