2023-09-15 12:46:15 +02:00
|
|
|
// 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",
|
2023-01-19 18:14:08 +01:00
|
|
|
defaultLocalization: "en",
|
2022-12-18 20:30:19 +01:00
|
|
|
platforms: [
|
2023-09-18 07:01:23 +02:00
|
|
|
.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"),
|
2023-03-11 07:21:16 +01:00
|
|
|
.package(url: "https://github.com/kean/Nuke", from: "12.0.0"),
|
2023-12-17 07:28:18 +01:00
|
|
|
.package(url: "https://github.com/divadretlaw/EmojiText", from: "3.2.0"),
|
2023-01-12 06:58:04 +01:00
|
|
|
],
|
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"),
|
2023-01-12 06:58:04 +01:00
|
|
|
.product(name: "Nuke", package: "Nuke"),
|
2023-01-17 11:36:01 +01:00
|
|
|
.product(name: "EmojiText", package: "EmojiText"),
|
2023-09-15 12:46:15 +02:00
|
|
|
],
|
|
|
|
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
|
|
|
]
|
|
|
|
)
|