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/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": { diff --git a/src/scripts/predefined-scripts.js b/src/scripts/predefined-scripts.js index 0eb1077..1249f9e 100644 --- a/src/scripts/predefined-scripts.js +++ b/src/scripts/predefined-scripts.js @@ -243,38 +243,38 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo }, { key: "nd.demo.tns.run.android", - value: "cd " + demoFolder + " && tns run android --syncAllFiles", - description: "Runs the 'demo' app on Android with '--syncAllFiles' argument", + value: "cd " + demoFolder + " && tns run android", + description: "Runs the 'demo' app on Android", category: "secondary" }, { key: "nd.demo.tns.run.ios", - value: "cd " + demoFolder + " && tns run ios --syncAllFiles" + provisioningParam, - description: "Runs the 'demo' app on iOS with '--syncAllFiles' argument", + value: "cd " + demoFolder + " && tns run ios" + provisioningParam, + description: "Runs the 'demo' app on iOS", category: "secondary" }, { key: "nd.demo.angular.tns.run.android", - value: "cd " + demoAngularFolder + " && tns run android --syncAllFiles", - description: "Runs the 'demo-angular' app on Android with '--syncAllFiles' argument", + value: "cd " + demoAngularFolder + " && tns run android", + description: "Runs the 'demo-angular' app on Android", category: "secondary" }, { key: "nd.demo.angular.tns.run.ios", - value: "cd " + demoAngularFolder + " && tns run ios --syncAllFiles" + provisioningParam, - description: "Runs the 'demo-angular' app on iOS with '--syncAllFiles' argument", + value: "cd " + demoAngularFolder + " && tns run ios" + provisioningParam, + description: "Runs the 'demo-angular' app on iOS", category: "secondary" }, { key: "nd.demo.vue.tns.run.android", - value: "cd " + demoVueFolder + " && tns run android --bundle --syncAllFiles", - 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 --syncAllFiles" + 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" }, {