Skip to content

Commit f91cba6

Browse files
committed
chore(ng10): Upgrade to @angular ^10.0.0
1 parent 3c103f7 commit f91cba6

File tree

9 files changed

+1353
-879
lines changed

9 files changed

+1353
-879
lines changed
File renamed without changes.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v8.0.0
4+
- Added angular 10 support.
5+
36
## v7.0.0
47
- Added angular 9 support.
58
- BC break : `AbstractLoader` has been renamed to `AbstractLoaderDirective`. See [here](https://next.angular.io/guide/deprecations#undecorated-base-classes) and [here](https://angular.io/guide/styleguide#style-02-03).

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ The HTTP interceptor listens to all HTTP requests and shows a spinner / loader i
3636
| >=1.0.0 <3.2.0 | ^6.0.0 |
3737
| >=3.2.0 <5.1.0 | ^7.0.0 |
3838
| >=6.0.0 <7.0.0 | ^8.0.0 |
39-
| >=7.0.0 | ^9.0.0 |
39+
| >=7.0.0 <8.0.8 | ^9.0.0 |
40+
| >=8.0.0 | ^10.0.0 |
4041

4142
If you experience errors like below, **please double check the version you use.**
4243

package.json

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,44 +38,43 @@
3838
"url": "https://github.com/mpalourdio/ng-http-loader/issues"
3939
},
4040
"dependencies": {
41-
"tslib": "^1.10.0"
42-
},
41+
"tslib": "^2.0.0"
42+
},
4343
"peerDependencies": {
44-
"@angular/common": "^9.1.0",
45-
"@angular/core": "^9.1.0",
46-
"rxjs": "^6.5.4"
44+
"@angular/common": "^10.0.0",
45+
"@angular/core": "^10.0.0",
46+
"rxjs": "^6.5.5"
4747
},
4848
"devDependencies": {
49-
"@angular-devkit/build-angular": "~0.901.0",
50-
"@angular-devkit/build-ng-packagr": "~0.901.0",
51-
"@angular/cli": "^9.1.0",
52-
"@angular/common": "^9.1.0",
53-
"@angular/compiler": "^9.1.0",
54-
"@angular/compiler-cli": "^9.1.0",
55-
"@angular/core": "^9.1.0",
56-
"@angular/platform-browser": "^9.1.0",
57-
"@angular/platform-browser-dynamic": "^9.1.0",
49+
"@angular-devkit/build-angular": "~0.1000.0",
50+
"@angular-devkit/build-ng-packagr": "~0.1000.0",
51+
"@angular/cli": "^10.0.0",
52+
"@angular/common": "^10.0.0",
53+
"@angular/compiler": "^10.0.0",
54+
"@angular/compiler-cli": "^10.0.0",
55+
"@angular/core": "^10.0.0",
56+
"@angular/platform-browser": "^10.0.0",
57+
"@angular/platform-browser-dynamic": "^10.0.0",
5858
"@types/jasmine": "~3.5.0",
5959
"@types/jasminewd2": "~2.0.3",
6060
"@types/node": "^12.11.1",
61-
"codelyzer": "^5.1.2",
61+
"codelyzer": "^6.0.0-next.1",
6262
"coveralls": "^3.0.1",
6363
"jasmine-core": "~3.5.0",
64-
"jasmine-spec-reporter": "~4.2.1",
65-
"karma": "~5.0.2",
64+
"jasmine-spec-reporter": "~5.0.0",
65+
"karma": "~5.0.0",
6666
"karma-chrome-launcher": "~3.1.0",
67-
"karma-coverage-istanbul-reporter": "~2.1.0",
67+
"karma-coverage-istanbul-reporter": "~3.0.2",
6868
"karma-firefox-launcher": "^1.1.0",
69-
"karma-jasmine": "~3.0.1",
70-
"karma-jasmine-html-reporter": "^1.4.2",
71-
"ng-packagr": "^9.1.0",
69+
"karma-jasmine": "~3.3.0",
70+
"karma-jasmine-html-reporter": "^1.5.0",
71+
"ng-packagr": "^10.0.0",
7272
"puppeteer": "^3.0.0",
73-
"rxjs": "^6.5.4",
73+
"rxjs": "^6.5.5",
7474
"rxjs-tslint-rules": "^4.13.0",
7575
"ts-node": "~8.3.0",
76-
"tslib": "^1.10.0",
7776
"tslint": "~6.1.0",
78-
"typescript": "~3.8.3",
79-
"zone.js": "~0.10.2"
77+
"typescript": "~3.9.5",
78+
"zone.js": "~0.10.3"
8079
}
8180
}

tsconfig.base.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"outDir": "./dist/out-tsc",
6+
"sourceMap": true,
7+
"declaration": false,
8+
"downlevelIteration": true,
9+
"experimentalDecorators": true,
10+
"module": "esnext",
11+
"moduleResolution": "node",
12+
"importHelpers": true,
13+
"target": "es2015",
14+
"lib": [
15+
"es2018",
16+
"dom"
17+
]
18+
},
19+
"angularCompilerOptions": {
20+
"fullTemplateTypeCheck": true,
21+
"strictInjectionParameters": true
22+
}
23+
}

tsconfig.json

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +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-
"baseUrl": "./",
5-
"outDir": "./dist/out-tsc",
6-
"sourceMap": true,
7-
"declaration": false,
8-
"downlevelIteration": true,
9-
"experimentalDecorators": true,
10-
"module": "esnext",
11-
"moduleResolution": "node",
12-
"importHelpers": true,
13-
"target": "es2015",
14-
"lib": [
15-
"es2018",
16-
"dom"
17-
]
18-
},
19-
"angularCompilerOptions": {
20-
"fullTemplateTypeCheck": true,
21-
"strictInjectionParameters": true
22-
}
23-
}
8+
"files": [],
9+
"references": [
10+
{
11+
"path": "././tsconfig.lib.json"
12+
},
13+
{
14+
"path": "././tsconfig.spec.json"
15+
}
16+
]
17+
}

tsconfig.lib.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/lib",
55
"target": "es2015",

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
"types": [

0 commit comments

Comments
 (0)