Update to Angular 12

This commit is contained in:
Yannic Schroeder 2022-02-16 22:56:43 +01:00
parent d1a7557405
commit c634e6a801
6 changed files with 8971 additions and 9374 deletions

View File

@ -44,7 +44,6 @@
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"localize": true, "localize": true,
"aot": true,
"assets": [ "assets": [
"src/favicon.ico", "src/favicon.ico",
"src/apple-touch-icon.png", "src/apple-touch-icon.png",
@ -61,7 +60,13 @@
"scripts": [], "scripts": [],
"allowedCommonJsDependencies": [ "allowedCommonJsDependencies": [
"ng2-pdf-viewer" "ng2-pdf-viewer"
] ],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -95,7 +100,8 @@
"en-US": { "en-US": {
"localize": ["en-US"] "localize": ["en-US"]
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",

18359
src-ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,15 +11,15 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~11.2.14", "@angular/animations": "~12.2.16",
"@angular/common": "~11.2.14", "@angular/common": "~12.2.16",
"@angular/compiler": "~11.2.14", "@angular/compiler": "~12.2.16",
"@angular/core": "~11.2.14", "@angular/core": "~12.2.16",
"@angular/forms": "~11.2.14", "@angular/forms": "~12.2.16",
"@angular/localize": "~11.2.14", "@angular/localize": "~12.2.16",
"@angular/platform-browser": "~11.2.14", "@angular/platform-browser": "~12.2.16",
"@angular/platform-browser-dynamic": "~11.2.14", "@angular/platform-browser-dynamic": "~12.2.16",
"@angular/router": "~11.2.14", "@angular/router": "~12.2.16",
"@ng-bootstrap/ng-bootstrap": "^9.1.2", "@ng-bootstrap/ng-bootstrap": "^9.1.2",
"@ng-select/ng-select": "^7.0.0", "@ng-select/ng-select": "^7.0.0",
"@ngneat/dirty-check-forms": "^1.1.0", "@ngneat/dirty-check-forms": "^1.1.0",
@ -37,9 +37,9 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1102.13", "@angular-devkit/build-angular": "~12.2.16",
"@angular/cli": "~11.2.14", "@angular/cli": "~12.2.16",
"@angular/compiler-cli": "~11.2.14", "@angular/compiler-cli": "~12.2.16",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -54,6 +54,6 @@
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.1.5" "typescript": "~4.3.5"
} }
} }

View File

@ -20,4 +20,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

@ -59,7 +59,7 @@ import '@angular/localize/init';
/*************************************************************************************************** /***************************************************************************************************
* 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,