Skip to content

Commit ae03a4b

Browse files
committed
upgrade to Angular 13
1 parent c1ef08e commit ae03a4b

File tree

6 files changed

+7
-42
lines changed

6 files changed

+7
-42
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
!.vscode/extensions.json
2626

2727
# misc
28+
/.angular/cache
2829
/.sass-cache
2930
/connect.lock
3031
/coverage

README.md

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

44
This repository contains the code of the video course [Ngrx (with NgRx Data) - The Complete Guide](https://angular-university.io/course/ngrx-course).
55

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

88
![Ngrx (with NgRx Data) - The Complete Guide](https://angular-university.s3-us-west-1.amazonaws.com/course-images/ngrx-v2.png)
99

1010

1111
# Installation pre-requisites
1212

13-
For taking the course we recommend installing Node 14. These are some tutorials to install node in different operating systems:
14-
15-
- [Install Node and NPM on Windows](https://www.youtube.com/watch?v=8ODS6RM6x7g)
16-
- [Install Node and NPM on Linux](https://www.youtube.com/watch?v=yUdHk-Dk_BY)
17-
- [Install Node and NPM on Mac](https://www.youtube.com/watch?v=Imj8PgG3bZU)
13+
For taking the course we recommend installing Node 16 Long Term Support Edition (LTE).
1814

1915
To easily switch between node versions on your machine, we recommend using a node virtual environment tool such as [nave](https://www.npmjs.com/package/nave) or [nvm-windows](https://github.com/coreybutler/nvm-windows), depending on your operating system.
2016

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-ngrx-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)