Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Package.swift for Cap6 release #2041

Merged
merged 15 commits into from
Mar 1, 2024
Merged
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
.DS_Store
package-lock.json
Podfile.lock
.env
Package.resolved
.env
1 change: 1 addition & 0 deletions action-sheet/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions action-sheet/Package.resolved

This file was deleted.

10 changes: 5 additions & 5 deletions action-sheet/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "ActionSheetPlugin",
name: "CapacitorActionSheet",
targets: ["ActionSheetPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "ActionSheetPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/ActionSheetPlugin"),
.testTarget(
name: "ActionSheetPluginTests",
dependencies: ["ActionSheetPlugin"],
path: "ios/Tests/ActionSheetPluginTests")
]
)
)
1 change: 1 addition & 0 deletions app-launcher/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions app-launcher/Package.resolved

This file was deleted.

10 changes: 5 additions & 5 deletions app-launcher/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "AppLauncherPlugin",
name: "CapacitorAppLauncher",
targets: ["AppLauncherPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "AppLauncherPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/AppLauncherPlugin"),
.testTarget(
name: "AppLauncherPluginTests",
dependencies: ["AppLauncherPlugin"],
path: "ios/Tests/AppLauncherPluginTests")
]
)
)
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions app/Package.resolved

This file was deleted.

8 changes: 4 additions & 4 deletions app/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "AppPlugin",
name: "CapacitorAppPlugin",
targets: ["AppPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "AppPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/AppPlugin"),
.testTarget(
Expand Down
1 change: 1 addition & 0 deletions browser/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions browser/Package.resolved

This file was deleted.

10 changes: 5 additions & 5 deletions browser/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "BrowserPlugin",
name: "CapacitorBrowser",
targets: ["BrowserPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "BrowserPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/BrowserPlugin"),
.testTarget(
name: "BrowserPluginTests",
dependencies: ["BrowserPlugin"],
path: "ios/Tests/BrowserPluginTests")
]
)
)
1 change: 1 addition & 0 deletions camera/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions camera/Package.resolved

This file was deleted.

8 changes: 4 additions & 4 deletions camera/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "CameraPlugin",
name: "CapacitorCamera",
targets: ["CameraPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "CameraPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/CameraPlugin"),
.testTarget(
Expand Down
1 change: 1 addition & 0 deletions clipboard/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions clipboard/Package.resolved

This file was deleted.

8 changes: 4 additions & 4 deletions clipboard/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "ClipboardPlugin",
name: "CapacitorClipboard",
targets: ["ClipboardPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "ClipboardPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/ClipboardPlugin"),
.testTarget(
Expand Down
1 change: 1 addition & 0 deletions device/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions device/Package.resolved

This file was deleted.

8 changes: 4 additions & 4 deletions device/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "DevicePlugin",
name: "CapacitorDevice",
targets: ["DevicePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "DevicePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/DevicePlugin"),
.testTarget(
Expand Down
1 change: 1 addition & 0 deletions dialog/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# iOS files
Pods
Podfile.lock
Package.resolved
Build
xcuserdata
/.build
Expand Down
14 changes: 0 additions & 14 deletions dialog/Package.resolved

This file was deleted.

8 changes: 4 additions & 4 deletions dialog/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ let package = Package(
platforms: [.iOS(.v13)],
products: [
.library(
name: "DialogPlugin",
name: "CapacitorDialog",
targets: ["DialogPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "DialogPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor6-spm-test"),
.product(name: "Cordova", package: "capacitor6-spm-test")
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/DialogPlugin"),
.testTarget(
Expand Down
Loading
Loading