Added the Utility package (#29)

This PR contains the work done to create the new **Utility** package within the project, and also included in it the `NormalizeEmail` method, as it's not something that belongs to the **Infrastructure** package.

Reviewed-on: rock-n-code/loud-amsterdam#29
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
This commit is contained in:
2026-08-01 11:15:27 +00:00
committed by javier
parent efc933d5d0
commit 5f4316b85b
8 changed files with 193 additions and 6 deletions
+7 -3
View File
@@ -20,6 +20,9 @@ let package = Package(
)
],
dependencies: [
.package(
path: "../../Packages/Infrastructure"
),
.package(
path: "../../Packages/Localization"
),
@@ -27,7 +30,7 @@ let package = Package(
path: "../../Packages/Persistence"
),
.package(
path: "../../Packages/Infrastructure"
path: "../../Packages/Utility"
),
.package(
url: "https://github.com/elementary-swift/elementary.git",
@@ -79,9 +82,10 @@ let package = Package(
.target(
name: "WebsiteLibrary",
dependencies: [
.byName(name: "Infrastructure"),
.byName(name: "Localization"),
.byName(name: "Persistence"),
.byName(name: "Infrastructure"),
.byName(name: "Utility"),
.product(
name: "Configuration",
package: "swift-configuration"
@@ -121,8 +125,8 @@ let package = Package(
.testTarget(
name: "WebsiteLibraryTests",
dependencies: [
.byName(name: "Persistence"),
.byName(name: "Infrastructure"),
.byName(name: "Persistence"),
.byName(name: "WebsiteLibrary"),
.product(
name: "Elementary",