From a53f262910325066f5195fcb16a6021a98e7e1eb Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 15 Jan 2025 08:31:42 +0100 Subject: [PATCH] Upgrade Angular from 16 to 17 Issue-ID: PORTALNG-132 Change-Id: Ibdca7ce0e0cbea79f12c424ad18f36bec6f1d462 Signed-off-by: Fiete Ostkamp --- .gitignore | 1 + angular.json | 6 +++--- openapi/config.json | 2 +- openapitools.json | 2 +- package.json | 52 ++++++++++++++++++++++++++-------------------------- 5 files changed, 32 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 531587f..9d20ae4 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ Thumbs.db .cache staging.proxy.config.json +.nx diff --git a/angular.json b/angular.json index 339a24b..d57e671 100644 --- a/angular.json +++ b/angular.json @@ -80,18 +80,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "frontend:build" + "buildTarget": "frontend:build" }, "configurations": { "production": { - "browserTarget": "frontend:build:production" + "buildTarget": "frontend:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "frontend:build" + "buildTarget": "frontend:build" } }, "test": { diff --git a/openapi/config.json b/openapi/config.json index cbce309..eb49ea2 100644 --- a/openapi/config.json +++ b/openapi/config.json @@ -1,5 +1,5 @@ { - "ngVersion": "12.1.0", + "ngVersion": "17.3.12", "modelFileSuffix": ".model", "fileNaming": "camelCase", "enumPropertyNaming": "UPPERCASE" diff --git a/openapitools.json b/openapitools.json index 7e616af..9306343 100644 --- a/openapitools.json +++ b/openapitools.json @@ -9,7 +9,7 @@ "inputSpec": "openapi/input/api.yaml", "output": "openapi/output", "additionalProperties": { - "ngVersion": "12.1.0", + "ngVersion": "17.3.12", "modelFileSuffix": ".model", "fileNaming": "camelCase", "enumPropertyNaming": "UPPERCASE" diff --git a/package.json b/package.json index c6d404e..6a6d386 100644 --- a/package.json +++ b/package.json @@ -21,37 +21,37 @@ }, "private": true, "dependencies": { - "@angular/animations": "16.2.12", - "@angular/cdk": "16.2.14", - "@angular/common": "16.2.12", - "@angular/compiler": "16.2.12", - "@angular/core": "16.2.12", - "@angular/forms": "16.2.12", - "@angular/localize": "16.2.12", - "@angular/platform-browser": "16.2.12", - "@angular/platform-browser-dynamic": "16.2.12", - "@angular/router": "16.2.12", - "@ng-bootstrap/ng-bootstrap": "15.1.2", - "@ngx-translate/core": "14.0.0", - "@ngx-translate/http-loader": "7.0.0", - "@popperjs/core": "^2.11.6", - "angular-oauth2-oidc": "^16.0.0", - "bootstrap": "5.2.3", + "@angular/animations": "17.3.12", + "@angular/cdk": "17.3.10", + "@angular/common": "17.3.12", + "@angular/compiler": "17.3.12", + "@angular/core": "17.3.12", + "@angular/forms": "17.3.12", + "@angular/localize": "17.3.12", + "@angular/platform-browser": "17.3.12", + "@angular/platform-browser-dynamic": "17.3.12", + "@angular/router": "17.3.12", + "@ng-bootstrap/ng-bootstrap": "^16.0.0", + "@ngx-translate/core": "^16.0.4", + "@ngx-translate/http-loader": "^16.0.1", + "@popperjs/core": "^2.11.8", + "angular-oauth2-oidc": "^17.0.2", + "bootstrap": "^5.3.2", "license-report": "5.0.2", "lodash": "4.17.21", "rxjs": "~7.4.0", "tslib": "2.3.0", - "zone.js": "0.13.3" + "zone.js": "0.14.3" }, "devDependencies": { - "@angular-devkit/build-angular": "16.2.16", - "@angular-eslint/builder": "16.3.1", - "@angular-eslint/eslint-plugin": "16.3.1", - "@angular-eslint/eslint-plugin-template": "16.3.1", - "@angular-eslint/schematics": "16.3.1", - "@angular-eslint/template-parser": "16.3.1", - "@angular/cli": "16.2.16", - "@angular/compiler-cli": "16.2.12", + "@angular-devkit/build-angular": "17.3.11", + "@angular-eslint/builder": "17.3.0", + "@angular-eslint/eslint-plugin": "17.3.0", + "@angular-eslint/eslint-plugin-template": "17.3.0", + "@angular-eslint/schematics": "17.3.0", + "@angular-eslint/template-parser": "17.3.0", + "@angular/cli": "17.3.11", + "@angular/compiler-cli": "17.3.12", "@openapitools/openapi-generator-cli": "^2.6.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "2.0.3", @@ -81,7 +81,7 @@ "protractor": "7.0.0", "sonar-scanner": "3.1.0", "ts-node": "10.9.0", - "typescript": "~4.9.3" + "typescript": "^5.3.3" }, "husky": { "hooks": { -- 2.16.6