Skip to content

Commit

Permalink
chore: Update Package.swift for Cap6 release (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
markemer committed Mar 1, 2024
1 parent 17afbe3 commit 3d8bab2
Show file tree
Hide file tree
Showing 75 changed files with 137 additions and 434 deletions.
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.

10 changes: 5 additions & 5 deletions app/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
import PackageDescription

let package = Package(
name: "CapacitorAppPlugin",
name: "CapacitorApp",
platforms: [.iOS(.v13)],
products: [
.library(
name: "AppPlugin",
name: "CapacitorApp",
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
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"scripts": {
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
"verify:ios": "xcodebuild build -scheme CapacitorAppPlugin -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
"verify:ios": "xcodebuild build -scheme CapacitorApp -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
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.

0 comments on commit 3d8bab2

Please sign in to comment.