Renamed the WebsiteCore target in the Website service package as WebsiteLibrary. (#14)

This PR contains the work done to rename the _Website_ service's library SwiftPM target from `WebsiteCore` to `WebsiteLibrary`, updating every reference across the manifest, source, tests, Xcode schemes, and documentations.

Reviewed-on: rock-n-code/loud-amsterdam#14
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit is contained in:
2026-07-11 09:41:21 +00:00
committed by javier
parent dc6b22e648
commit a0f5c79434
16 changed files with 31 additions and 26 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import NIOCore
import Testing
@testable import Website
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("App executable")
struct AppTests {
@@ -1,7 +1,7 @@
import Foundation
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("StaticFile enumeration")
struct StaticFileTests {
@@ -2,7 +2,7 @@ import Elementary
import Foundation
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("ErrorPage page")
struct ErrorPageTests {
@@ -2,7 +2,7 @@ import Elementary
import Foundation
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("IndexPage page")
struct IndexPageTests {
@@ -5,7 +5,7 @@ import NIOCore
import Persistence
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("HealthController controller")
struct HealthControllerTests {
@@ -3,7 +3,7 @@ import HummingbirdTesting
import NIOCore
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("RootController controller")
struct RootControllerTests {
@@ -4,7 +4,7 @@ import HummingbirdTesting
import NIOCore
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("LocalizationMiddleware middleware")
struct LocalizationMiddlewareTests {
@@ -3,7 +3,7 @@ import HummingbirdTesting
import NIOCore
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("NotFoundMiddleware middleware")
struct NotFoundMiddlewareTests {
@@ -2,7 +2,7 @@ import Hummingbird
import HummingbirdTesting
import Testing
@testable import WebsiteCore
@testable import WebsiteLibrary
@Suite("SecurityHeadersMiddleware middleware")
struct SecurityHeadersMiddlewareTests {
+37
View File
@@ -0,0 +1,37 @@
{
"configurations" : [
{
"id" : "F3231E68-357B-4ED7-98E9-F5767AB17024",
"name" : "Test Scheme Action",
"options" : {
}
}
],
"defaultOptions" : {
"performanceAntipatternCheckerEnabled" : true,
"targetForVariableExpansion" : {
"containerPath" : "container:",
"identifier" : "Website",
"name" : "Website"
},
"testInteropMode" : "complete"
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:",
"identifier" : "WebsiteTests",
"name" : "WebsiteTests"
}
},
{
"target" : {
"containerPath" : "container:",
"identifier" : "WebsiteLibraryTests",
"name" : "WebsiteLibraryTests"
}
}
],
"version" : 1
}