-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
56 lines (55 loc) · 2.84 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "ThodaCore",
platforms: [
.macOS(.v12)
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.89.0"),
.package(url: "https://github.com/vapor/fluent.git", from: "4.8.0"),
.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.7.2"),
.package(url: "https://github.com/alexsteinerde/graphql-kit.git", branch: "master"),
.package(url: "https://github.com/Mikroservices/Smtp.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/jwt.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/redis.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-crypto", from: "3.0.0"),
.package(url: "https://github.com/vapor/multipart-kit.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-atomics.git", .upToNextMajor(from: "1.2.0")),
.package(url: "https://github.com/GraphQLSwift/DataLoader", .upToNextMajor(from: "2.2.0")),
],
targets: [
.executableTarget(
name: "App",
dependencies: [
.product(name: "Fluent", package: "fluent"),
.product(name: "FluentPostgresDriver", package: "fluent-postgres-driver"),
.product(name: "Vapor", package: "vapor"),
.product(name: "GraphQLKit", package: "graphql-kit"),
.product(name: "Smtp", package: "Smtp"),
.product(name: "JWT", package: "jwt"),
.product(name: "Redis", package: "redis"),
.product(name: "Logging", package: "swift-log"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "MultipartKit", package: "multipart-kit"),
.product(name: "Leaf", package: "leaf"),
.product(name: "Atomics", package: "swift-atomics"),
.product(name: "DataLoader", package: "DataLoader"),
]
),
.testTarget(name: "AppTests", dependencies: [
.target(name: "App"),
.product(name: "XCTVapor", package: "vapor"),
.product(name: "GraphQLKit", package: "graphql-kit"),
.product(name: "Smtp", package: "Smtp"),
.product(name: "JWT", package: "jwt"),
// Workaround for https://github.com/apple/swift-package-manager/issues/6940
.product(name: "Vapor", package: "vapor"),
.product(name: "Fluent", package: "Fluent"),
.product(name: "FluentPostgresDriver", package: "fluent-postgres-driver"),
.product(name: "Redis", package: "redis")
])
]
)