chore: basic setup of v2 AI (#12864)

Co-authored-by: Hwang <hwangdev97@gmail.com>
This commit is contained in:
LakrandHwang authored and GitHub committed 2025-06-20 05:09:33 +00:00
1 parent 5a87d3d9f6
commit eb5a2ffe05
199 files changed
+3478 -8311

No files matched your search

@@ -7,29 +7,30 @@ let package = Package(
name: "Intelligents",
defaultLocalization: "en",
platforms: [
.iOS(.v15),
.macCatalyst(.v15),
.iOS(.v16),
],
products: [
.library(name: "Intelligents", targets: ["Intelligents"]),
],
dependencies: [
.package(path: "../AffineGraphQL"),
.package(path: "../MarkdownView"),
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.22.0"),
.package(url: "https://github.com/LaunchDarkly/swift-eventsource.git", from: "3.3.0"),
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "1.18.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.2.0"),
.package(url: "https://github.com/Lakr233/ChidoriMenu", from: "3.0.0"),
.package(url: "https://github.com/devxoul/Then", from: "3.0.0"),
.package(url: "https://github.com/SnapKit/SnapKit.git", from: "5.0.1"),
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "6.0.0"),
],
targets: [
.target(name: "Intelligents", dependencies: [
"AffineGraphQL",
"ChidoriMenu",
"MarkdownView",
"ChidoriMenu",
"SnapKit",
"Then",
"SwifterSwift",
.product(name: "Apollo", package: "apollo-ios"),
.product(name: "LDSwiftEventSource", package: "swift-eventsource"),
.product(name: "OrderedCollections", package: "swift-collections"),
], resources: [
.process("Resources/main.metal"),
.process("Interface/View/InputBox/InputBox.xcassets"),
]),
]
)