IceCubes/Packages/DesignSystem/Package.swift

42 lines
1.2 KiB
Swift
Raw Normal View History

// swift-tools-version: 5.9
2022-12-18 20:30:19 +01:00
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "DesignSystem",
defaultLocalization: "en",
2022-12-18 20:30:19 +01:00
platforms: [
.iOS(.v17),
2022-12-18 20:30:19 +01:00
],
products: [
.library(
name: "DesignSystem",
2023-01-17 11:36:01 +01:00
targets: ["DesignSystem"]
),
2022-12-18 20:30:19 +01:00
],
2022-12-23 10:46:20 +01:00
dependencies: [
.package(name: "Models", path: "../Models"),
.package(name: "Env", path: "../Env"),
2022-12-25 07:43:02 +01:00
.package(url: "https://github.com/markiv/SwiftUI-Shimmer", exact: "1.1.0"),
.package(url: "https://github.com/kean/Nuke", from: "12.0.0"),
.package(url: "https://github.com/divadretlaw/EmojiText", from: "2.6.0"),
],
2022-12-18 20:30:19 +01:00
targets: [
.target(
name: "DesignSystem",
2022-12-23 10:46:20 +01:00
dependencies: [
.product(name: "Models", package: "Models"),
.product(name: "Env", package: "Env"),
2022-12-25 07:43:02 +01:00
.product(name: "Shimmer", package: "SwiftUI-Shimmer"),
2022-12-25 13:11:51 +01:00
.product(name: "NukeUI", package: "Nuke"),
.product(name: "Nuke", package: "Nuke"),
2023-01-17 11:36:01 +01:00
.product(name: "EmojiText", package: "EmojiText"),
],
swiftSettings: [
2023-09-16 14:15:03 +02:00
.enableExperimentalFeature("StrictConcurrency"),
2023-01-17 11:36:01 +01:00
]
),
2022-12-18 20:30:19 +01:00
]
)