From 4bb9ac0e90238b31c4c281ad3b5d7bc6b874ff37 Mon Sep 17 00:00:00 2001 From: Stoyan Stratev Date: Thu, 9 Aug 2018 14:23:11 +0300 Subject: [PATCH 1/2] chor: update demo apps for NativeScript 4.2.0 --- demo/package.json | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/demo/package.json b/demo/package.json index 35d1730..86db26a 100644 --- a/demo/package.json +++ b/demo/package.json @@ -2,10 +2,10 @@ "nativescript": { "id": "org.nativescript.demo", "tns-android": { - "version": "4.1.1" + "version": "4.2.0" }, "tns-ios": { - "version": "4.1.0" + "version": "4.2.0" } }, "dependencies": { @@ -13,34 +13,22 @@ "nativescript-theme-core": "^1.0.4", "nativescript-toast": "^1.4.6", "nativescript-unit-test-runner": "^0.3.4", - "tns-core-modules": "4.1.0" + "tns-core-modules": "^4.2.0" }, "devDependencies": { - "babel-traverse": "6.12.0", - "babel-types": "6.11.1", - "babylon": "6.8.4", - "filewalker": "0.1.2", "jasmine-core": "^2.5.2", "karma": "^1.3.0", "karma-jasmine": "^1.0.2", "karma-nativescript-launcher": "^0.4.0", - "lazy": "1.0.11", "nativescript-css-loader": "~0.26.0", - "nativescript-dev-typescript": "~0.7.1", - "nativescript-dev-webpack": "~0.14.0", - "tns-platform-declarations": "^3.2.0", - "tslint": "~5.4.3", - "typescript": "~2.7.2" + "nativescript-dev-typescript": "~0.7.2", + "nativescript-dev-webpack": "~0.15.1", + "tns-platform-declarations": "^4.2.0", + "tslint": "~5.11.0", + "typescript": "~2.8.2" }, "scripts": { "ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'", - "ns-bundle": "ns-bundle", - "publish-ios-bundle": "npm run ns-bundle --ios --publish-app", - "generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install", - "build.plugin": "cd ../src && npm run build", - "start-android-bundle": "npm run ns-bundle --android --run-app", - "start-ios-bundle": "npm run ns-bundle --ios --run-app", - "build-android-bundle": "npm run ns-bundle --android --build-app", - "build-ios-bundle": "npm run ns-bundle --ios --build-app" + "build.plugin": "cd ../src && npm run build" } } From dcbc50d7fec276c67bcc7ba562e8aebdb0fca407 Mon Sep 17 00:00:00 2001 From: Stoyan Stratev Date: Fri, 10 Aug 2018 09:06:56 +0300 Subject: [PATCH 2/2] chor: missing whitespace --- demo/app/background-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/app/background-service.ts b/demo/app/background-service.ts index 82ae00d..9859101 100644 --- a/demo/app/background-service.ts +++ b/demo/app/background-service.ts @@ -36,10 +36,10 @@ if (application.android) { onBind: function (intent) { console.log("on Bind Services"); }, - onUnbind: function(intent){ + onUnbind: function (intent) { console.log('UnBind Service'); }, - onDestroy: function() { + onDestroy: function () { console.log('service onDestroy'); geolocation.clearWatch(this.id); }