// swift-tools-version:5.2

import PackageDescription

let package = Package(
    name: "SteamPressExample",
    products: [
        .library(name: "App", targets: ["App"]),
        .executable(name: "Run", targets: ["Run"])
    ],
    dependencies: [
        .package(name: "Leaf", url: "https://github.com/vapor/leaf.git", from: "3.0.0"),
        .package(name: "LeafErrorMiddleware", url: "https://github.com/brokenhandsio/leaf-error-middleware.git", from: "1.2.0"),
        .package(url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", from: "2.0.0"),
        .package(name: "SteampressFluentPostgres", url: "https://github.com/brokenhandsio/steampress-fluent-postgres.git", from: "1.0.0"),
        .package(name: "LeafMarkdown", url: "https://github.com/vapor-community/leaf-markdown.git", from: "2.0.0")
    ],
    targets: [
        .target(name: "App",
            dependencies: [
                "Leaf",
                "LeafErrorMiddleware",
                "VaporSecurityHeaders",
                "SteampressFluentPostgres",
                "LeafMarkdown"]),
        .testTarget(name: "AppTests", dependencies: ["App"]),
        .target(name: "Run", dependencies: ["App"])
    ]
)

// swift-tools-version:5.1

import PackageDescription

let package = Package(
    name: "SteamPressExample",
    products: [
        .library(name: "App", targets: ["App"]),
        .executable(name: "Run", targets: ["Run"])
    ],
    dependencies: [
        .package(url: "https://github.com/vapor/leaf.git", .upToNextMajor(from: "3.0.0")),
        .package(url: "https://github.com/brokenhandsio/leaf-error-middleware.git", .upToNextMajor(from: "1.2.0")),
        .package(url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", .upToNextMajor(from: "2.0.0")),
        .package(url: "https://github.com/brokenhandsio/steampress-fluent-postgres.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/vapor-community/leaf-markdown.git", .upToNextMajor(from: "2.0.0"))
    ],
    targets: [
        .target(name: "App",
            dependencies: [
                "Leaf",
                "LeafErrorMiddleware",
                "VaporSecurityHeaders",
                "SteampressFluentPostgres",
                "LeafMarkdown"]),
        .testTarget(name: "AppTests", dependencies: ["App"]),
        .target(name: "Run", dependencies: ["App"])
    ]
)

--- 
+++ 
@@ -1,4 +1,4 @@
-// swift-tools-version:5.1
+// swift-tools-version:5.2
 
 import PackageDescription
 
@@ -9,11 +9,11 @@
         .executable(name: "Run", targets: ["Run"])
     ],
     dependencies: [
-        .package(url: "https://github.com/vapor/leaf.git", .upToNextMajor(from: "3.0.0")),
-        .package(url: "https://github.com/brokenhandsio/leaf-error-middleware.git", .upToNextMajor(from: "1.2.0")),
-        .package(url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", .upToNextMajor(from: "2.0.0")),
-        .package(url: "https://github.com/brokenhandsio/steampress-fluent-postgres.git", .upToNextMajor(from: "1.0.0")),
-        .package(url: "https://github.com/vapor-community/leaf-markdown.git", .upToNextMajor(from: "2.0.0"))
+        .package(name: "Leaf", url: "https://github.com/vapor/leaf.git", from: "3.0.0"),
+        .package(name: "LeafErrorMiddleware", url: "https://github.com/brokenhandsio/leaf-error-middleware.git", from: "1.2.0"),
+        .package(url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", from: "2.0.0"),
+        .package(name: "SteampressFluentPostgres", url: "https://github.com/brokenhandsio/steampress-fluent-postgres.git", from: "1.0.0"),
+        .package(name: "LeafMarkdown", url: "https://github.com/vapor-community/leaf-markdown.git", from: "2.0.0")
     ],
     targets: [
         .target(name: "App",
Update manifest to Swift 5.2
