Update Angular and dependencies to 21.1.0
All checks were successful
Build & Push Frontend A / docker (push) Successful in 44s

Upgraded Angular packages and related dependencies from 21.0.x to 21.1.0 in package.json and package-lock.json. Updated asset references in AssetsConstants.ts and made minor adjustments in about and projects components to align with the new Angular version.
This commit is contained in:
2026-01-21 16:40:39 +01:00
parent 547bd2f94e
commit 0b64a4b354
5 changed files with 1554 additions and 1762 deletions

3180
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,32 +10,32 @@
},
"private": true,
"dependencies": {
"@angular-devkit/build-angular": "^21.0.3",
"@angular/animations": "^21.0.5",
"@angular/cdk": "^21.0.3",
"@angular/common": "^21.0.5",
"@angular/compiler": "^21.0.5",
"@angular/core": "^21.0.5",
"@angular/forms": "^21.0.5",
"@angular/material": "^21.0.3",
"@angular/platform-browser": "^21.0.5",
"@angular/router": "^21.0.5",
"@ngx-translate/core": "^17.0.0",
"@ngx-translate/http-loader": "^17.0.0",
"@angular-devkit/build-angular": "~21.1.0",
"@angular/animations": "~21.1.0",
"@angular/cdk": "~21.1.0",
"@angular/common": "~21.1.0",
"@angular/compiler": "~21.1.0",
"@angular/core": "~21.1.0",
"@angular/forms": "~21.1.0",
"@angular/material": "~21.1.0",
"@angular/platform-browser": "~21.1.0",
"@angular/router": "~21.1.0",
"@ngx-translate/core": "~17.0.0",
"@ngx-translate/http-loader": "~17.0.0",
"@tsparticles/angular": "~3.0.0",
"@tsparticles/engine": "~3.9.1",
"rxjs": "^7.8.0",
"rxjs": "~7.8.2",
"swiper": "~12.0.3",
"tslib": "^2.3.0",
"tslib": "~2.8.1",
"tsparticles": "~3.9.1"
},
"devDependencies": {
"@angular/build": "^21.0.3",
"@angular/cli": "^21.0.3",
"@angular/compiler-cli": "^21.0.5",
"@angular/platform-browser-dynamic": "^21.0.5",
"@types/jasmine": "^5.1.0",
"jasmine-core": "^5.9.0",
"typescript": "^5.9.2"
"@angular/build": "~21.1.0",
"@angular/cli": "~21.1.0",
"@angular/compiler-cli": "~21.1.0",
"@angular/platform-browser-dynamic": "~21.1.0",
"@types/jasmine": "~5.1.15",
"jasmine-core": "~6.0.1",
"typescript": "~5.9.3"
}
}

View File

@@ -1,40 +1,46 @@
export class AssetsConstants {
export class AssetsConstants {
static readonly ME = '/assets/me.webp';
static readonly LOGO = '/assets/favicon.ico';
static readonly FLAG_DE = '/assets/flags/de.svg';
static readonly FLAG_EN = '/assets/flags/gb.svg';
static readonly LOGO = '/assets/favicon.ico';
static readonly FLAG_DE = '/assets/flags/de.svg';
static readonly FLAG_EN = '/assets/flags/gb.svg';
//logos
static readonly CHAMAELEON_LOGO = '/assets/logos/logo_chamaeleon.svg';
static readonly TH_BINGEN_LOGO = '/assets/logos/bingen-logo-white.svg';
static readonly ASSYST_LOG = '/assets/logos/assyst_gmbh_logo.jpg';
static readonly ASSYST_LOGO = '/assets/logos/assyst_gmbh_logo.jpg';
static readonly COLORDIGITAL_LOGO = '/assets/logos/dmixcloud_logo.jpg';
static readonly TERAPORT_LOGO = '/assets/logos/teraport_gmbh_logo.jpg';
static readonly DIPLOMA= 'assets/projects/diploma/Dahm2010-Diplomarbeit.pdf';
static readonly DIPLOMA = '/assets/projects/diploma/Dahm2010-Diplomarbeit.pdf';
//project images
static readonly EL_MUCHO_1 = '/assets/projects/el-mucho/1.jpg';
static readonly EL_MUCHO_2 = '/assets/projects/el-mucho/2.jpg';
static readonly EL_MUCHO_3 = '/assets/projects/el-mucho/3.jpg';
static readonly EL_MUCHO_4 = '/assets/projects/el-mucho/4.jpg';
static readonly EL_MUCHO_IMAGES = [
'/assets/projects/el-mucho/1.jpg',
'/assets/projects/el-mucho/2.jpg',
'/assets/projects/el-mucho/3.jpg',
'/assets/projects/el-mucho/4.jpg'
];
static readonly GAME_JAMS_1 = '/assets/projects/game-jams/1.png';
static readonly GAME_JAMS_2 = '/assets/projects/game-jams/2.png';
static readonly GAME_JAMS_3 = '/assets/projects/game-jams/3.png';
static readonly DIPLOMA_1 = '/assets/projects/diploma/1.jpg';
static readonly DIPLOMA_2 = '/assets/projects/diploma/2.jpg';
static readonly DIPLOMA_3 = '/assets/projects/diploma/3.jpg';
static readonly DIPLOMA_4 = '/assets/projects/diploma/4.jpg';
static readonly DIPLOMA_5 = '/assets/projects/diploma/5.jpg';
static readonly DIPLOMA_6 = '/assets/projects/diploma/6.jpg';
static readonly TRIBBLE_1 = '/assets/projects/tribble-the-homeserver/2.png';
static readonly TRIBBLE_2 = '/assets/projects/tribble-the-homeserver/1.png';
static readonly TRIBBLE_3 = '/assets/projects/tribble-the-homeserver/3.png';
static readonly TRIBBLE_4 = '/assets/projects/tribble-the-homeserver/4.png';
static readonly GAME_JAMS_IMAGES = [
'/assets/projects/game-jams/1.png',
'/assets/projects/game-jams/2.png',
'/assets/projects/game-jams/3.png'
];
static readonly DIPLOMA_IMAGES = [
'/assets/projects/diploma/1.jpg',
'/assets/projects/diploma/2.jpg',
'/assets/projects/diploma/3.jpg',
'/assets/projects/diploma/4.jpg',
'/assets/projects/diploma/5.jpg',
'/assets/projects/diploma/6.jpg'
];
static readonly TRIBBLE_IMAGES = [
'/assets/projects/tribble-the-homeserver/1.png',
'/assets/projects/tribble-the-homeserver/2.png',
'/assets/projects/tribble-the-homeserver/3.png',
'/assets/projects/tribble-the-homeserver/4.png'
];
}

View File

@@ -45,15 +45,15 @@ export class AboutComponent {
},
{
key: 'ABOUT.XP.COMPANY5',
logo: AssetsConstants.ASSYST_LOG
logo: AssetsConstants.ASSYST_LOGO
},
{
key: 'ABOUT.XP.COMPANY4',
logo: AssetsConstants.ASSYST_LOG
logo: AssetsConstants.ASSYST_LOGO
},
{
key: 'ABOUT.XP.COMPANY3',
logo: AssetsConstants.ASSYST_LOG
logo: AssetsConstants.ASSYST_LOGO
},
{
key: 'ABOUT.XP.COMPANY2',

View File

@@ -75,12 +75,7 @@ export class ProjectsComponent implements OnInit, OnDestroy {
title: 'PROJECTS.EL_MUCHO.TITLE',
shortDescription: 'PROJECTS.EL_MUCHO.SHORT_DESCRIPTION',
introduction: 'PROJECTS.EL_MUCHO.INTRODUCTION',
images: [
{ url: AssetsConstants.EL_MUCHO_1, source: ''},
{ url: AssetsConstants.EL_MUCHO_2, source: ''},
{ url: AssetsConstants.EL_MUCHO_3, source: ''},
{ url: AssetsConstants.EL_MUCHO_4, source: ''}
],
images: AssetsConstants.EL_MUCHO_IMAGES.map(url => ({ url, source: '' })),
icon: 'sports_esports',
assets: '',
links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://store.steampowered.com/app/1532640/El_Mucho/'}],
@@ -98,11 +93,7 @@ export class ProjectsComponent implements OnInit, OnDestroy {
title: 'PROJECTS.GAME_JAMS.TITLE',
shortDescription: 'PROJECTS.GAME_JAMS.SHORT_DESCRIPTION',
introduction: 'PROJECTS.GAME_JAMS.INTRODUCTION',
images: [
{ url: AssetsConstants.GAME_JAMS_1, source: ''},
{ url: AssetsConstants.GAME_JAMS_2, source: ''},
{ url: AssetsConstants.GAME_JAMS_3, source: ''}
],
images: AssetsConstants.GAME_JAMS_IMAGES.map(url => ({ url, source: '' })),
icon: 'videogame_asset',
assets: '',
links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://itch.io/c/6628860/lobos-collection'}],
@@ -120,14 +111,7 @@ export class ProjectsComponent implements OnInit, OnDestroy {
title: 'PROJECTS.DIPLOMA.TITLE',
shortDescription: 'PROJECTS.DIPLOMA.SHORT_DESCRIPTION',
introduction: 'PROJECTS.DIPLOMA.INTRODUCTION',
images: [
{ url: AssetsConstants.DIPLOMA_1, source: ''},
{ url: AssetsConstants.DIPLOMA_2, source: ''},
{ url: AssetsConstants.DIPLOMA_3, source: ''},
{ url: AssetsConstants.DIPLOMA_4, source: ''},
{ url: AssetsConstants.DIPLOMA_5, source: ''},
{ url: AssetsConstants.DIPLOMA_6, source: ''}
],
images: AssetsConstants.DIPLOMA_IMAGES.map(url => ({ url, source: '' })),
icon: 'history_edu',
assets: AssetsConstants.DIPLOMA,
links: [{name: 'PROJECTS.LINK_TO_PROJECT', url: 'https://www.th-bingen.de'}],
@@ -146,10 +130,10 @@ export class ProjectsComponent implements OnInit, OnDestroy {
shortDescription: 'PROJECTS.TRIBBLE.SHORT_DESCRIPTION',
introduction: 'PROJECTS.TRIBBLE.INTRODUCTION',
images: [
{ url: AssetsConstants.TRIBBLE_1, source: 'https://dashboardicons.com/icons/docker-engine'},
{ url: AssetsConstants.TRIBBLE_2, source: 'https://upload.wikimedia.org/wikipedia/commons/0/03/Hostinger_Logo.png'},
{ url: AssetsConstants.TRIBBLE_3, source: 'https://dashboardicons.com/icons/gitea'},
{ url: AssetsConstants.TRIBBLE_4, source: 'https://commons.wikimedia.org/wiki/File:Traefik.logo.png'}
{ url: AssetsConstants.TRIBBLE_IMAGES[0], source: 'https://upload.wikimedia.org/wikipedia/commons/0/03/Hostinger_Logo.png'},
{ url: AssetsConstants.TRIBBLE_IMAGES[1], source: 'https://dashboardicons.com/icons/docker-engine'},
{ url: AssetsConstants.TRIBBLE_IMAGES[2], source: 'https://dashboardicons.com/icons/gitea'},
{ url: AssetsConstants.TRIBBLE_IMAGES[3], source: 'https://commons.wikimedia.org/wiki/File:Traefik.logo.png'}
],
icon: 'dns',
assets: '',