From d4ff7f50e88efd828ac18966e9822c49ee34a38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20Vachot?= Date: Mon, 10 Jan 2022 17:26:11 +0100 Subject: [PATCH] Update: Frontend NPM --- frontend/.gitignore | 1 + frontend/package.json | 24 ++++++++++++------------ frontend/src/polyfills.ts | 12 ------------ 3 files changed, 13 insertions(+), 24 deletions(-) diff --git a/frontend/.gitignore b/frontend/.gitignore index c2a1122..bac05b4 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -32,6 +32,7 @@ chrome-profiler-events*.json .idea/* # misc +/.angular/cache /.sass-cache /connect.lock /coverage diff --git a/frontend/package.json b/frontend/package.json index d97e595..03c3a4a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,16 +10,16 @@ }, "private": true, "dependencies": { - "@angular/animations": "~12.2.0", + "@angular/animations": "~13.1.1", "@angular/cdk": "^13.0.2", - "@angular/common": "~12.2.0", - "@angular/compiler": "~12.2.0", - "@angular/core": "~12.2.0", - "@angular/forms": "~12.2.0", + "@angular/common": "~13.1.1", + "@angular/compiler": "~13.1.1", + "@angular/core": "~13.1.1", + "@angular/forms": "~13.1.1", "@angular/material": "^13.0.2", - "@angular/platform-browser": "~12.2.0", - "@angular/platform-browser-dynamic": "~12.2.0", - "@angular/router": "~12.2.0", + "@angular/platform-browser": "~13.1.1", + "@angular/platform-browser-dynamic": "~13.1.1", + "@angular/router": "~13.1.1", "bootstrap": "^5.1.3", "jquery": "^3.6.0", "popper": "^1.0.1", @@ -28,9 +28,9 @@ "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "~12.2.10", - "@angular/cli": "~12.2.10", - "@angular/compiler-cli": "~12.2.0", + "@angular-devkit/build-angular": "~13.1.2", + "@angular/cli": "~13.1.2", + "@angular/compiler-cli": "~13.1.1", "@types/jasmine": "~3.8.0", "@types/node": "^12.11.1", "jasmine-core": "~3.8.0", @@ -39,6 +39,6 @@ "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "~1.7.0", - "typescript": "~4.3.5" + "typescript": "~4.5.4" } } diff --git a/frontend/src/polyfills.ts b/frontend/src/polyfills.ts index 373f538..dcd18ea 100644 --- a/frontend/src/polyfills.ts +++ b/frontend/src/polyfills.ts @@ -18,18 +18,6 @@ * BROWSER POLYFILLS */ -/** - * 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 * user can disable parts of macroTask/DomEvents patch by setting following flags