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),
|
2023-12-19 08:51:20 +00:00
|
|
|
.visionOS(.v1),
|
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"),
|
2024-06-24 14:01:20 +00:00
|
|
|
.package(url: "https://github.com/kean/Nuke", exact: "12.7.3"),
|
|
|
|
.package(url: "https://github.com/divadretlaw/EmojiText", exact: "4.0.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 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
|
|
|
]
|
|
|
|
)
|