Skip to content

Commit

Permalink
chore: Update spm repo (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven0351 committed Apr 15, 2024
1 parent e6fa879 commit b65ba06
Show file tree
Hide file tree
Showing 23 changed files with 69 additions and 69 deletions.
6 changes: 3 additions & 3 deletions action-sheet/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["ActionSheetPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "ActionSheetPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/ActionSheetPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions app-launcher/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["AppLauncherPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "AppLauncherPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/AppLauncherPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions app/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["AppPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "AppPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/AppPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions browser/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["BrowserPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "BrowserPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/BrowserPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions camera/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["CameraPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "CameraPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/CameraPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions clipboard/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["ClipboardPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "ClipboardPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/ClipboardPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions device/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["DevicePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "DevicePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/DevicePlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions dialog/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["DialogPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "DialogPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/DialogPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions filesystem/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["FilesystemPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "FilesystemPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/FilesystemPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions geolocation/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["GeolocationPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "GeolocationPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/GeolocationPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions haptics/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["HapticsPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "HapticsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/HapticsPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions keyboard/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ let package = Package(
targets: ["KeyboardPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "KeyboardPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")],
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")],
path: "ios/Sources/KeyboardPlugin",
publicHeadersPath: "include"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions local-notifications/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["LocalNotificationsPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "LocalNotificationsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/LocalNotificationsPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions network/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["CAPNetworkPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "CAPNetworkPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/NetworkPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions preferences/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["PreferencesPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "PreferencesPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/PreferencesPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions push-notifications/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["PushNotificationsPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "PushNotificationsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/PushNotificationsPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions screen-orientation/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["ScreenOrientationPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "ScreenOrientationPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/ScreenOrientationPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions screen-reader/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["ScreenReaderPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "ScreenReaderPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/ScreenReaderPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions share/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["SharePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "SharePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/SharePlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions splash-screen/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["SplashScreenPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "SplashScreenPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/SplashScreenPlugin"),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions status-bar/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ let package = Package(
targets: ["StatusBarPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "StatusBarPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")],
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")],
path: "ios/Sources/StatusBarPlugin"
),
.testTarget(
Expand Down
6 changes: 3 additions & 3 deletions text-zoom/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ let package = Package(
targets: ["TextZoomPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "TextZoomPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/TextZoomPlugin"),
.testTarget(
Expand Down

0 comments on commit b65ba06

Please sign in to comment.