From d22ac050ea0cc72c552cde1d96ed71a40643cb2d Mon Sep 17 00:00:00 2001 From: Zdravko Branzov Date: Wed, 8 May 2019 17:38:58 +0300 Subject: [PATCH] chore: bump version to 4.4.1 and add needed references when using npm package --- .gitignore | 5 ++++- demo-angular/package.json | 1 + demo-angular/references.d.ts | 8 +++++++- demo-vue/package.json | 2 +- demo-vue/test-results.xml | 9 --------- demo/e2e/config/appium.capabilities.json | 14 +++++++------- demo/package.json | 3 ++- demo/references.d.ts | 8 +++++++- src/package.json | 2 +- 9 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 demo-vue/test-results.xml diff --git a/.gitignore b/.gitignore index ea7768f..86eec67 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,7 @@ demo*/report/stats.json /src/*.tgz *.esm.json *.tns.json -!demo-vue/app/app.js \ No newline at end of file +!demo-vue/app/app.js +test-results.xml +mochawesome-report/ +/**/e2e/reports/ \ No newline at end of file diff --git a/demo-angular/package.json b/demo-angular/package.json index d2c5a2d..d7ca210 100644 --- a/demo-angular/package.json +++ b/demo-angular/package.json @@ -39,6 +39,7 @@ "nativescript-css-loader": "~0.26.0", "nativescript-dev-typescript": "~0.9.0", "nativescript-dev-webpack": "~0.21.0", + "tns-platform-declarations": "^5.3.2", "tslint": "~5.11.0" } } diff --git a/demo-angular/references.d.ts b/demo-angular/references.d.ts index b14f383..80cde1b 100644 --- a/demo-angular/references.d.ts +++ b/demo-angular/references.d.ts @@ -1 +1,7 @@ -/// Needed for autocompletion and compilation. \ No newline at end of file +// Needed for autocompletion and compilation. +/// +// If the plugin is referenced from npm, +// the native typings should be referenced +// from the following locations: +// / +// / \ No newline at end of file diff --git a/demo-vue/package.json b/demo-vue/package.json index 1df0445..531638b 100644 --- a/demo-vue/package.json +++ b/demo-vue/package.json @@ -29,7 +29,7 @@ "mocha-junit-reporter": "^1.18.0", "mocha-multi": "^1.0.1", "mochawesome": "^3.1.1", - "nativescript-dev-appium": "4.0.9", + "nativescript-dev-appium": "5.2.0", "nativescript-dev-typescript": "~0.9.0", "nativescript-dev-webpack": "~0.21.0", "nativescript-vue-template-compiler": "^2.0.0", diff --git a/demo-vue/test-results.xml b/demo-vue/test-results.xml deleted file mode 100644 index 53fb1e8..0000000 --- a/demo-vue/test-results.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/demo/e2e/config/appium.capabilities.json b/demo/e2e/config/appium.capabilities.json index 55a7d0a..67a57ef 100644 --- a/demo/e2e/config/appium.capabilities.json +++ b/demo/e2e/config/appium.capabilities.json @@ -42,8 +42,8 @@ "platformVersion": "7.0", "deviceName": "Android GoogleAPI Emulator", "lt": 60000, + "appActivity": "com.tns.NativeScriptActivity", "newCommandTimeout": 720, - "appiumVersion": "1.7.1", "noReset": true, "fullReset": false, "app": "" @@ -89,12 +89,12 @@ "app": "" }, "sim103iPhone6": { - "browserName": "", - "appiumVersion": "1.7.1", - "platformName": "iOS", - "platformVersion": "10.3", - "deviceName": "iPhone 6", - "app": "" + "browserName": "", + "appiumVersion": "1.7.1", + "platformName": "iOS", + "platformVersion": "10.3", + "deviceName": "iPhone 6", + "app": "" }, "sim.iPhone8.iOS110": { "platformName": "iOS", diff --git a/demo/package.json b/demo/package.json index e9d2f0c..45a644c 100644 --- a/demo/package.json +++ b/demo/package.json @@ -34,9 +34,10 @@ "mocha-multi": "^1.0.1", "mochawesome": "^3.1.1", "nativescript-css-loader": "~0.26.1", - "nativescript-dev-appium": "4.0.9", + "nativescript-dev-appium": "5.2.0", "nativescript-dev-typescript": "~0.9.0", "nativescript-dev-webpack": "~0.21.0", + "tns-platform-declarations": "^5.3.2", "tslint": "~5.11.0" } } diff --git a/demo/references.d.ts b/demo/references.d.ts index b14f383..80cde1b 100644 --- a/demo/references.d.ts +++ b/demo/references.d.ts @@ -1 +1,7 @@ -/// Needed for autocompletion and compilation. \ No newline at end of file +// Needed for autocompletion and compilation. +/// +// If the plugin is referenced from npm, +// the native typings should be referenced +// from the following locations: +// / +// / \ No newline at end of file diff --git a/src/package.json b/src/package.json index cad3881..f911f96 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-camera", - "version": "4.4.0", + "version": "4.4.1", "description": "Provides API for using device camera", "repository": { "type": "git",