update angular

This commit is contained in:
_Bastler 2022-01-20 08:51:18 +01:00
parent a5fae192ec
commit 2323262174
6 changed files with 2088 additions and 4899 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/* .history/*
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage

View File

@ -104,19 +104,6 @@
"scripts": [] "scripts": []
} }
}, },
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {

6899
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,18 +13,18 @@
"dependencies": { "dependencies": {
"@angular-material-components/datetime-picker": "^6.0.3", "@angular-material-components/datetime-picker": "^6.0.3",
"@angular-material-components/moment-adapter": "^6.0.0", "@angular-material-components/moment-adapter": "^6.0.0",
"@angular/animations": "^12.2.10", "@angular/animations": "^13.1.3",
"@angular/cdk": "^12.2.10", "@angular/cdk": "^12.2.10",
"@angular/common": "^12.2.10", "@angular/common": "^13.1.3",
"@angular/compiler": "^12.2.10", "@angular/compiler": "^13.1.3",
"@angular/core": "^12.2.10", "@angular/core": "^13.1.3",
"@angular/flex-layout": "^12.0.0-beta.35", "@angular/flex-layout": "^12.0.0-beta.35",
"@angular/forms": "^12.2.10", "@angular/forms": "^13.1.3",
"@angular/material": "^12.2.10", "@angular/material": "^12.2.10",
"@angular/material-moment-adapter": "^12.2.10", "@angular/material-moment-adapter": "^12.2.10",
"@angular/platform-browser": "^12.2.10", "@angular/platform-browser": "^13.1.3",
"@angular/platform-browser-dynamic": "^12.2.10", "@angular/platform-browser-dynamic": "^13.1.3",
"@angular/router": "^12.2.10", "@angular/router": "^13.1.3",
"ng-qrcode": "^5.1.1", "ng-qrcode": "^5.1.1",
"ngx-mat-timepicker": "^12.1.0", "ngx-mat-timepicker": "^12.1.0",
"openpgp": "^4.10.10", "openpgp": "^4.10.10",
@ -35,10 +35,10 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^12.2.10", "@angular-devkit/build-angular": "^13.1.4",
"@angular/cli": "^12.2.10", "@angular/cli": "^13.1.4",
"@angular/compiler-cli": "^12.2.10", "@angular/compiler-cli": "^13.1.3",
"@angular/localize": "^12.2.10", "@angular/localize": "^13.1.3",
"@types/jasmine": "^3.10.0", "@types/jasmine": "^3.10.0",
"@types/jasminewd2": "^2.0.10", "@types/jasminewd2": "^2.0.10",
"@types/node": "^12.20.33", "@types/node": "^12.20.33",
@ -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.3.5" "typescript": "~4.5.4"
} }
} }

View File

@ -22,16 +22,6 @@ import '@angular/localize/init';
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** /**
* By default, zone.js will patch all possible macroTask and DomEvents * By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags

View File

@ -17,7 +17,9 @@ declare const require: {
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);