Skip to content

Commit 7e157f2

Browse files
committed
upgrade to Angular 13
1 parent 18a44d1 commit 7e157f2

File tree

6 files changed

+7
-28
lines changed

6 files changed

+7
-28
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ speed-measure-plugin*.json
3333
.history/*
3434

3535
# misc
36+
/.angular/cache
3637
/.sass-cache
3738
/connect.lock
3839
/coverage

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
This repository contains the code of the course [Angular Universal In Depth](https://angular-university.io/course/angular-universal-course).
55

6-
This course repository is updated to Angular v12.
6+
This course repository is updated to Angular v13.
77

88
![Angular Universal In Depth](https://angular-university.s3-us-west-1.amazonaws.com/course-images/angular-universal-course.jpg)
99

1010
# Installation pre-requisites
1111

12-
Please use the latest Node long-term support (LTS) version.
12+
Please use Node 16 long-term support (LTS) version.
1313

1414
# Installing the Angular CLI
1515

angular.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,6 @@
103103
"scripts": []
104104
}
105105
},
106-
"lint": {
107-
"builder": "@angular-devkit/build-angular:tslint",
108-
"options": {
109-
"tsConfig": [
110-
"tsconfig.app.json",
111-
"tsconfig.spec.json",
112-
"e2e/tsconfig.json",
113-
"tsconfig.server.json"
114-
],
115-
"exclude": [
116-
"**/node_modules/**"
117-
]
118-
}
119-
},
120106
"e2e": {
121107
"builder": "@angular-devkit/build-angular:protractor",
122108
"options": {

src/polyfills.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@
1818
* BROWSER POLYFILLS
1919
*/
2020

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

src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use '~@angular/material' as mat;
1+
@use '@angular/material' as mat;
22
/* You can add global styles to this file, and also import other style files */
33

44

src/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ declare const require: {
1717
// First, initialize the Angular testing environment.
1818
getTestBed().initTestEnvironment(
1919
BrowserDynamicTestingModule,
20-
platformBrowserDynamicTesting()
20+
platformBrowserDynamicTesting(), {
21+
teardown: { destroyAfterEach: false }
22+
}
2123
);
2224
// Then we find all the tests.
2325
const context = require.context('./', true, /\.spec\.ts$/);

0 commit comments

Comments
 (0)