@capgo/inappbrowser 7.8.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +28 -0
- package/package.json +3 -1
package/Package.swift
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// swift-tools-version: 5.9
|
|
2
|
+
import PackageDescription
|
|
3
|
+
|
|
4
|
+
let package = Package(
|
|
5
|
+
name: "CapgoCapacitorInappbrowser",
|
|
6
|
+
platforms: [.iOS(.v14)],
|
|
7
|
+
products: [
|
|
8
|
+
.library(
|
|
9
|
+
name: "CapgoCapacitorInappbrowser",
|
|
10
|
+
targets: ["InappbrowserPlugin"])
|
|
11
|
+
],
|
|
12
|
+
dependencies: [
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
|
|
14
|
+
],
|
|
15
|
+
targets: [
|
|
16
|
+
.target(
|
|
17
|
+
name: "InappbrowserPlugin",
|
|
18
|
+
dependencies: [
|
|
19
|
+
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
20
|
+
.product(name: "Cordova", package: "capacitor-swift-pm"),
|
|
21
|
+
],
|
|
22
|
+
path: "ios/Sources/InappbrowserPlugin"),
|
|
23
|
+
.testTarget(
|
|
24
|
+
name: "InappbrowserPluginTests",
|
|
25
|
+
dependencies: ["InappbrowserPlugin"],
|
|
26
|
+
path: "ios/Tests/InappbrowserPluginTests")
|
|
27
|
+
]
|
|
28
|
+
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/inappbrowser",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.0",
|
|
4
4
|
"description": "Capacitor plugin in app browser",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"android/build.gradle",
|
|
12
12
|
"dist/",
|
|
13
13
|
"ios/Plugin/",
|
|
14
|
+
"Package.swift",
|
|
14
15
|
"CapgoInappbrowser.podspec"
|
|
15
16
|
],
|
|
16
17
|
"author": "Martin Donadieu <martin@capgo.app>",
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
"scripts": {
|
|
32
33
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
33
34
|
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -sdk iphoneos -scheme Plugin && cd ..",
|
|
35
|
+
"verify:iosSPM": "xcodebuild -workspace ios/Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS",
|
|
34
36
|
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
35
37
|
"verify:web": "npm run build",
|
|
36
38
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|