From b20f19872c3c1153d5236bd6e824c9faf8632ef6 Mon Sep 17 00:00:00 2001 From: Dan Federman Date: Sun, 26 Nov 2023 12:50:44 -0800 Subject: [PATCH] Make dependencies explicit --- Package.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 9ada335f..c35c2af0 100644 --- a/Package.swift +++ b/Package.swift @@ -31,8 +31,11 @@ let package = Package( name: "SafeDIMacros", dependencies: [ "SafeDICore", + .product(name: "SwiftCompilerPlugin", package: "swift-syntax"), + .product(name: "SwiftDiagnostics", package: "swift-syntax"), + .product(name: "SwiftSyntax", package: "swift-syntax"), + .product(name: "SwiftSyntaxBuilder", package: "swift-syntax"), .product(name: "SwiftSyntaxMacros", package: "swift-syntax"), - .product(name: "SwiftCompilerPlugin", package: "swift-syntax") ] ), .testTarget( @@ -47,9 +50,9 @@ let package = Package( .target( name: "SafeDICore", dependencies: [ + .product(name: "SwiftDiagnostics", package: "swift-syntax"), .product(name: "SwiftSyntax", package: "swift-syntax"), .product(name: "SwiftSyntaxBuilder", package: "swift-syntax"), - .product(name: "SwiftSyntaxMacros", package: "swift-syntax"), ] ), .testTarget(