Angular upgrade to v18

This commit is contained in:
2026-03-30 01:48:45 +02:00
parent f9ee9ed799
commit 518168f225
4 changed files with 4033 additions and 3426 deletions
+6 -7
View File
@@ -25,11 +25,12 @@
"prefix": "app", "prefix": "app",
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser-esbuild", "builder": "@angular-devkit/build-angular:application",
"options": { "options": {
"outputPath": "dist/adastra_angular", "outputPath": {
"base": "dist/adastra_angular"
},
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"polyfills": [ "polyfills": [
"zone.js" "zone.js"
@@ -52,11 +53,11 @@
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["src/styles"] "includePaths": ["src/styles"]
}, },
"scripts": [] "scripts": [],
"browser": "src/main.ts"
}, },
"configurations": { "configurations": {
"production": { "production": {
"buildOptimizer": true,
"extractLicenses": true, "extractLicenses": true,
"namedChunks": false, "namedChunks": false,
"optimization": true, "optimization": true,
@@ -76,7 +77,6 @@
] ]
}, },
"development": { "development": {
"buildOptimizer": false,
"extractLicenses": false, "extractLicenses": false,
"namedChunks": true, "namedChunks": true,
"optimization": false, "optimization": false,
@@ -95,7 +95,6 @@
] ]
}, },
"local": { "local": {
"buildOptimizer": false,
"extractLicenses": false, "extractLicenses": false,
"namedChunks": true, "namedChunks": true,
"optimization": false, "optimization": false,
+4013 -3404
View File
File diff suppressed because it is too large Load Diff
+14 -14
View File
@@ -21,18 +21,18 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^17.3.5", "@angular/animations": "^18.2.14",
"@angular/cdk": "^17.3.5", "@angular/cdk": "^17.3.5",
"@angular/common": "^17.3.5", "@angular/common": "^18.2.14",
"@angular/compiler": "^17.3.5", "@angular/compiler": "^18.2.14",
"@angular/core": "^17.3.5", "@angular/core": "^18.2.14",
"@angular/forms": "^17.3.8", "@angular/forms": "^18.2.14",
"@angular/google-maps": "^17.3.8", "@angular/google-maps": "^17.3.8",
"@angular/localize": "^17.3.8", "@angular/localize": "^18.2.14",
"@angular/material": "^17.3.8", "@angular/material": "^17.3.8",
"@angular/platform-browser": "^17.3.5", "@angular/platform-browser": "^18.2.14",
"@angular/platform-browser-dynamic": "^17.3.8", "@angular/platform-browser-dynamic": "^18.2.14",
"@angular/router": "^17.3.8", "@angular/router": "^18.2.14",
"bootstrap": "^5.3.7", "bootstrap": "^5.3.7",
"chart.js": "^4.4.2", "chart.js": "^4.4.2",
"chartist": "^1.3.0", "chartist": "^1.3.0",
@@ -41,17 +41,17 @@
"ngx-skeleton-loader": "^9.0.0", "ngx-skeleton-loader": "^9.0.0",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"zone.js": "^0.14.5" "zone.js": "^0.14.10"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^17.3.7", "@angular-devkit/build-angular": "^18.2.21",
"@angular-eslint/builder": "^17.3.0", "@angular-eslint/builder": "^17.3.0",
"@angular-eslint/eslint-plugin": "^17.3.0", "@angular-eslint/eslint-plugin": "^17.3.0",
"@angular-eslint/eslint-plugin-template": "^17.3.0", "@angular-eslint/eslint-plugin-template": "^17.3.0",
"@angular-eslint/schematics": "^17.3.0", "@angular-eslint/schematics": "^17.3.0",
"@angular-eslint/template-parser": "^17.3.0", "@angular-eslint/template-parser": "^17.3.0",
"@angular/cli": "^17.3.7", "@angular/cli": "^18.2.21",
"@angular/compiler-cli": "^17.3.5", "@angular/compiler-cli": "^18.2.14",
"@types/jasmine": "~5.1.0", "@types/jasmine": "~5.1.0",
"@typescript-eslint/eslint-plugin": "7.2.0", "@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0", "@typescript-eslint/parser": "7.2.0",
@@ -62,6 +62,6 @@
"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.3.2" "typescript": "~5.5.4"
} }
} }
-1
View File
@@ -39,7 +39,6 @@
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,