Update Angular to v21

Reviewed-on: #5
Co-authored-by: sandre <perso@sebastienandre.com>
Co-committed-by: sandre <perso@sebastienandre.com>
This commit was merged in pull request #5.
This commit is contained in:
2026-01-22 13:47:45 +00:00
committed by sandre
parent 701a684911
commit 677e74df10
3 changed files with 1533 additions and 1571 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,46 +1,46 @@
{ {
"name": "skydivelogs-app", "name": "skydivelogs-app",
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build --configuration production", "build": "ng build --configuration production",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^20.3.16", "@angular/animations": "^21.1.1",
"@angular/cdk": "^20.2.14", "@angular/cdk": "^21.1.1",
"@angular/common": "^20.3.16", "@angular/common": "^21.1.1",
"@angular/compiler": "^20.3.16", "@angular/compiler": "^21.1.1",
"@angular/core": "^20.3.16", "@angular/core": "^21.1.1",
"@angular/forms": "^20.3.16", "@angular/forms": "^21.1.1",
"@angular/material": "^20.2.14", "@angular/material": "^21.1.1",
"@angular/platform-browser": "^20.3.16", "@angular/platform-browser": "^21.1.1",
"@angular/platform-browser-dynamic": "^20.3.16", "@angular/platform-browser-dynamic": "^21.1.1",
"@angular/router": "^20.3.16", "@angular/router": "^21.1.1",
"@ngx-translate/core": "^17.0.0", "@ngx-translate/core": "^17.0.0",
"@ngx-translate/http-loader": "^17.0.0", "@ngx-translate/http-loader": "^17.0.0",
"chart.js": "^4.3.0", "chart.js": "^4.3.0",
"ng2-charts": "^8.0.0", "ng2-charts": "^8.0.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"zone.js": "~0.15.0" "zone.js": "~0.15.0"
}, },
"devDependencies": { "devDependencies": {
"@angular/build": "^20.3.14", "@angular/build": "^21.1.1",
"@angular/cli": "~20.3.14", "@angular/cli": "~21.1.1",
"@angular/compiler-cli": "^20.3.16", "@angular/compiler-cli": "^21.1.1",
"@types/jasmine": "~4.3.0", "@types/jasmine": "~4.3.0",
"jasmine-core": "~5.1.0", "jasmine-core": "~5.1.0",
"karma": "~6.4.0", "karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0", "karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0", "karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0", "karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0", "karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.9.3" "typescript": "~5.9.3"
} }
} }

10
doc.txt
View File

@@ -1,11 +1,11 @@
To build an image "skydivelogs" with the version "1.5.5": To build an image "skydivelogs" with the version "1.6.0":
podman build . -t skydivelogs:1.5.5 podman build . -t skydivelogs:1.6.0
To run ab image to container with volume : To run ab image to container with volume :
podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.5.5 -it skydivelogs:1.5.5 podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0
To save the image before to updload to the server : To save the image before to updload to the server :
podman save --output skydivelogs-1.5.5.tar skydivelogs:1.5.5 podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0
Updload to the server : Updload to the server :
scp -P 5022 skydivelogs-1.5.5.tar administrator@51.75.68.58:~ scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~