mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated dependency management to require an exact version of a library, ensuring consistent behavior across builds. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
44 lines
1.5 KiB
Swift
44 lines
1.5 KiB
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Intelligents",
|
|
defaultLocalization: "en",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
],
|
|
products: [
|
|
.library(name: "Intelligents", type: .dynamic, targets: ["Intelligents"]),
|
|
],
|
|
dependencies: [
|
|
.package(path: "../AffineGraphQL"),
|
|
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.22.0"),
|
|
.package(url: "https://github.com/apple/swift-collections", from: "1.2.0"),
|
|
.package(url: "https://github.com/devxoul/Then", from: "3.0.0"),
|
|
.package(url: "https://github.com/SnapKit/SnapKit.git", from: "5.7.1"),
|
|
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "6.0.0"),
|
|
.package(url: "https://github.com/Recouse/EventSource", from: "0.1.4"),
|
|
.package(url: "https://github.com/Lakr233/ListViewKit", from: "1.1.6"),
|
|
.package(url: "https://github.com/Lakr233/MarkdownView", exact: "2.3.8"),
|
|
],
|
|
targets: [
|
|
.target(name: "Intelligents", dependencies: [
|
|
"AffineGraphQL",
|
|
"SnapKit",
|
|
"Then",
|
|
"SwifterSwift",
|
|
.product(name: "Apollo", package: "apollo-ios"),
|
|
.product(name: "OrderedCollections", package: "swift-collections"),
|
|
|
|
"ListViewKit",
|
|
"MarkdownView",
|
|
"EventSource",
|
|
], resources: [
|
|
.process("Interface/View/InputBox/InputBox.xcassets"),
|
|
.process("Interface/Controller/AttachmentManagementController/AttachmentIcon.xcassets"),
|
|
]),
|
|
]
|
|
)
|