Skip to content

fix: Update to Vapor 4.91.1 and related dependencies #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 35 additions & 26 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 21 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ let package = Package(
.watchOS(.v6)
],
products: [
.library(name: "ParseServerSwift", targets: ["ParseServerSwift"])
.library(
name: "ParseServerSwift",
targets: ["ParseServerSwift"]
)
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "4.84.6")),
.package(url: "https://github.com/netreconlab/Parse-Swift.git",
.upToNextMajor(from: "5.8.2"))
.package(
url: "https://github.com/vapor/vapor.git",
.upToNextMajor(from: "4.91.1")
),
.package(
url: "https://github.com/netreconlab/Parse-Swift.git",
.upToNextMajor(from: "5.8.2")
)
],
targets: [
.target(
Expand All @@ -27,14 +35,15 @@ let package = Package(
.product(name: "Vapor", package: "vapor"),
.product(name: "ParseSwift", package: "Parse-Swift")
]),
.executableTarget(name: "App",
dependencies: [.target(name: "ParseServerSwift")],
swiftSettings: [
// Enable better optimizations when building in Release configuration. Despite the use of
// the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
// builds. See <https://github.com/swift-server/guides/blob/main/docs/building.md#building-for-production> for details.
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
]),
.executableTarget(
name: "App",
dependencies: [.target(name: "ParseServerSwift")],
swiftSettings: [
// Enable better optimizations when building in Release configuration. Despite the use of
// the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
// builds. See <https://github.com/swift-server/guides/blob/main/docs/building.md#building-for-production> for details.
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
]),
.testTarget(name: "ParseServerSwiftTests", dependencies: [
.target(name: "ParseServerSwift"),
.product(name: "XCTVapor", package: "vapor")
Expand Down