From 6fff6d998bbbf2e8c650dab38d17a5e307e54d48 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:01:54 +0100 Subject: [PATCH 01/17] Update build.gradle Update build.gradle to meet Capacitor 5 requirements --- android/build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 3de9898..e2f666b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,8 +1,8 @@ ext { junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1' } buildscript { @@ -11,17 +11,17 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.android.tools.build:gradle:7.4.1' } } apply plugin: 'com.android.library' android { - compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32 + compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33 defaultConfig { minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22 - targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32 + targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" From 61ca70a17c616feda35b90fa6f8d25395971a5fc Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:03:09 +0100 Subject: [PATCH 02/17] Update gradle-wrapper.properties --- android/gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 92f06b5..2ec77e5 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From 0ee9d018d6fa668e073dbd6d99ab49bfbdad795d Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:09:49 +0100 Subject: [PATCH 03/17] Update gradle.properties --- android/gradle.properties | 1 - 1 file changed, 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index 0566c22..d21581e 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -21,4 +21,3 @@ org.gradle.jvmargs=-Xmx1536m # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true From 52930da5b1dc8d4da823d852ff9fee0090aa7e9f Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:10:50 +0100 Subject: [PATCH 04/17] Update AndroidManifest.xml --- android/src/main/AndroidManifest.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index a06bff2..3ff16af 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + Date: Wed, 19 Apr 2023 16:11:11 +0100 Subject: [PATCH 05/17] Update build.gradle --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index e2f666b..c304e27 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,6 +18,7 @@ buildscript { apply plugin: 'com.android.library' android { + namespace "com.ryltsov.alex.plugins.file.opener" compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33 defaultConfig { minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22 From 80ec8e6d4499280e95d2b71bcc1938fa40ef5bd7 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:18:41 +0100 Subject: [PATCH 06/17] Update package.json --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5ec76b6..dde783e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor-community/file-opener", - "version": "1.0.4", + "version": "1.0.5", "description": "Capacitor File Opener. The plugin is able to open a file given the mimeType and the file uri.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", @@ -43,10 +43,10 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@capacitor/android": "^4.4.0", - "@capacitor/core": "^4.4.0", + "@capacitor/android": "^^5.0.0-beta.0", + "@capacitor/core": "^^5.0.0-beta.0", "@capacitor/docgen": "^0.2.0", - "@capacitor/ios": "^4.4.0", + "@capacitor/ios": "^5.0.0-beta.0", "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@ionic/swiftlint-config": "^1.1.2", @@ -60,7 +60,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0" + "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From ff9aa85210ab1539230f84aaff8df28698932ec5 Mon Sep 17 00:00:00 2001 From: Francisco Neves - SISQUAL Date: Wed, 19 Apr 2023 16:36:57 +0100 Subject: [PATCH 07/17] Update package.json --- package-lock.json | 52 +++++++++++++++++++++++------------------------ package.json | 4 ++-- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index b35ebc6..db96b93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@capacitor-community/file-opener", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@capacitor-community/file-opener", - "version": "1.0.4", + "version": "1.0.5", "license": "MIT", "devDependencies": { - "@capacitor/android": "^4.4.0", - "@capacitor/core": "^4.4.0", + "@capacitor/android": "^5.0.0-beta.0", + "@capacitor/core": "^5.0.0-beta.0", "@capacitor/docgen": "^0.2.0", - "@capacitor/ios": "^4.4.0", + "@capacitor/ios": "^5.0.0-beta.0", "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@ionic/swiftlint-config": "^1.1.2", @@ -30,7 +30,7 @@ "npm": ">=8.0.0" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0" + "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0" } }, "node_modules/@babel/code-frame": { @@ -137,18 +137,18 @@ } }, "node_modules/@capacitor/android": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-4.4.0.tgz", - "integrity": "sha512-vPoUcoJ1CZ5pxjceN/HVnq5FuNo+V1/kBj/NH48nAiMzBbZPEDmplguGC8Dj2qbKjhkJ+LMSL26VTfnsyHMJbA==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-5epsgieOUCmh1TyWfh9gYP7xbQz5ECKDeOyLykQm/ec3KxyoCLTVatAb+40kDJGJSd7QZwuC55D73qXU0IU46Q==", "dev": true, "peerDependencies": { - "@capacitor/core": "^4.3.0" + "@capacitor/core": "^5.0.0-beta.2" } }, "node_modules/@capacitor/core": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-4.4.0.tgz", - "integrity": "sha512-9k6EJTCMlHhr6g2oGo2FJM2byRyX5GEfB24Bv2e4fnemiiHrQEeAKdg++6Hj7jNNZtI1q+5EImTrcpXzPkiX7Q==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-3kgbaBtiGbvF2PzdbFRailGPAbEzNPDNQScbvz4BAP8rgmmX17XzujqDW5vdum2yvG6JQ+dDu8tzBSXIVw6dEQ==", "dev": true, "dependencies": { "tslib": "^2.1.0" @@ -187,12 +187,12 @@ } }, "node_modules/@capacitor/ios": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-4.4.0.tgz", - "integrity": "sha512-x1i9WgaeUANBgXmCHcXoMrqZC49Ef0eu+kaRmcQ0/UkI2r31/PMGr3BVTlHRJLeBsodzwR4TiEeKRK044WX+Hw==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-JY0YfbBNvVu+OqJ+TilKcEMH5uGANcFfN8Uls0v5wcJbcdVunlCeR/6UJF9gEu3NjNUVSEbjVSVKCJ29LaIvQg==", "dev": true, "peerDependencies": { - "@capacitor/core": "^4.3.0" + "@capacitor/core": "^5.0.0-beta.2" } }, "node_modules/@eslint/eslintrc": { @@ -3528,16 +3528,16 @@ } }, "@capacitor/android": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-4.4.0.tgz", - "integrity": "sha512-vPoUcoJ1CZ5pxjceN/HVnq5FuNo+V1/kBj/NH48nAiMzBbZPEDmplguGC8Dj2qbKjhkJ+LMSL26VTfnsyHMJbA==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-5epsgieOUCmh1TyWfh9gYP7xbQz5ECKDeOyLykQm/ec3KxyoCLTVatAb+40kDJGJSd7QZwuC55D73qXU0IU46Q==", "dev": true, "requires": {} }, "@capacitor/core": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-4.4.0.tgz", - "integrity": "sha512-9k6EJTCMlHhr6g2oGo2FJM2byRyX5GEfB24Bv2e4fnemiiHrQEeAKdg++6Hj7jNNZtI1q+5EImTrcpXzPkiX7Q==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-3kgbaBtiGbvF2PzdbFRailGPAbEzNPDNQScbvz4BAP8rgmmX17XzujqDW5vdum2yvG6JQ+dDu8tzBSXIVw6dEQ==", "dev": true, "requires": { "tslib": "^2.1.0" @@ -3565,9 +3565,9 @@ } }, "@capacitor/ios": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-4.4.0.tgz", - "integrity": "sha512-x1i9WgaeUANBgXmCHcXoMrqZC49Ef0eu+kaRmcQ0/UkI2r31/PMGr3BVTlHRJLeBsodzwR4TiEeKRK044WX+Hw==", + "version": "5.0.0-nightly-20230419T150539.0", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.0-nightly-20230419T150539.0.tgz", + "integrity": "sha512-JY0YfbBNvVu+OqJ+TilKcEMH5uGANcFfN8Uls0v5wcJbcdVunlCeR/6UJF9gEu3NjNUVSEbjVSVKCJ29LaIvQg==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index dde783e..505a331 100644 --- a/package.json +++ b/package.json @@ -43,8 +43,8 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@capacitor/android": "^^5.0.0-beta.0", - "@capacitor/core": "^^5.0.0-beta.0", + "@capacitor/android": "^5.0.0-beta.0", + "@capacitor/core": "^5.0.0-beta.0", "@capacitor/docgen": "^0.2.0", "@capacitor/ios": "^5.0.0-beta.0", "@ionic/eslint-config": "^0.3.0", From 727c82eb74af8f1d9245c4db04f13dea80a7d482 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 16:50:05 +0100 Subject: [PATCH 08/17] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 505a331..1f7fa74 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0" + "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0 || next" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From 78fd75f5773d665a61d0698c16bef605b0717380 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 17:02:50 +0100 Subject: [PATCH 09/17] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1f7fa74..0074cca 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0 || next" + "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0 || next || 5.0.0-beta.2" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From 63b31c36fb62f85f519e31e1ace0fbe7f290d395 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Wed, 19 Apr 2023 18:30:53 +0100 Subject: [PATCH 10/17] Update package.json --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0074cca..aac74ab 100644 --- a/package.json +++ b/package.json @@ -40,13 +40,14 @@ "build": "npm run clean && npm run docgen && tsc && rollup --bundleConfigAsCjs -c rollup.config.js", "clean": "rimraf ./dist", "watch": "tsc --watch", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "prepare": "npm run build" }, "devDependencies": { - "@capacitor/android": "^5.0.0-beta.0", - "@capacitor/core": "^5.0.0-beta.0", + "@capacitor/android": "^5.0.0-beta.2", + "@capacitor/core": "^5.0.0-beta.2", "@capacitor/docgen": "^0.2.0", - "@capacitor/ios": "^5.0.0-beta.0", + "@capacitor/ios": "^5.0.0-beta.2", "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@ionic/swiftlint-config": "^1.1.2", @@ -60,7 +61,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0 || next || 5.0.0-beta.2" + "@capacitor/core": "5.0.0-beta.2" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From 8ace00d9806acee412cdb0d46095f712c02c7621 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Thu, 4 May 2023 11:06:56 +0100 Subject: [PATCH 11/17] Update package.json --- package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index aac74ab..54f48a9 100644 --- a/package.json +++ b/package.json @@ -40,14 +40,13 @@ "build": "npm run clean && npm run docgen && tsc && rollup --bundleConfigAsCjs -c rollup.config.js", "clean": "rimraf ./dist", "watch": "tsc --watch", - "prepublishOnly": "npm run build", - "prepare": "npm run build" + "prepublishOnly": "npm run build" }, "devDependencies": { - "@capacitor/android": "^5.0.0-beta.2", - "@capacitor/core": "^5.0.0-beta.2", + "@capacitor/android": "^5.0.0", + "@capacitor/core": "^5.0.0", "@capacitor/docgen": "^0.2.0", - "@capacitor/ios": "^5.0.0-beta.2", + "@capacitor/ios": "^5.0.0", "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@ionic/swiftlint-config": "^1.1.2", @@ -61,7 +60,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "5.0.0-beta.2" + "@capacitor/core": "5.0.0" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From e1e3ee9e4646b4f71fe5935cb85f3cb38553b198 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Thu, 4 May 2023 11:08:25 +0100 Subject: [PATCH 12/17] Update gradle-wrapper.properties --- android/gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 2ec77e5..3796d3c 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From edef76df6fd6b7b7b5aafa0f13e567ea2d2e7f30 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Thu, 4 May 2023 11:09:02 +0100 Subject: [PATCH 13/17] Update build.gradle --- android/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c304e27..08b6128 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,7 +11,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.4.1' + classpath 'com.android.tools.build:gradle:8.0.0' } } @@ -37,8 +37,8 @@ android { abortOnError false } compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } } From 7cf7136d7e52f3c4c3f7532385ba9782c8d4dc90 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Thu, 4 May 2023 11:12:42 +0100 Subject: [PATCH 14/17] Update gradle.properties --- android/gradle.properties | 1 - 1 file changed, 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index d21581e..2e87c52 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -20,4 +20,3 @@ org.gradle.jvmargs=-Xmx1536m # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX From 13c881f5be623ccab75d1f8168c4a2004e5998f1 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Thu, 4 May 2023 17:39:16 +0100 Subject: [PATCH 15/17] Update package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cecil Wöbker --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 54f48a9..01e3322 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "5.0.0" + "@capacitor/core": "^5.0.0" }, "prettier": "@ionic/prettier-config", "eslintConfig": { From b544288bdaf23e9e19892baba58ca035f4107a49 Mon Sep 17 00:00:00 2001 From: FranciskoNeves Date: Fri, 5 May 2023 08:59:57 +0100 Subject: [PATCH 16/17] Update package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 01e3322..71aae20 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,8 @@ "build": "npm run clean && npm run docgen && tsc && rollup --bundleConfigAsCjs -c rollup.config.js", "clean": "rimraf ./dist", "watch": "tsc --watch", - "prepublishOnly": "npm run build" + "prepublishOnly": "npm run build", + "prepare": "npm run build" }, "devDependencies": { "@capacitor/android": "^5.0.0", From 5068fef12361f1bccf365957583c2ea25c7b77dc Mon Sep 17 00:00:00 2001 From: Alex Ryltsov Date: Sun, 7 May 2023 10:31:49 +0300 Subject: [PATCH 17/17] chore: changed peer dependency to include capacitor version 3+ Tested the plugin PR with the capacitor 4.x and all looks good. --- package-lock.json | 48 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index db96b93..34d6fa7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,10 @@ "version": "1.0.5", "license": "MIT", "devDependencies": { - "@capacitor/android": "^5.0.0-beta.0", - "@capacitor/core": "^5.0.0-beta.0", + "@capacitor/android": "^5.0.0", + "@capacitor/core": "^5.0.0", "@capacitor/docgen": "^0.2.0", - "@capacitor/ios": "^5.0.0-beta.0", + "@capacitor/ios": "^5.0.0", "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@ionic/swiftlint-config": "^1.1.2", @@ -30,7 +30,7 @@ "npm": ">=8.0.0" }, "peerDependencies": { - "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0" + "@capacitor/core": "^5.0.0" } }, "node_modules/@babel/code-frame": { @@ -137,18 +137,18 @@ } }, "node_modules/@capacitor/android": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-5epsgieOUCmh1TyWfh9gYP7xbQz5ECKDeOyLykQm/ec3KxyoCLTVatAb+40kDJGJSd7QZwuC55D73qXU0IU46Q==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.1.tgz", + "integrity": "sha512-zv0Hy22vkA6aPvLRwpYl8u5NMnZBcj+Gx1gz72mXmpy3JPRqM6UHB6Ncdcie3SK+uJW9TTftZz2uOHYSZiaPEA==", "dev": true, "peerDependencies": { - "@capacitor/core": "^5.0.0-beta.2" + "@capacitor/core": "^5.0.0" } }, "node_modules/@capacitor/core": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-3kgbaBtiGbvF2PzdbFRailGPAbEzNPDNQScbvz4BAP8rgmmX17XzujqDW5vdum2yvG6JQ+dDu8tzBSXIVw6dEQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.1.tgz", + "integrity": "sha512-5rxU+/VnHwS2Qpmjzq7OvciW+ahWJV6FcqFxIyyMT4uPc4sstpsw0qgofei+AZ4m63aOh9CXUqXSwFFkT5/l4g==", "dev": true, "dependencies": { "tslib": "^2.1.0" @@ -187,12 +187,12 @@ } }, "node_modules/@capacitor/ios": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-JY0YfbBNvVu+OqJ+TilKcEMH5uGANcFfN8Uls0v5wcJbcdVunlCeR/6UJF9gEu3NjNUVSEbjVSVKCJ29LaIvQg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.1.tgz", + "integrity": "sha512-rl9NFKWVLrSGuZIr9VdTDd/yR7XRKyMq20J+RrPZTCWzRljt+Mo2Zy6q85UZu+rL3/L5vwFNLHnqkxsIwMpKtw==", "dev": true, "peerDependencies": { - "@capacitor/core": "^5.0.0-beta.2" + "@capacitor/core": "^5.0.0" } }, "node_modules/@eslint/eslintrc": { @@ -3528,16 +3528,16 @@ } }, "@capacitor/android": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-5epsgieOUCmh1TyWfh9gYP7xbQz5ECKDeOyLykQm/ec3KxyoCLTVatAb+40kDJGJSd7QZwuC55D73qXU0IU46Q==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-5.0.1.tgz", + "integrity": "sha512-zv0Hy22vkA6aPvLRwpYl8u5NMnZBcj+Gx1gz72mXmpy3JPRqM6UHB6Ncdcie3SK+uJW9TTftZz2uOHYSZiaPEA==", "dev": true, "requires": {} }, "@capacitor/core": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-3kgbaBtiGbvF2PzdbFRailGPAbEzNPDNQScbvz4BAP8rgmmX17XzujqDW5vdum2yvG6JQ+dDu8tzBSXIVw6dEQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-5.0.1.tgz", + "integrity": "sha512-5rxU+/VnHwS2Qpmjzq7OvciW+ahWJV6FcqFxIyyMT4uPc4sstpsw0qgofei+AZ4m63aOh9CXUqXSwFFkT5/l4g==", "dev": true, "requires": { "tslib": "^2.1.0" @@ -3565,9 +3565,9 @@ } }, "@capacitor/ios": { - "version": "5.0.0-nightly-20230419T150539.0", - "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.0-nightly-20230419T150539.0.tgz", - "integrity": "sha512-JY0YfbBNvVu+OqJ+TilKcEMH5uGANcFfN8Uls0v5wcJbcdVunlCeR/6UJF9gEu3NjNUVSEbjVSVKCJ29LaIvQg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-5.0.1.tgz", + "integrity": "sha512-rl9NFKWVLrSGuZIr9VdTDd/yR7XRKyMq20J+RrPZTCWzRljt+Mo2Zy6q85UZu+rL3/L5vwFNLHnqkxsIwMpKtw==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 71aae20..3f1ad53 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "typescript": "^4.8.4" }, "peerDependencies": { - "@capacitor/core": "^5.0.0" + "@capacitor/core": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "prettier": "@ionic/prettier-config", "eslintConfig": {