Skip to content

Commit 1721015

Browse files
committed
upgrade to Angular 10
1 parent 3585b5f commit 1721015

10 files changed

+4676
-3729
lines changed
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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 v9 and NgRx 8:
6+
This course repository is updated to Angular v10 and NgRx 8:
77

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

e2e/tsconfig.e2e.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"baseUrl": "./",

package-lock.json

Lines changed: 4604 additions & 3676 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@angular-devkit/schematics": "^9.0.2",
17-
"@angular/animations": "^9.0.1",
18-
"@angular/cdk": "^9.0.0",
19-
"@angular/common": "^9.0.1",
20-
"@angular/compiler": "^9.0.1",
21-
"@angular/core": "^9.0.1",
22-
"@angular/forms": "^9.0.1",
23-
"@angular/material": "^9.0.0",
24-
"@angular/material-moment-adapter": "^9.0.0",
25-
"@angular/platform-browser": "^9.0.1",
26-
"@angular/platform-browser-dynamic": "^9.0.1",
27-
"@angular/router": "^9.0.1",
16+
"@angular-devkit/schematics": "^10.0.0",
17+
"@angular/animations": "^10.0.2",
18+
"@angular/cdk": "^10.0.1",
19+
"@angular/common": "^10.0.2",
20+
"@angular/compiler": "^10.0.2",
21+
"@angular/core": "^10.0.2",
22+
"@angular/forms": "^10.0.2",
23+
"@angular/material": "^10.0.1",
24+
"@angular/material-moment-adapter": "^10.0.1",
25+
"@angular/platform-browser": "^10.0.2",
26+
"@angular/platform-browser-dynamic": "^10.0.2",
27+
"@angular/router": "^10.0.2",
2828
"@ngrx/data": "^8.0.1",
2929
"@ngrx/effects": "^8.0.1",
3030
"@ngrx/entity": "^8.0.1",
@@ -36,31 +36,31 @@
3636
"express": "^4.16.2",
3737
"moment": "^2.22.2",
3838
"rxjs": "^6.5.4",
39-
"tslib": "^1.10.0",
40-
"zone.js": "~0.10.2"
39+
"tslib": "^2.0.0",
40+
"zone.js": "~0.10.3"
4141
},
4242
"devDependencies": {
43-
"@angular-devkit/build-angular": "~0.900.2",
44-
"@angular/cli": "^9.0.2",
45-
"@angular/compiler-cli": "^9.0.1",
46-
"@angular/language-service": "^9.0.1",
43+
"@angular-devkit/build-angular": "~0.1000.0",
44+
"@angular/cli": "^10.0.0",
45+
"@angular/compiler-cli": "^10.0.2",
46+
"@angular/language-service": "^10.0.2",
4747
"@ngrx/schematics": "^8.0.1",
4848
"@types/express": "^4.0.39",
4949
"@types/jasmine": "~2.5.53",
5050
"@types/jasminewd2": "~2.0.2",
5151
"@types/node": "^12.11.1",
5252
"codelyzer": "^5.1.2",
53-
"jasmine-core": "~2.6.2",
54-
"jasmine-spec-reporter": "~4.1.0",
55-
"karma": "^4.1.0",
56-
"karma-chrome-launcher": "~2.1.1",
53+
"jasmine-core": "~3.5.0",
54+
"jasmine-spec-reporter": "~5.0.0",
55+
"karma": "~5.0.0",
56+
"karma-chrome-launcher": "~3.1.0",
5757
"karma-cli": "~1.0.1",
58-
"karma-coverage-istanbul-reporter": "^1.2.1",
59-
"karma-jasmine": "~1.1.0",
60-
"karma-jasmine-html-reporter": "^0.2.2",
61-
"protractor": "^6.0.0",
58+
"karma-coverage-istanbul-reporter": "~3.0.2",
59+
"karma-jasmine": "~3.3.0",
60+
"karma-jasmine-html-reporter": "^1.5.0",
61+
"protractor": "~7.0.0",
6262
"ts-node": "~3.2.0",
63-
"tslint": "~5.7.0",
64-
"typescript": "~3.7.5"
63+
"tslint": "~6.1.0",
64+
"typescript": "~3.9.5"
6565
}
6666
}

src/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"baseUrl": "./",

src/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"baseUrl": "./",

tsconfig.base.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"module": "esnext",
5+
"outDir": "./dist/out-tsc",
6+
"sourceMap": true,
7+
"declaration": false,
8+
"moduleResolution": "node",
9+
"emitDecoratorMetadata": true,
10+
"experimentalDecorators": true,
11+
"target": "es2015",
12+
"typeRoots": [
13+
"node_modules/@types"
14+
],
15+
"lib": [
16+
"es2017",
17+
"dom",
18+
"ES2017.object"
19+
]
20+
}
21+
}

tsconfig.json

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1+
/*
2+
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
3+
It is not intended to be used to perform a compilation.
4+
5+
To learn more about this file see: https://angular.io/config/solution-tsconfig.
6+
*/
17
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"module": "esnext",
5-
"outDir": "./dist/out-tsc",
6-
"sourceMap": true,
7-
"declaration": false,
8-
"moduleResolution": "node",
9-
"emitDecoratorMetadata": true,
10-
"experimentalDecorators": true,
11-
"target": "es2015",
12-
"typeRoots": [
13-
"node_modules/@types"
14-
],
15-
"lib": [
16-
"es2017",
17-
"dom",
18-
"ES2017.object"
19-
]
20-
}
21-
}
8+
"files": [],
9+
"references": [
10+
{
11+
"path": "./src/tsconfig.app.json"
12+
},
13+
{
14+
"path": "./src/tsconfig.spec.json"
15+
}
16+
]
17+
}

tslint.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"check-space"
1212
],
1313
"curly": true,
14+
"deprecation": {
15+
"severity": "warning"
16+
},
1417
"eofline": true,
1518
"forin": true,
1619
"import-blacklist": [
@@ -69,7 +72,6 @@
6972
"no-trailing-whitespace": true,
7073
"no-unnecessary-initializer": true,
7174
"no-unused-expression": true,
72-
"no-use-before-declare": true,
7375
"no-var-keyword": true,
7476
"object-literal-sort-keys": false,
7577
"one-line": [

0 commit comments

Comments
 (0)