From ded331f2d8d1884a7e1aec62b2ec19d3e837c3cc Mon Sep 17 00:00:00 2001 From: Elena Hristova Date: Thu, 8 Nov 2018 11:40:27 +0200 Subject: [PATCH 1/3] chore: update to typescript 3.1 --- demo/package.json | 2 +- src/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/package.json b/demo/package.json index 6a65562..6c06ad6 100644 --- a/demo/package.json +++ b/demo/package.json @@ -25,7 +25,7 @@ "nativescript-dev-webpack": "~0.17.0", "tns-platform-declarations": "^5.0.0", "tslint": "~5.11.0", - "typescript": "~2.8.2" + "typescript": "~3.1.1" }, "scripts": { "ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'", diff --git a/src/package.json b/src/package.json index 263a7c7..5f3c782 100644 --- a/src/package.json +++ b/src/package.json @@ -42,7 +42,7 @@ "devDependencies": { "tns-core-modules": "^5.0.1", "tns-platform-declarations": "^5.0.0", - "typescript": "~2.8.2", + "typescript": "~3.1.1", "prompt": "~1.0.0", "rimraf": "~2.6.2", "tslint": "~5.11.0" From d1863fb1b7d7a338caf22d93b92c2656b4981c8a Mon Sep 17 00:00:00 2001 From: Elena Hristova Date: Thu, 15 Nov 2018 09:41:18 +0200 Subject: [PATCH 2/3] update nativescript dev webpack and typescript versions --- demo/app/package.json | 2 +- demo/package.json | 6 +++--- src/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/demo/app/package.json b/demo/app/package.json index 4dd102a..61b4e1c 100644 --- a/demo/app/package.json +++ b/demo/app/package.json @@ -30,7 +30,7 @@ "requireModules": ["nativescript-geolocation"] }, "devDependencies": { - "nativescript-dev-typescript": "^0.3.0" + "nativescript-dev-typescript": "^0.7.5" }, "_id": "tns-template-hello-world-ts@1.6.0", "_shasum": "a567c2b9a56024818c06596dab9629d155c5b8a8", diff --git a/demo/package.json b/demo/package.json index 6c06ad6..f25a74a 100644 --- a/demo/package.json +++ b/demo/package.json @@ -13,7 +13,7 @@ "nativescript-theme-core": "^1.0.4", "nativescript-toast": "^1.4.6", "nativescript-unit-test-runner": "^0.3.4", - "tns-core-modules": "^5.0.1" + "tns-core-modules": "^5.0.2" }, "devDependencies": { "jasmine-core": "^2.5.2", @@ -21,8 +21,8 @@ "karma-jasmine": "^1.0.2", "karma-nativescript-launcher": "^0.4.0", "nativescript-css-loader": "~0.26.0", - "nativescript-dev-typescript": "~0.7.2", - "nativescript-dev-webpack": "~0.17.0", + "nativescript-dev-typescript": "~0.7.5", + "nativescript-dev-webpack": "~0.18.0", "tns-platform-declarations": "^5.0.0", "tslint": "~5.11.0", "typescript": "~3.1.1" diff --git a/src/package.json b/src/package.json index 5f3c782..b116763 100644 --- a/src/package.json +++ b/src/package.json @@ -40,7 +40,7 @@ "homepage": "https://github.com/NativeScript/nativescript-geolocation", "readmeFilename": "README.md", "devDependencies": { - "tns-core-modules": "^5.0.1", + "tns-core-modules": "^5.0.2", "tns-platform-declarations": "^5.0.0", "typescript": "~3.1.1", "prompt": "~1.0.0", From c6c5e30274aafe716392e9d0321677442217fec5 Mon Sep 17 00:00:00 2001 From: Elena Hristova Date: Thu, 15 Nov 2018 10:56:34 +0200 Subject: [PATCH 3/3] update minimum version to 4.0 --- demo/app/package.json | 72 ---------------------------- demo/package.json | 7 ++- src/package.json | 8 ++-- src/platforms/android/include.gradle | 5 -- 4 files changed, 7 insertions(+), 85 deletions(-) diff --git a/demo/app/package.json b/demo/app/package.json index 61b4e1c..5b7c0da 100644 --- a/demo/app/package.json +++ b/demo/app/package.json @@ -29,78 +29,6 @@ "v8Flags": "--expose_gc", "requireModules": ["nativescript-geolocation"] }, - "devDependencies": { - "nativescript-dev-typescript": "^0.7.5" - }, - "_id": "tns-template-hello-world-ts@1.6.0", - "_shasum": "a567c2b9a56024818c06596dab9629d155c5b8a8", - "_resolved": "https://registry.npmjs.org/tns-template-hello-world-ts/-/tns-template-hello-world-ts-1.6.0.tgz", - "_from": "tns-template-hello-world-ts@latest", - "scripts": {}, - "_npmVersion": "2.14.7", - "_nodeVersion": "4.2.2", - "_npmUser": { - "name": "enchev", - "email": "vladimir.enchev@gmail.com" - }, - "dist": { - "shasum": "a567c2b9a56024818c06596dab9629d155c5b8a8", - "tarball": "http://registry.npmjs.org/tns-template-hello-world-ts/-/tns-template-hello-world-ts-1.6.0.tgz" - }, - "maintainers": [ - { - "name": "enchev", - "email": "vladimir.enchev@gmail.com" - }, - { - "name": "erjangavalji", - "email": "erjan.gavalji@gmail.com" - }, - { - "name": "fatme", - "email": "hfatme@gmail.com" - }, - { - "name": "hdeshev", - "email": "hristo@deshev.com" - }, - { - "name": "kerezov", - "email": "d.kerezov@gmail.com" - }, - { - "name": "ligaz", - "email": "stefan.dobrev@gmail.com" - }, - { - "name": "nsndeck", - "email": "nedyalko.nikolov@telerik.com" - }, - { - "name": "rosen-vladimirov", - "email": "rosen.vladimirov.91@gmail.com" - }, - { - "name": "sdobrev", - "email": "stefan.dobrev@gmail.com" - }, - { - "name": "tailsu", - "email": "tailsu@gmail.com" - }, - { - "name": "teobugslayer", - "email": "teobugslayer@gmail.com" - }, - { - "name": "valio.stoychev", - "email": "valio.stoychev@gmail.com" - } - ], - "_npmOperationalInternal": { - "host": "packages-5-east.internal.npmjs.com", - "tmp": "tmp/tns-template-hello-world-ts-1.6.0.tgz_1455717516189_0.6427943941671401" - }, "directories": {}, "readme": "ERROR: No README data found!" } diff --git a/demo/package.json b/demo/package.json index f25a74a..60c5bb6 100644 --- a/demo/package.json +++ b/demo/package.json @@ -13,7 +13,7 @@ "nativescript-theme-core": "^1.0.4", "nativescript-toast": "^1.4.6", "nativescript-unit-test-runner": "^0.3.4", - "tns-core-modules": "^5.0.2" + "tns-core-modules": "^5.0.0" }, "devDependencies": { "jasmine-core": "^2.5.2", @@ -21,11 +21,10 @@ "karma-jasmine": "^1.0.2", "karma-nativescript-launcher": "^0.4.0", "nativescript-css-loader": "~0.26.0", - "nativescript-dev-typescript": "~0.7.5", + "nativescript-dev-typescript": "~0.7.0", "nativescript-dev-webpack": "~0.18.0", "tns-platform-declarations": "^5.0.0", - "tslint": "~5.11.0", - "typescript": "~3.1.1" + "tslint": "~5.11.0" }, "scripts": { "ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'", diff --git a/src/package.json b/src/package.json index b116763..7f8c64a 100644 --- a/src/package.json +++ b/src/package.json @@ -6,8 +6,8 @@ "typings": "index.d.ts", "nativescript": { "platforms": { - "android": "3.0.0", - "ios": "3.0.0" + "android": "4.0.0", + "ios": "4.0.0" } }, "scripts": { @@ -40,9 +40,9 @@ "homepage": "https://github.com/NativeScript/nativescript-geolocation", "readmeFilename": "README.md", "devDependencies": { - "tns-core-modules": "^5.0.2", + "tns-core-modules": "^5.0.0", "tns-platform-declarations": "^5.0.0", - "typescript": "~3.1.1", + "typescript": "~3.1.6", "prompt": "~1.0.0", "rimraf": "~2.6.2", "tslint": "~5.11.0" diff --git a/src/platforms/android/include.gradle b/src/platforms/android/include.gradle index 07780c7..4bf46c6 100644 --- a/src/platforms/android/include.gradle +++ b/src/platforms/android/include.gradle @@ -8,11 +8,6 @@ allprojects { } android { - productFlavors { - "nativescript-geolocation" { - dimension "nativescript-geolocation" - } - } } dependencies {