// swift-tools-version:5.2

import PackageDescription

let package = Package(
    name: "website publisher",
    products: [
        .executable(name: "WebsitePublisher", targets: ["WebsitePublisher"]),
    ],
    dependencies: [
        .package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
    ],
    targets: [
        .target(
            name: "WebsitePublisher",
            dependencies: ["Publish"]),
    ]
)

// swift-tools-version:5.2

import PackageDescription

let package = Package(
    name: "website publisher",
    products: [
        .executable(name: "WebsitePublisher", targets: ["WebsitePublisher"]),
    ],
    dependencies: [
        .package(url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
    ],
    targets: [
        .target(
            name: "WebsitePublisher",
            dependencies: ["Publish"]),
    ]
)

--- 
+++ 
@@ -8,7 +8,7 @@
         .executable(name: "WebsitePublisher", targets: ["WebsitePublisher"]),
     ],
     dependencies: [
-        .package(url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
+        .package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.1.0"),
     ],
     targets: [
         .target(
Make Publish dependency name explicit