From 5732a2a315314e95bbd5ab4286218d0d18927a2d Mon Sep 17 00:00:00 2001 From: VladimirAmiorkov Date: Mon, 1 Jul 2019 11:15:44 +0300 Subject: [PATCH 1/3] fix: remove use of '--syncAllFiles' param --- src/scripts/predefined-scripts.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/scripts/predefined-scripts.js b/src/scripts/predefined-scripts.js index 0eb1077..011d194 100644 --- a/src/scripts/predefined-scripts.js +++ b/src/scripts/predefined-scripts.js @@ -243,37 +243,37 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo }, { key: "nd.demo.tns.run.android", - value: "cd " + demoFolder + " && tns run android --syncAllFiles", + value: "cd " + demoFolder + " && tns run android", description: "Runs the 'demo' app on Android with '--syncAllFiles' argument", category: "secondary" }, { key: "nd.demo.tns.run.ios", - value: "cd " + demoFolder + " && tns run ios --syncAllFiles" + provisioningParam, + value: "cd " + demoFolder + " && tns run ios" + provisioningParam, description: "Runs the 'demo' app on iOS with '--syncAllFiles' argument", category: "secondary" }, { key: "nd.demo.angular.tns.run.android", - value: "cd " + demoAngularFolder + " && tns run android --syncAllFiles", + value: "cd " + demoAngularFolder + " && tns run android", description: "Runs the 'demo-angular' app on Android with '--syncAllFiles' argument", category: "secondary" }, { key: "nd.demo.angular.tns.run.ios", - value: "cd " + demoAngularFolder + " && tns run ios --syncAllFiles" + provisioningParam, + value: "cd " + demoAngularFolder + " && tns run ios" + provisioningParam, description: "Runs the 'demo-angular' app on iOS with '--syncAllFiles' argument", category: "secondary" }, { key: "nd.demo.vue.tns.run.android", - value: "cd " + demoVueFolder + " && tns run android --bundle --syncAllFiles", + value: "cd " + demoVueFolder + " && tns run android --bundle", description: "Runs the 'demo-vue' app on Android with '--syncAllFiles' argument", category: "secondary" }, { key: "nd.demo.vue.tns.run.ios", - value: "cd " + demoVueFolder + " && tns run ios --bundle --syncAllFiles" + provisioningParam, + value: "cd " + demoVueFolder + " && tns run ios --bundle" + provisioningParam, description: "Runs the 'demo-vue' app on iOS with '--syncAllFiles' argument", category: "secondary" }, From 0c5d05acaf4b1ee8e2a74f5737bd2d5d8be94177 Mon Sep 17 00:00:00 2001 From: VladimirAmiorkov Date: Mon, 1 Jul 2019 11:18:01 +0300 Subject: [PATCH 2/3] chore: bump version for major release --- src/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.json b/src/package.json index 532ea23..80b3968 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-dev-debugging", - "version": "1.0.1", + "version": "2.0.0", "description": "This dev plugin allows an NativeScript plugin authors to use a predefined workflow with which you can develop and debug both the native iOS/Android and the TypeScript/JavaScript wrapper source code of their NS plugin. The main API that this plugin exposes is through `npm scripts` which will be saved to your package.json of your plugin's source code.", "main": "index.js", "dependencies": { From daabf64c0230a4a5c348067a58afe44f3521ab37 Mon Sep 17 00:00:00 2001 From: Elena Hristova Date: Thu, 11 Jul 2019 10:12:43 +0300 Subject: [PATCH 3/3] remove --bundle option --- README.md | 1 - src/scripts/predefined-scripts.js | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3e754c0..32d5043 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ This dev plugin allows a __NativeScript plugin authors__ to use a **predefined w Note > - This NS dev plugin has been developed on Mac and has not been tested on Windows. > - Using the plugin's scripts will open both Android Studio and XCode so be aware that those applications will open during the executing of the scripts. -> - This plugin uses the `--syncAllFiles` to ensure that all of your NS plugin source code changes are transferred when changes are detected. ## Installation diff --git a/src/scripts/predefined-scripts.js b/src/scripts/predefined-scripts.js index 011d194..1249f9e 100644 --- a/src/scripts/predefined-scripts.js +++ b/src/scripts/predefined-scripts.js @@ -244,37 +244,37 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo { key: "nd.demo.tns.run.android", value: "cd " + demoFolder + " && tns run android", - description: "Runs the 'demo' app on Android with '--syncAllFiles' argument", + description: "Runs the 'demo' app on Android", category: "secondary" }, { key: "nd.demo.tns.run.ios", value: "cd " + demoFolder + " && tns run ios" + provisioningParam, - description: "Runs the 'demo' app on iOS with '--syncAllFiles' argument", + description: "Runs the 'demo' app on iOS", category: "secondary" }, { key: "nd.demo.angular.tns.run.android", value: "cd " + demoAngularFolder + " && tns run android", - description: "Runs the 'demo-angular' app on Android with '--syncAllFiles' argument", + description: "Runs the 'demo-angular' app on Android", category: "secondary" }, { key: "nd.demo.angular.tns.run.ios", value: "cd " + demoAngularFolder + " && tns run ios" + provisioningParam, - description: "Runs the 'demo-angular' app on iOS with '--syncAllFiles' argument", + description: "Runs the 'demo-angular' app on iOS", category: "secondary" }, { key: "nd.demo.vue.tns.run.android", - value: "cd " + demoVueFolder + " && tns run android --bundle", - description: "Runs the 'demo-vue' app on Android with '--syncAllFiles' argument", + value: "cd " + demoVueFolder + " && tns run android", + description: "Runs the 'demo-vue' app on Android", category: "secondary" }, { key: "nd.demo.vue.tns.run.ios", - value: "cd " + demoVueFolder + " && tns run ios --bundle" + provisioningParam, - description: "Runs the 'demo-vue' app on iOS with '--syncAllFiles' argument", + value: "cd " + demoVueFolder + " && tns run ios" + provisioningParam, + description: "Runs the 'demo-vue' app on iOS", category: "secondary" }, {