build: update to angular 13

This commit is contained in:
Johannes Millan 2021-11-06 14:33:55 +01:00
parent e14dacc61f
commit 07a51d6d63
5 changed files with 1438 additions and 2499 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@
.history
# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage

3892
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -113,28 +113,28 @@
"node-fetch": "^2.6.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "^12.2.10",
"@angular-devkit/build-angular": "^13.0.1",
"@angular-eslint/builder": "^12.2.0",
"@angular-eslint/eslint-plugin": "^12.2.0",
"@angular-eslint/eslint-plugin-template": "^12.2.0",
"@angular-eslint/schematics": "12.6.1",
"@angular-eslint/template-parser": "^12.2.0",
"@angular/animations": "^12.2.7",
"@angular/animations": "^13.0.0",
"@angular/cdk": "^12.2.12",
"@angular/cli": "^12.2.7",
"@angular/common": "^12.2.7",
"@angular/compiler": "^12.2.7",
"@angular/compiler-cli": "^12.2.7",
"@angular/core": "^12.2.7",
"@angular/forms": "^12.2.7",
"@angular/language-service": "^12.2.7",
"@angular/cli": "^13.0.1",
"@angular/common": "^13.0.0",
"@angular/compiler": "^13.0.0",
"@angular/compiler-cli": "^13.0.0",
"@angular/core": "^13.0.0",
"@angular/forms": "^13.0.0",
"@angular/language-service": "^13.0.0",
"@angular/material": "^12.2.12",
"@angular/material-moment-adapter": "^12.2.12",
"@angular/platform-browser": "^12.2.7",
"@angular/platform-browser-dynamic": "^12.2.7",
"@angular/platform-server": "^12.2.7",
"@angular/router": "^12.2.7",
"@angular/service-worker": "^12.2.7",
"@angular/platform-browser": "^13.0.0",
"@angular/platform-browser-dynamic": "^13.0.0",
"@angular/platform-server": "^13.0.0",
"@angular/router": "^13.0.0",
"@angular/service-worker": "^13.0.0",
"@biesbjerg/ngx-translate-extract": "^7.0.4",
"@fontsource/roboto": "^4.3.0",
"@ngrx/data": "^12.4.0",
@ -220,7 +220,7 @@
"start-server-and-test": "^1.14.0",
"ts-node": "~10.2.1",
"tslib": "^2.2.0",
"typescript": "~4.3.5",
"typescript": "~4.4.4",
"utils-decorators": "^1.10.4",
"webdav": "~4.3.0",
"zone.js": "~0.11.4"

View File

@ -41,20 +41,9 @@ import 'core-js/es/set';*/
*/
import 'zone.js'; // Included with Angular CLI.
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es/reflect';
/*
* 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
* user can disable parts of macroTask/DomEvents patch by setting following flags

View File

@ -13,6 +13,9 @@ declare const require: any;
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(),
{
teardown: { destroyAfterEach: false },
},
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);