2023-09-15 10:46:15 +00:00
|
|
|
// swift-tools-version: 5.9
|
2022-12-18 19:30:19 +00: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 17:14:08 +00:00
|
|
|
defaultLocalization: "en",
|
2022-12-18 19:30:19 +00:00
|
|
|
platforms: [
|
2023-09-18 05:01:23 +00:00
|
|
|
.iOS(.v17),
|
2022-12-18 19:30:19 +00:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "DesignSystem",
|
2023-01-17 10:36:01 +00:00
|
|
|
targets: ["DesignSystem"]
|
|
|
|
),
|
2022-12-18 19:30:19 +00:00
|
|
|
],
|
2022-12-23 09:46:20 +00:00
|
|
|
dependencies: [
|
|
|
|
.package(name: "Models", path: "../Models"),
|
|
|
|
.package(name: "Env", path: "../Env"),
|
2022-12-25 06:43:02 +00:00
|
|
|
.package(url: "https://github.com/markiv/SwiftUI-Shimmer", exact: "1.1.0"),
|
2023-03-11 06:21:16 +00:00
|
|
|
.package(url: "https://github.com/kean/Nuke", from: "12.0.0"),
|
|
|
|
.package(url: "https://github.com/divadretlaw/EmojiText", from: "2.6.0"),
|
2023-01-12 05:58:04 +00:00
|
|
|
],
|
2022-12-18 19:30:19 +00:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "DesignSystem",
|
2022-12-23 09:46:20 +00:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "Models", package: "Models"),
|
|
|
|
.product(name: "Env", package: "Env"),
|
2022-12-25 06:43:02 +00:00
|
|
|
.product(name: "Shimmer", package: "SwiftUI-Shimmer"),
|
2022-12-25 12:11:51 +00:00
|
|
|
.product(name: "NukeUI", package: "Nuke"),
|
2023-01-12 05:58:04 +00:00
|
|
|
.product(name: "Nuke", package: "Nuke"),
|
2023-01-17 10:36:01 +00:00
|
|
|
.product(name: "EmojiText", package: "EmojiText"),
|
2023-09-15 10:46:15 +00:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 12:15:03 +00:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-01-17 10:36:01 +00:00
|
|
|
]
|
|
|
|
),
|
2022-12-18 19:30:19 +00:00
|
|
|
]
|
|
|
|
)
|