// swift-tools-version:5.3

import PackageDescription

let package = Package(
    name: "EurofurenceComponents",
    products: [
        .library(
            name: "EurofurenceComponents",
            targets: ["EurofurenceComponents"]
        )
    ],
    dependencies: [
        
    ],
    targets: [
        .target(name: "EurofurenceComponentBase", dependencies: []),
        .testTarget(name: "EurofurenceComponentBaseTests", dependencies: [
            .target(name: "EurofurenceComponentBase")
        ]),
        
        .target(name: "EurofurenceComponents", dependencies: [
            .target(name: "EurofurenceComponentBase")
        ]),
        
        .testTarget(name: "EurofurenceComponentsTests", dependencies: [
            .target(name: "EurofurenceComponents")
        ]),
    ]
)

// swift-tools-version:5.3

import PackageDescription

let package = Package(
    name: "EurofurenceComponents",
    products: [
        .library(
            name: "EurofurenceComponents",
            targets: ["EurofurenceComponents"]
        )
    ],
    dependencies: [
        
    ],
    targets: [
        .target(
            name: "EurofurenceComponents",
            dependencies: []
        ),
        .testTarget(
            name: "EurofurenceComponentsTests",
            dependencies: ["EurofurenceComponents"]
        )
    ]
)

--- 
+++ 
@@ -14,13 +14,17 @@
         
     ],
     targets: [
-        .target(
-            name: "EurofurenceComponents",
-            dependencies: []
-        ),
-        .testTarget(
-            name: "EurofurenceComponentsTests",
-            dependencies: ["EurofurenceComponents"]
-        )
+        .target(name: "EurofurenceComponentBase", dependencies: []),
+        .testTarget(name: "EurofurenceComponentBaseTests", dependencies: [
+            .target(name: "EurofurenceComponentBase")
+        ]),
+        
+        .target(name: "EurofurenceComponents", dependencies: [
+            .target(name: "EurofurenceComponentBase")
+        ]),
+        
+        .testTarget(name: "EurofurenceComponentsTests", dependencies: [
+            .target(name: "EurofurenceComponents")
+        ]),
     ]
 )
Define base target for components
