From e2e138364805ba4c3ba329d6007b10e7483c5b44 Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Mon, 15 Jan 2018 14:52:19 -0500 Subject: [PATCH 1/2] chore: bump typescript version to 2.6.2 Angular 5.2 supports TS 2.6 --- nativescript-angular/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json index 1da430b1a..eaddbef21 100644 --- a/nativescript-angular/package.json +++ b/nativescript-angular/package.json @@ -54,7 +54,7 @@ "rxjs": "^5.5.0", "tns-core-modules": "^3.1.0 || >3.4.0-", "zone.js": "^0.8.4", - "typescript": "~2.4.2" + "typescript": "~2.6.2" }, "devDependencies": { "@angular/platform-browser-dynamic": "~5.2.0", @@ -71,7 +71,7 @@ "rxjs": "^5.5.0", "tns-core-modules": "next", "tslint": "^5.5.0", - "typescript": "~2.4.2", + "typescript": "~2.6.2", "zone.js": "^0.8.12" } } From 011c51b7e3874410dc63ba8d393428dbf6f5c068 Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Mon, 15 Jan 2018 15:15:14 -0500 Subject: [PATCH 2/2] chore: update demo apps dependencies --- e2e/renderer/package.json | 20 ++++++++++---------- e2e/router/package.json | 20 ++++++++++---------- ng-sample/package.json | 29 +++++++++++++++-------------- tests/package.json | 22 +++++++++++----------- 4 files changed, 46 insertions(+), 45 deletions(-) diff --git a/e2e/renderer/package.json b/e2e/renderer/package.json index 5edac50fa..4c6ff75d8 100644 --- a/e2e/renderer/package.json +++ b/e2e/renderer/package.json @@ -10,14 +10,14 @@ } }, "dependencies": { - "@angular/common": "~5.0.0", - "@angular/compiler": "~5.0.0", - "@angular/core": "~5.0.0", - "@angular/forms": "~5.0.0", - "@angular/http": "~5.0.0", - "@angular/platform-browser": "~5.0.0", - "@angular/platform-browser-dynamic": "~5.0.0", - "@angular/router": "~5.0.0", + "@angular/common": "~5.2.0", + "@angular/compiler": "~5.2.0", + "@angular/core": "~5.2.0", + "@angular/forms": "~5.2.0", + "@angular/http": "~5.2.0", + "@angular/platform-browser": "~5.2.0", + "@angular/platform-browser-dynamic": "~5.2.0", + "@angular/router": "~5.2.0", "nativescript-angular": "file:../../nativescript-angular", "nativescript-intl": "^3.0.0", "reflect-metadata": "~0.1.8", @@ -42,11 +42,11 @@ "nativescript-dev-appium": "next", "nativescript-dev-typescript": "~0.4.0", "tslib": "^1.7.1", - "typescript": "~2.4.2" + "typescript": "~2.6.2" }, "scripts": { "e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts", "compile-tests-w": "tsc -p e2e --watch", "update-app-ng-deps": "update-app-ng-deps" } -} +} \ No newline at end of file diff --git a/e2e/router/package.json b/e2e/router/package.json index df5a6f219..0dc072e07 100644 --- a/e2e/router/package.json +++ b/e2e/router/package.json @@ -13,15 +13,15 @@ } }, "dependencies": { - "@angular/animations": "~4.4.1", - "@angular/common": "~5.0.0", - "@angular/compiler": "~5.0.0", - "@angular/core": "~5.0.0", - "@angular/forms": "~5.0.0", - "@angular/http": "~5.0.0", - "@angular/platform-browser": "~5.0.0", - "@angular/platform-browser-dynamic": "~5.0.0", - "@angular/router": "~5.0.0", + "@angular/animations": "~5.2.0", + "@angular/common": "~5.2.0", + "@angular/compiler": "~5.2.0", + "@angular/core": "~5.2.0", + "@angular/forms": "~5.2.0", + "@angular/http": "~5.2.0", + "@angular/platform-browser": "~5.2.0", + "@angular/platform-browser-dynamic": "~5.2.0", + "@angular/router": "~5.2.0", "nativescript-angular": "file:../../nativescript-angular", "nativescript-intl": "^3.0.0", "reflect-metadata": "~0.1.8", @@ -46,7 +46,7 @@ "nativescript-dev-appium": "next", "nativescript-dev-typescript": "~0.4.0", "tslib": "^1.7.1", - "typescript": "~2.4.2" + "typescript": "~2.6.2" }, "scripts": { "e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts", diff --git a/ng-sample/package.json b/ng-sample/package.json index 7c10e3b7e..ecd45f339 100644 --- a/ng-sample/package.json +++ b/ng-sample/package.json @@ -32,19 +32,19 @@ }, "homepage": "https://github.com/NativeScript/template-hello-world", "dependencies": { - "@angular/animations": "~5.0.0", - "@angular/common": "~5.0.0", - "@angular/compiler": "~5.0.0", - "@angular/core": "~5.0.0", - "@angular/forms": "~5.0.0", - "@angular/http": "~5.0.0", - "@angular/platform-browser": "~5.0.0", - "@angular/platform-browser-dynamic": "~5.0.0", - "@angular/router": "~5.0.0", + "@angular/animations": "~5.2.0", + "@angular/common": "~5.2.0", + "@angular/compiler": "~5.2.0", + "@angular/core": "~5.2.0", + "@angular/forms": "~5.2.0", + "@angular/http": "~5.2.0", + "@angular/platform-browser": "~5.2.0", + "@angular/platform-browser-dynamic": "~5.2.0", + "@angular/router": "~5.2.0", "nativescript-angular": "file:../nativescript-angular", - "rxjs": "^5.5.2", + "rxjs": "^5.5.0", "tns-core-modules": "next", - "zone.js": "~0.8.2" + "zone.js": "^0.8.4" }, "devDependencies": { "babel-traverse": "6.9.0", @@ -55,9 +55,10 @@ "nativescript-dev-typescript": "^0.3.1", "shelljs": "^0.7.0", "tslint": "^4.5.1", - "typescript": "~2.4.2" + "typescript": "~2.6.2" }, "scripts": { - "tslint": "tslint --project tsconfig.json --config tslint.json" + "tslint": "tslint --project tsconfig.json --config tslint.json", + "update-app-ng-deps": "update-app-ng-deps" } -} +} \ No newline at end of file diff --git a/tests/package.json b/tests/package.json index 575f5344a..b7cc8a1ee 100644 --- a/tests/package.json +++ b/tests/package.json @@ -20,15 +20,15 @@ ], "homepage": "http://nativescript.org", "dependencies": { - "@angular/animations": "~5.0.0", - "@angular/common": "~5.0.0", - "@angular/compiler": "~5.0.0", - "@angular/core": "~5.0.0", - "@angular/forms": "~5.0.0", - "@angular/http": "~5.0.0", - "@angular/platform-browser": "~5.0.0", - "@angular/platform-browser-dynamic": "~5.0.0", - "@angular/router": "~5.0.0", + "@angular/animations": "~5.2.0", + "@angular/common": "~5.2.0", + "@angular/compiler": "~5.2.0", + "@angular/core": "~5.2.0", + "@angular/forms": "~5.2.0", + "@angular/http": "~5.2.0", + "@angular/platform-browser": "~5.2.0", + "@angular/platform-browser-dynamic": "~5.2.0", + "@angular/router": "~5.2.0", "nativescript-angular": "../nativescript-angular", "nativescript-unit-test-runner": "^0.3.4", "rxjs": "^5.5.0", @@ -60,7 +60,7 @@ "socket.io-client": "1.4.8", "tslib": "^1.7.1", "tslint": "^4.5.1", - "typescript": "~2.4.2", + "typescript": "~2.6.2", "mocha": "~3.5.0" }, "scripts": { @@ -68,4 +68,4 @@ "compile-tests-w": "tsc -p e2e --watch", "update-app-ng-deps": "update-app-ng-deps" } -} +} \ No newline at end of file