Files
letro-ios/compound-ios/Package.swift
renovate[bot] dd559c3987 Update dependency element-hq/compound-design-tokens to v10.1.1 (#5526)
* Update dependency element-hq/compound-design-tokens to v10.1.1

* Fix Compound workflow.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2026-05-01 23:52:06 +01:00

45 lines
1.5 KiB
Swift

// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "Compound",
platforms: [.iOS(.v17)],
products: [
.library(name: "Compound", targets: ["Compound"])
],
dependencies: [
.package(url: "https://github.com/element-hq/compound-design-tokens", exact: "10.1.1"),
// .package(path: "../compound-design-tokens"),
.package(url: "https://github.com/siteline/SwiftUI-Introspect", from: "26.0.1"),
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", from: "7.0.0"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", exact: "1.19.2")
],
targets: [
.target(
name: "Compound",
dependencies: [
.product(name: "CompoundDesignTokens", package: "compound-design-tokens"),
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
.product(name: "SFSafeSymbols", package: "SFSafeSymbols")
],
swiftSettings: [
.defaultIsolation(MainActor.self)
]
),
.testTarget(
name: "CompoundTests",
dependencies: [
"Compound",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
],
exclude: [
"__Snapshots__"
],
swiftSettings: [
.defaultIsolation(MainActor.self)
]
)
]
)