Skip to content

Commit e1b83e9

Browse files
committed
Update angular to version 10
1 parent 882191f commit e1b83e9

12 files changed

+4470
-5272
lines changed

Diff for: browserslist renamed to .browserslistrc

File renamed without changes.

Diff for: e2e/tsconfig.e2e.json

+1-1
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
"module": "commonjs",

Diff for: package-lock.json

+4,360-5,189
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+46-47
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
{
2-
"name": "@auth0/angular-jwt",
3-
"version": "4.2.0",
4-
"scripts": {
5-
"ng": "ng",
6-
"start": "ng serve",
7-
"build": "ng build angular-jwt --prod",
8-
"postbuild": "cp ./README.md ./CHANGELOG.md ./LICENSE ./dist/angular-jwt/",
9-
"test": "ng test",
10-
"lint": "ng lint",
11-
"e2e": "ng e2e"
12-
},
13-
"private": false,
14-
"dependencies": {
15-
"@angular/common": "~9.1.1",
16-
"@angular/compiler": "~9.1.1",
17-
"@angular/core": "~9.1.1",
18-
"@angular/platform-browser": "~9.1.1",
19-
"@angular/platform-browser-dynamic": "~9.1.1",
20-
"core-js": "^3.2.1",
21-
"rxjs": "~6.5.3",
22-
"tslib": "^1.10.0",
23-
"zone.js": "~0.10.3"
24-
},
25-
"devDependencies": {
26-
"@angular-devkit/build-angular": "~0.901.0",
27-
"@angular-devkit/build-ng-packagr": "~0.901.0",
28-
"@angular/cli": "~9.1.0",
29-
"@angular/compiler-cli": "~9.1.1",
30-
"@angular/language-service": "~9.1.1",
31-
"@types/jasmine": "~3.4.1",
32-
"@types/jasminewd2": "~2.0.3",
33-
"@types/node": "^12.11.1",
34-
"codelyzer": "^5.1.2",
35-
"jasmine-core": "~3.5.0",
36-
"jasmine-spec-reporter": "~4.2.1",
37-
"karma": "~4.3.0",
38-
"karma-chrome-launcher": "~3.1.0",
39-
"karma-coverage-istanbul-reporter": "~2.1.0",
40-
"karma-jasmine": "~2.0.1",
41-
"karma-jasmine-html-reporter": "^1.4.2",
42-
"ng-packagr": "^9.0.0",
43-
"protractor": "~5.4.0",
44-
"ts-node": "~8.4.1",
45-
"tslib": "^1.9.0",
46-
"tslint": "~5.20.0",
47-
"typescript": "~3.7.5"
48-
}
2+
"name": "@auth0/angular-jwt",
3+
"version": "4.2.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve",
7+
"build": "ng build angular-jwt --prod",
8+
"postbuild": "cp ./README.md ./CHANGELOG.md ./LICENSE ./dist/angular-jwt/",
9+
"test": "ng test",
10+
"lint": "ng lint",
11+
"e2e": "ng e2e"
12+
},
13+
"private": false,
14+
"dependencies": {
15+
"@angular/common": "~10.0.1",
16+
"@angular/compiler": "~10.0.1",
17+
"@angular/core": "~10.0.1",
18+
"@angular/platform-browser": "~10.0.1",
19+
"@angular/platform-browser-dynamic": "~10.0.1",
20+
"core-js": "^3.2.1",
21+
"rxjs": "~6.5.3",
22+
"tslib": "^2.0.0",
23+
"zone.js": "~0.10.3"
24+
},
25+
"devDependencies": {
26+
"@angular-devkit/build-angular": "~0.1000.0",
27+
"@angular-devkit/build-ng-packagr": "~0.1000.0",
28+
"@angular/cli": "~10.0.0",
29+
"@angular/compiler-cli": "~10.0.1",
30+
"@angular/language-service": "~10.0.1",
31+
"@types/jasmine": "~3.4.1",
32+
"@types/jasminewd2": "~2.0.3",
33+
"@types/node": "^12.11.1",
34+
"codelyzer": "^5.1.2",
35+
"jasmine-core": "~3.5.0",
36+
"jasmine-spec-reporter": "~5.0.0",
37+
"karma": "~5.0.0",
38+
"karma-chrome-launcher": "~3.1.0",
39+
"karma-coverage-istanbul-reporter": "~3.0.2",
40+
"karma-jasmine": "~3.3.0",
41+
"karma-jasmine-html-reporter": "^1.5.0",
42+
"ng-packagr": "^10.0.0",
43+
"protractor": "~7.0.0",
44+
"ts-node": "~8.4.1",
45+
"tslint": "~6.1.0",
46+
"typescript": "~3.9.5"
47+
}
4948
}

Diff for: projects/angular-jwt/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"homepage": "https://github.com/auth0/angular2-jwt",
2222
"peerDependencies": {
2323
"@angular/common": ">=7.1.0"
24-
}
24+
},
25+
"dependencies": {
26+
"tslib": "^2.0.0"
27+
}
2528
}

Diff for: projects/angular-jwt/tsconfig.lib.json

+1-1
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",

Diff for: projects/angular-jwt/tsconfig.spec.json

+1-1
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": [

Diff for: src/tsconfig.app.json

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

Diff for: src/tsconfig.spec.json

+1-1
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": [

Diff for: tsconfig.base.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"downlevelIteration": true,
6+
"outDir": "./dist/out-tsc",
7+
"sourceMap": true,
8+
"declaration": false,
9+
"module": "esnext",
10+
"moduleResolution": "node",
11+
"emitDecoratorMetadata": true,
12+
"experimentalDecorators": true,
13+
"importHelpers": true,
14+
"target": "es2015",
15+
"typeRoots": [
16+
"node_modules/@types"
17+
],
18+
"lib": [
19+
"es2018",
20+
"dom"
21+
],
22+
"paths": {
23+
"angular-jwt": [
24+
"projects/angular-jwt/src/index"
25+
],
26+
"angular-jwt/*": [
27+
"projects/angular-jwt/src/*"
28+
]
29+
}
30+
}
31+
}

Diff for: tsconfig.json

+24-29
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
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-
"downlevelIteration": true,
6-
"outDir": "./dist/out-tsc",
7-
"sourceMap": true,
8-
"declaration": false,
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"emitDecoratorMetadata": true,
12-
"experimentalDecorators": true,
13-
"importHelpers": true,
14-
"target": "es2015",
15-
"typeRoots": [
16-
"node_modules/@types"
17-
],
18-
"lib": [
19-
"es2018",
20-
"dom"
21-
],
22-
"paths": {
23-
"angular-jwt": [
24-
"projects/angular-jwt/src/index"
25-
],
26-
"angular-jwt/*": [
27-
"projects/angular-jwt/src/*"
28-
]
8+
"files": [],
9+
"references": [
10+
{
11+
"path": "./src/tsconfig.app.json"
12+
},
13+
{
14+
"path": "./src/tsconfig.spec.json"
15+
},
16+
{
17+
"path": "./e2e/tsconfig.e2e.json"
18+
},
19+
{
20+
"path": "./projects/angular-jwt/tsconfig.lib.json"
21+
},
22+
{
23+
"path": "./projects/angular-jwt/tsconfig.spec.json"
2924
}
30-
}
31-
}
25+
]
26+
}

Diff for: tslint.json

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"no-trailing-whitespace": true,
7474
"no-unnecessary-initializer": true,
7575
"no-unused-expression": true,
76-
"no-use-before-declare": true,
7776
"no-var-keyword": true,
7877
"object-literal-sort-keys": false,
7978
"one-line": [

0 commit comments

Comments
 (0)