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),
|
2023-12-19 09:51:20 +01:00
|
|
|
.visionOS(.v1),
|
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"),
|
2024-07-31 18:44:29 +02:00
|
|
|
.package(url: "https://github.com/kean/Nuke", exact: "12.8.0"),
|
2024-06-24 16:01:20 +02:00
|
|
|
.package(url: "https://github.com/divadretlaw/EmojiText", exact: "4.0.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 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
|
|
|
]
|
|
|
|
)
|