From 56cfef9ae3da8a6edf41683e51b681be888e9047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Adler?= Date: Mon, 19 Feb 2024 08:48:32 +0100 Subject: [PATCH] migrate to Angular 17 --- angular.json | 6 ++--- package.json | 53 ++++++++++++++++++++++---------------------- pom.xml | 39 ++++++++++++++++---------------- src/ui/tsconfig.json | 8 +++---- 4 files changed, 53 insertions(+), 53 deletions(-) diff --git a/angular.json b/angular.json index 344cdde..cc2a175 100644 --- a/angular.json +++ b/angular.json @@ -60,18 +60,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "srdash-ui:build" + "buildTarget": "srdash-ui:build" }, "configurations": { "production": { - "browserTarget": "srdash-ui:build:production" + "buildTarget": "srdash-ui:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "srdash-ui:build" + "buildTarget": "srdash-ui:build" } } } diff --git a/package.json b/package.json index b35ab40..e062a32 100644 --- a/package.json +++ b/package.json @@ -21,46 +21,47 @@ "not IE 11" ], "dependencies": { - "@angular/animations": "15.0.3", - "@angular/common": "15.0.3", - "@angular/compiler": "15.0.3", - "@angular/core": "15.0.3", - "@angular/forms": "15.0.3", - "@angular/localize": "15.0.3", - "@angular/platform-browser": "15.0.3", - "@angular/platform-browser-dynamic": "15.0.3", - "@angular/router": "15.0.3", + "@angular/animations": "17.2.1", + "@angular/common": "17.2.1", + "@angular/compiler": "17.2.1", + "@angular/core": "17.2.1", + "@angular/forms": "17.2.1", + "@angular/localize": "17.2.1", + "@angular/platform-browser": "17.2.1", + "@angular/platform-browser-dynamic": "17.2.1", + "@angular/router": "17.2.1", "@fontsource/dseg14": "^4.5.3", - "@fortawesome/fontawesome-free": "^6.2.1", - "@ngx-translate/core": "^14.0.0", - "@ngx-translate/http-loader": "^7.0.0", - "@uirouter/angular": "10.0.0", - "@uirouter/core": "6.0.8", + "@fortawesome/fontawesome-free": "^6.5.1", + "@ngx-translate/core": "^15.0.0", + "@ngx-translate/http-loader": "^8.0.0", + "@uirouter/angular": "13.0.0", + "@uirouter/core": "6.1.0", "@uirouter/rx": "1.0.0", "messageformat": "^2.3.0", - "ngx-translate-messageformat-compiler": "^6.2.0", - "rxjs": "^6.6.7", + "ngx-translate-messageformat-compiler": "^7.0.0", + "rxjs": "^7.8.1", "tslib": "^2.3.0", "web-animations-js": "^2.3.2", - "zone.js": "~0.12.0" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^15.0.3", - "@angular/cli": "15.0.3", - "@angular/compiler-cli": "15.0.3", - "@angular/language-service": "15.0.3", - "@types/node": "^18.11.13", + "@angular-devkit/build-angular": "^17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "^20.11.19", "codelyzer": "^6.0.2", + "domhandler": "^5.0.3", "imagemin": "^8.0.1", "imagemin-giflossy": "^5.1.10", "imagemin-gifsicle": "^7.0.0", "imagemin-mozjpeg": "^10.0.0", "imagemin-pngquant": "^9.0.2", "imagemin-svgo": "^10.0.1", - "p-limit": "^4.0.0", - "ts-node": "^10.9.1", + "p-limit": "^5.0.0", + "ts-node": "^10.9.2", "tslint": "~6.1.3", - "typescript": "4.8.4", - "webpack-bundle-analyzer": "^4.7.0" + "typescript": "5.3.3", + "webpack-bundle-analyzer": "^4.10.1" } } diff --git a/pom.xml b/pom.xml index 0063a5a..ab84998 100644 --- a/pom.xml +++ b/pom.xml @@ -23,13 +23,13 @@ 3.0.3 UTF-8 - 4.0.0 + 4.0.2 11 - 3.1.0 - 2.19.0 + 3.1.5 + 2.20.0 ${java.version} - v18.10.0 - 8.19.2 + v18.16.0 + 9.2.0 @@ -53,6 +53,11 @@ grizzly-http ${grizzly.version} + + org.glassfish.grizzly + grizzly-framework + ${grizzly.version} + org.glassfish.grizzly grizzly-websockets @@ -134,7 +139,7 @@ com.google.guava guava - 31.1-jre + 33.0.0-jre @@ -146,7 +151,7 @@ commons-io commons-io - 2.11.0 + 2.15.1 @@ -158,7 +163,7 @@ com.fasterxml.jackson.core jackson-databind - 2.14.1 + 2.16.1 org.apache.logging.log4j @@ -168,15 +173,9 @@ - com.sun.xml.bind - jaxb-core - 3.0.2 - runtime - - - com.sun.xml.bind - jaxb-impl - 3.0.2 + org.glassfish.jaxb + jaxb-runtime + 4.0.4 runtime @@ -210,13 +209,13 @@ maven-dependency-plugin - 3.1.1 + 3.3.0 org.apache.maven.shared maven-dependency-analyzer - 1.11.3 + 1.13.2 org.apache.maven @@ -254,7 +253,7 @@ - org.eclipse.m2e diff --git a/src/ui/tsconfig.json b/src/ui/tsconfig.json index 8800fc0..de76e54 100644 --- a/src/ui/tsconfig.json +++ b/src/ui/tsconfig.json @@ -4,17 +4,17 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "module": "esnext", + "module": "ESNext", "moduleResolution": "node", "experimentalDecorators": true, "importHelpers": true, - "target": "es2015", + "target": "ES2022", "typeRoots": [ "../../node_modules/@types" ], "lib": [ - "es2017", + "ES2020", "dom" ] } -} \ No newline at end of file +}