Skip to content

Commit 2a5742b

Browse files
authored
feat: enable typescript 2.6 (#1156)
1 parent faa6900 commit 2a5742b

File tree

5 files changed

+48
-47
lines changed

5 files changed

+48
-47
lines changed

Diff for: e2e/renderer/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
}
1111
},
1212
"dependencies": {
13-
"@angular/common": "~5.0.0",
14-
"@angular/compiler": "~5.0.0",
15-
"@angular/core": "~5.0.0",
16-
"@angular/forms": "~5.0.0",
17-
"@angular/http": "~5.0.0",
18-
"@angular/platform-browser": "~5.0.0",
19-
"@angular/platform-browser-dynamic": "~5.0.0",
20-
"@angular/router": "~5.0.0",
13+
"@angular/common": "~5.2.0",
14+
"@angular/compiler": "~5.2.0",
15+
"@angular/core": "~5.2.0",
16+
"@angular/forms": "~5.2.0",
17+
"@angular/http": "~5.2.0",
18+
"@angular/platform-browser": "~5.2.0",
19+
"@angular/platform-browser-dynamic": "~5.2.0",
20+
"@angular/router": "~5.2.0",
2121
"nativescript-angular": "file:../../nativescript-angular",
2222
"nativescript-intl": "^3.0.0",
2323
"reflect-metadata": "~0.1.8",
@@ -42,11 +42,11 @@
4242
"nativescript-dev-appium": "next",
4343
"nativescript-dev-typescript": "~0.4.0",
4444
"tslib": "^1.7.1",
45-
"typescript": "~2.4.2"
45+
"typescript": "~2.6.2"
4646
},
4747
"scripts": {
4848
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
4949
"compile-tests-w": "tsc -p e2e --watch",
5050
"update-app-ng-deps": "update-app-ng-deps"
5151
}
52-
}
52+
}

Diff for: e2e/router/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
}
1414
},
1515
"dependencies": {
16-
"@angular/animations": "~4.4.1",
17-
"@angular/common": "~5.0.0",
18-
"@angular/compiler": "~5.0.0",
19-
"@angular/core": "~5.0.0",
20-
"@angular/forms": "~5.0.0",
21-
"@angular/http": "~5.0.0",
22-
"@angular/platform-browser": "~5.0.0",
23-
"@angular/platform-browser-dynamic": "~5.0.0",
24-
"@angular/router": "~5.0.0",
16+
"@angular/animations": "~5.2.0",
17+
"@angular/common": "~5.2.0",
18+
"@angular/compiler": "~5.2.0",
19+
"@angular/core": "~5.2.0",
20+
"@angular/forms": "~5.2.0",
21+
"@angular/http": "~5.2.0",
22+
"@angular/platform-browser": "~5.2.0",
23+
"@angular/platform-browser-dynamic": "~5.2.0",
24+
"@angular/router": "~5.2.0",
2525
"nativescript-angular": "file:../../nativescript-angular",
2626
"nativescript-intl": "^3.0.0",
2727
"reflect-metadata": "~0.1.8",
@@ -46,7 +46,7 @@
4646
"nativescript-dev-appium": "next",
4747
"nativescript-dev-typescript": "~0.4.0",
4848
"tslib": "^1.7.1",
49-
"typescript": "~2.4.2"
49+
"typescript": "~2.6.2"
5050
},
5151
"scripts": {
5252
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",

Diff for: nativescript-angular/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"rxjs": "^5.5.0",
5555
"tns-core-modules": "^3.1.0 || >3.4.0-",
5656
"zone.js": "^0.8.4",
57-
"typescript": "~2.4.2"
57+
"typescript": "~2.6.2"
5858
},
5959
"devDependencies": {
6060
"@angular/platform-browser-dynamic": "~5.2.0",
@@ -71,7 +71,7 @@
7171
"rxjs": "^5.5.0",
7272
"tns-core-modules": "next",
7373
"tslint": "^5.5.0",
74-
"typescript": "~2.4.2",
74+
"typescript": "~2.6.2",
7575
"zone.js": "^0.8.12"
7676
}
7777
}

Diff for: ng-sample/package.json

+15-14
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@
3232
},
3333
"homepage": "https://github.com/NativeScript/template-hello-world",
3434
"dependencies": {
35-
"@angular/animations": "~5.0.0",
36-
"@angular/common": "~5.0.0",
37-
"@angular/compiler": "~5.0.0",
38-
"@angular/core": "~5.0.0",
39-
"@angular/forms": "~5.0.0",
40-
"@angular/http": "~5.0.0",
41-
"@angular/platform-browser": "~5.0.0",
42-
"@angular/platform-browser-dynamic": "~5.0.0",
43-
"@angular/router": "~5.0.0",
35+
"@angular/animations": "~5.2.0",
36+
"@angular/common": "~5.2.0",
37+
"@angular/compiler": "~5.2.0",
38+
"@angular/core": "~5.2.0",
39+
"@angular/forms": "~5.2.0",
40+
"@angular/http": "~5.2.0",
41+
"@angular/platform-browser": "~5.2.0",
42+
"@angular/platform-browser-dynamic": "~5.2.0",
43+
"@angular/router": "~5.2.0",
4444
"nativescript-angular": "file:../nativescript-angular",
45-
"rxjs": "^5.5.2",
45+
"rxjs": "^5.5.0",
4646
"tns-core-modules": "next",
47-
"zone.js": "~0.8.2"
47+
"zone.js": "^0.8.4"
4848
},
4949
"devDependencies": {
5050
"babel-traverse": "6.9.0",
@@ -55,9 +55,10 @@
5555
"nativescript-dev-typescript": "^0.3.1",
5656
"shelljs": "^0.7.0",
5757
"tslint": "^4.5.1",
58-
"typescript": "~2.4.2"
58+
"typescript": "~2.6.2"
5959
},
6060
"scripts": {
61-
"tslint": "tslint --project tsconfig.json --config tslint.json"
61+
"tslint": "tslint --project tsconfig.json --config tslint.json",
62+
"update-app-ng-deps": "update-app-ng-deps"
6263
}
63-
}
64+
}

Diff for: tests/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
],
2121
"homepage": "http://nativescript.org",
2222
"dependencies": {
23-
"@angular/animations": "~5.0.0",
24-
"@angular/common": "~5.0.0",
25-
"@angular/compiler": "~5.0.0",
26-
"@angular/core": "~5.0.0",
27-
"@angular/forms": "~5.0.0",
28-
"@angular/http": "~5.0.0",
29-
"@angular/platform-browser": "~5.0.0",
30-
"@angular/platform-browser-dynamic": "~5.0.0",
31-
"@angular/router": "~5.0.0",
23+
"@angular/animations": "~5.2.0",
24+
"@angular/common": "~5.2.0",
25+
"@angular/compiler": "~5.2.0",
26+
"@angular/core": "~5.2.0",
27+
"@angular/forms": "~5.2.0",
28+
"@angular/http": "~5.2.0",
29+
"@angular/platform-browser": "~5.2.0",
30+
"@angular/platform-browser-dynamic": "~5.2.0",
31+
"@angular/router": "~5.2.0",
3232
"nativescript-angular": "../nativescript-angular",
3333
"nativescript-unit-test-runner": "^0.3.4",
3434
"rxjs": "^5.5.0",
@@ -60,12 +60,12 @@
6060
"socket.io-client": "1.4.8",
6161
"tslib": "^1.7.1",
6262
"tslint": "^4.5.1",
63-
"typescript": "~2.4.2",
63+
"typescript": "~2.6.2",
6464
"mocha": "~3.5.0"
6565
},
6666
"scripts": {
6767
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
6868
"compile-tests-w": "tsc -p e2e --watch",
6969
"update-app-ng-deps": "update-app-ng-deps"
7070
}
71-
}
71+
}

0 commit comments

Comments
 (0)