Skip to content

Commit f018e88

Browse files
committed
upgrade to Angular 13
1 parent 4e0faad commit f018e88

File tree

6 files changed

+7
-38
lines changed

6 files changed

+7
-38
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ tmp.json
2727
!.vscode/extensions.json
2828

2929
# misc
30+
/.angular/cache
3031
/.sass-cache
3132
/connect.lock
3233
/coverage

README.md

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

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

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

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

1010

1111
# Installation pre-requisites
1212

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

1515
# Installing the Angular CLI
1616

angular.json

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,6 @@
8888
"src/favicon.ico"
8989
]
9090
}
91-
},
92-
"lint": {
93-
"builder": "@angular-devkit/build-angular:tslint",
94-
"options": {
95-
"tsConfig": [
96-
"src/tsconfig.app.json",
97-
"src/tsconfig.spec.json"
98-
],
99-
"exclude": [
100-
"**/node_modules/**"
101-
]
102-
}
10391
}
10492
}
10593
},
@@ -114,17 +102,6 @@
114102
"protractorConfig": "./protractor.conf.js",
115103
"devServerTarget": "angular-material-course:serve"
116104
}
117-
},
118-
"lint": {
119-
"builder": "@angular-devkit/build-angular:tslint",
120-
"options": {
121-
"tsConfig": [
122-
"e2e/tsconfig.e2e.json"
123-
],
124-
"exclude": [
125-
"**/node_modules/**"
126-
]
127-
}
128105
}
129106
}
130107
}

src/polyfills.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
// import 'core-js/es6/weak-map';
3535
// import 'core-js/es6/set';
3636

37-
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
38-
// import 'classlist.js'; // Run `npm install --save classlist.js`.
39-
4037
/** IE10 and IE11 requires the following for the Reflect API. */
4138
// import 'core-js/es6/reflect';
4239

@@ -46,14 +43,6 @@
4643

4744

4845

49-
/**
50-
* Required to support Web Animations `@angular/platform-browser/animations`.
51-
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
52-
**/
53-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
54-
55-
56-
5746
/***************************************************************************************************
5847
* Zone JS is required by Angular itself.
5948
*/

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
@@ -22,7 +22,9 @@ __karma__.loaded = function () {};
2222
// First, initialize the Angular testing environment.
2323
getTestBed().initTestEnvironment(
2424
BrowserDynamicTestingModule,
25-
platformBrowserDynamicTesting()
25+
platformBrowserDynamicTesting(), {
26+
teardown: { destroyAfterEach: false }
27+
}
2628
);
2729
// Then we find all the tests.
2830
const context = require.context('./', true, /\.spec\.ts$/);

0 commit comments

Comments
 (0)