customer - upgrade angular 11 to 12

This commit is contained in:
Roland Schneider 2021-09-07 14:06:41 +02:00
parent 12d31fce21
commit 2bf9985928
6 changed files with 2669 additions and 2894 deletions

View File

@ -22,7 +22,6 @@
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [ "assets": [
"src/favicon.ico", "src/favicon.ico",
"src/assets" "src/assets"
@ -32,7 +31,13 @@
"src/styles.scss" "src/styles.scss"
], ],
"scripts": [ "scripts": [
] ],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -61,7 +66,8 @@
} }
] ]
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",

File diff suppressed because it is too large Load Diff

View File

@ -11,14 +11,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~11.2.14", "@angular/animations": "~12.2.4",
"@angular/common": "~11.2.14", "@angular/common": "~12.2.4",
"@angular/compiler": "~11.2.14", "@angular/compiler": "~12.2.4",
"@angular/core": "~11.2.14", "@angular/core": "~12.2.4",
"@angular/forms": "~11.2.14", "@angular/forms": "~12.2.4",
"@angular/platform-browser": "~11.2.14", "@angular/platform-browser": "~12.2.4",
"@angular/platform-browser-dynamic": "~11.2.14", "@angular/platform-browser-dynamic": "~12.2.4",
"@angular/router": "~11.2.14", "@angular/router": "~12.2.4",
"@fortawesome/angular-fontawesome": "^0.9.0", "@fortawesome/angular-fontawesome": "^0.9.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4",
@ -27,13 +27,13 @@
"ngx-bootstrap": "^5.0.0", "ngx-bootstrap": "^5.0.0",
"rxjs": "~6.6.7", "rxjs": "~6.6.7",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"zone.js": "~0.10.2" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1102.14", "@angular-devkit/build-angular": "~12.2.4",
"@angular/cli": "~11.2.14", "@angular/cli": "~12.2.4",
"@angular/compiler-cli": "~11.2.14", "@angular/compiler-cli": "~12.2.4",
"@angular/language-service": "~11.2.14", "@angular/language-service": "~12.2.4",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
@ -48,6 +48,6 @@
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.0.8" "typescript": "~4.3.5"
} }
} }

View File

@ -13,4 +13,4 @@ export const environment = {
* This import should be commented out in production mode because it will have a negative impact * This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown. * on performance if an error is thrown.
*/ */
// import 'zone.js/dist/zone-error'; // Included with Angular CLI. // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.

View File

@ -55,7 +55,7 @@
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by default for Angular itself. * Zone JS is required by default for Angular itself.
*/ */
import 'zone.js/dist/zone'; // Included with Angular CLI. import 'zone.js'; // Included with Angular CLI.
/*************************************************************************************************** /***************************************************************************************************

View File

@ -1,6 +1,6 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files // This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing'; import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing'; import { getTestBed } from '@angular/core/testing';
import { import {
BrowserDynamicTestingModule, BrowserDynamicTestingModule,