diff --git a/Package.resolved b/Package.resolved index 158163a..be88ebf 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/swift-server/async-http-client.git", "state": { "branch": null, - "revision": "7a4dfe026f6ee0f8ad741b58df74c60af296365d", - "version": "1.9.0" + "revision": "78db67e5bf4a8543075787f228e8920097319281", + "version": "1.18.0" } }, { @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/vapor/async-kit.git", "state": { "branch": null, - "revision": "e2f741640364c1d271405da637029ea6a33f754e", - "version": "1.11.1" + "revision": "a61da00d404ec91d12766f1b9aac7d90777b484d", + "version": "1.17.0" } }, { @@ -24,16 +24,16 @@ "repositoryURL": "https://github.com/vapor/console-kit.git", "state": { "branch": null, - "revision": "75ea3b627d88221440b878e5dfccc73fd06842ed", - "version": "4.2.7" + "revision": "447f1046fb4e9df40973fe426ecb24a6f0e8d3b4", + "version": "4.6.0" } }, { "package": "feather-core", - "repositoryURL": "https://github.com/feathercms/feather-core", + "repositoryURL": "https://github.com/Rando-Coderissian/feather-core", "state": { - "branch": "dev", - "revision": "752952ac420c0dc9fa11bd07f193b1855ff66094", + "branch": "test-refactored-modules", + "revision": "7a352c919180a9c6f05bc05f1ba86936d8d11e56", "version": null } }, @@ -48,9 +48,9 @@ }, { "package": "feather-objects", - "repositoryURL": "https://github.com/feathercms/feather-objects", + "repositoryURL": "https://github.com/Rando-Coderissian/feather-objects", "state": { - "branch": "main", + "branch": "test-refactor-modules", "revision": "169386ce3bf664fa768186467e4aec1caaee0fcf", "version": null } @@ -60,8 +60,8 @@ "repositoryURL": "https://github.com/vapor/fluent", "state": { "branch": null, - "revision": "ea707ee318066a073c95b2b2df1aa640fcb67f9e", - "version": "4.4.0" + "revision": "4b4d8bf15a06fd60137e9c543e5503c4b842654e", + "version": "4.8.0" } }, { @@ -69,8 +69,8 @@ "repositoryURL": "https://github.com/vapor/fluent-kit.git", "state": { "branch": null, - "revision": "19da0d91d0fa9a0cf93958d67823c0e94ef666f1", - "version": "1.23.0" + "revision": "e53acf986e32c54fe522b2c12f737baa01828c1c", + "version": "1.42.2" } }, { @@ -114,8 +114,8 @@ "repositoryURL": "https://github.com/vapor/multipart-kit.git", "state": { "branch": null, - "revision": "2dd9368a3c9580792b77c7ef364f3735909d9996", - "version": "4.5.1" + "revision": "1adfd69df2da08f7931d4281b257475e32c96734", + "version": "4.5.4" } }, { @@ -123,8 +123,8 @@ "repositoryURL": "https://github.com/vapor/routing-kit.git", "state": { "branch": null, - "revision": "5603b81ceb744b8318feab1e60943704977a866b", - "version": "4.3.1" + "revision": "611bc45c5dfb1f54b84d99b89d1f72191fb6b71b", + "version": "4.7.2" } }, { @@ -132,8 +132,26 @@ "repositoryURL": "https://github.com/vapor/sql-kit.git", "state": { "branch": null, - "revision": "9cc30f8cef132e91a07e36005612b37f918731fc", - "version": "3.16.0" + "revision": "5026e7c0f2e464ea1af9f5948701aa8922ab14eb", + "version": "3.27.0" + } + }, + { + "package": "swift-algorithms", + "repositoryURL": "https://github.com/apple/swift-algorithms.git", + "state": { + "branch": null, + "revision": "b14b7f4c528c942f121c8b860b9410b2bf57825e", + "version": "1.0.0" + } + }, + { + "package": "swift-atomics", + "repositoryURL": "https://github.com/apple/swift-atomics.git", + "state": { + "branch": null, + "revision": "6c89474e62719ddcc1e9614989fff2f68208fe10", + "version": "1.1.0" } }, { @@ -141,8 +159,17 @@ "repositoryURL": "https://github.com/swift-server/swift-backtrace.git", "state": { "branch": null, - "revision": "d3e04a9d4b3833363fb6192065b763310b156d54", - "version": "1.3.1" + "revision": "f25620d5d05e2f1ba27154b40cafea2b67566956", + "version": "1.3.3" + } + }, + { + "package": "swift-collections", + "repositoryURL": "https://github.com/apple/swift-collections.git", + "state": { + "branch": null, + "revision": "937e904258d22af6e447a0b72c0bc67583ef64a2", + "version": "1.0.4" } }, { @@ -150,8 +177,8 @@ "repositoryURL": "https://github.com/apple/swift-crypto.git", "state": { "branch": null, - "revision": "a8911e0fadc25aef1071d582355bd1037a176060", - "version": "2.0.4" + "revision": "33a20e650c33f6d72d822d558333f2085effa3dc", + "version": "2.5.0" } }, { @@ -159,8 +186,8 @@ "repositoryURL": "https://github.com/binarybirds/swift-html", "state": { "branch": null, - "revision": "e07678a77d296e66fa891a9d4d08acc4471d1783", - "version": "1.6.11" + "revision": "f4fa5bc83fbee8dbd301c6fbb3969437415adad0", + "version": "1.7.0" } }, { @@ -168,8 +195,8 @@ "repositoryURL": "https://github.com/apple/swift-log.git", "state": { "branch": null, - "revision": "5d66f7ba25daf4f94100e7022febf3c75e37a6c7", - "version": "1.4.2" + "revision": "32e8d724467f8fe623624570367e3d50c5638e46", + "version": "1.5.2" } }, { @@ -177,8 +204,8 @@ "repositoryURL": "https://github.com/apple/swift-metrics.git", "state": { "branch": null, - "revision": "eadb828f878fed144387e3845866225bb7082c56", - "version": "2.3.0" + "revision": "e8bced74bc6d747745935e469f45d03f048d6cbd", + "version": "2.3.4" } }, { @@ -186,8 +213,8 @@ "repositoryURL": "https://github.com/apple/swift-nio.git", "state": { "branch": null, - "revision": "154f1d32366449dcccf6375a173adf4ed2a74429", - "version": "2.38.0" + "revision": "2d8e6ca36fe3e8ed74b0883f593757a45463c34d", + "version": "2.53.0" } }, { @@ -195,8 +222,8 @@ "repositoryURL": "https://github.com/apple/swift-nio-extras.git", "state": { "branch": null, - "revision": "f73ca5ee9c6806800243f1ac415fcf82de9a4c91", - "version": "1.10.2" + "revision": "0e0d0aab665ff1a0659ce75ac003081f2b1c8997", + "version": "1.19.0" } }, { @@ -204,8 +231,8 @@ "repositoryURL": "https://github.com/apple/swift-nio-http2.git", "state": { "branch": null, - "revision": "ac2a5afce3dbb6795b4f78ec3f19726dc28f5617", - "version": "1.20.0" + "revision": "6d021a48483dbb273a9be43f65234bdc9185b364", + "version": "1.26.0" } }, { @@ -213,8 +240,8 @@ "repositoryURL": "https://github.com/apple/swift-nio-ssl.git", "state": { "branch": null, - "revision": "52a486ff6de9bc3e26bf634c5413c41c5fa89ca5", - "version": "2.17.2" + "revision": "e866a626e105042a6a72a870c88b4c531ba05f83", + "version": "2.24.0" } }, { @@ -222,8 +249,17 @@ "repositoryURL": "https://github.com/apple/swift-nio-transport-services.git", "state": { "branch": null, - "revision": "8ab824b140d0ebcd87e9149266ddc353e3705a3e", - "version": "1.11.4" + "revision": "41f4098903878418537020075a4d8a6e20a0b182", + "version": "1.17.0" + } + }, + { + "package": "swift-numerics", + "repositoryURL": "https://github.com/apple/swift-numerics", + "state": { + "branch": null, + "revision": "0a5bc04095a675662cf24757cc0640aa2204253b", + "version": "1.0.2" } }, { @@ -231,16 +267,16 @@ "repositoryURL": "https://github.com/vapor/vapor", "state": { "branch": null, - "revision": "5861bf9e2cff2c4cb0dcfb0c15ecfaa8bc5630e0", - "version": "4.55.3" + "revision": "8b79ff0bd264a33bd0b7471dcf50dd1be983f992", + "version": "4.76.3" } }, { "package": "web-objects", - "repositoryURL": "https://github.com/feathercms/web-objects", + "repositoryURL": "https://github.com/Rando-Coderissian/web-objects", "state": { - "branch": "main", - "revision": "fef5a6fef17c4b0037405adff199afa47a0389dd", + "branch": "test-refactor-modules", + "revision": "4066d2e8a63b6f7b9f5a364d0c46a88deeb4ab21", "version": null } }, @@ -249,8 +285,8 @@ "repositoryURL": "https://github.com/vapor/websocket-kit.git", "state": { "branch": null, - "revision": "ff8fbce837ef01a93d49c6fb49a72be0f150dac7", - "version": "2.3.0" + "revision": "2ec14506d5f8199926906dc5a620ac22b147db86", + "version": "2.13.0" } } ] diff --git a/Package.swift b/Package.swift index b0751f2..a715fe9 100644 --- a/Package.swift +++ b/Package.swift @@ -10,12 +10,12 @@ let package = Package( .library(name: "WebModule", targets: ["WebModule"]), ], dependencies: [ - .package(url: "https://github.com/feathercms/feather-core", .branch("dev")), - .package(url: "https://github.com/feathercms/web-objects", .branch("main")), + .package(url: "https://github.com/feathercms/feather-core", .branch("dev")), + .package(url: "https://github.com/feathercms/web-objects", .branch("main")), ], targets: [ .target(name: "WebModule", dependencies: [ - .product(name: "Feather", package: "feather-core"), + .product(name: "FeatherCore", package: "feather-core"), .product(name: "WebObjects", package: "web-objects"), ], resources: [ diff --git a/Sources/WebModule/Api/WebModuleKit.swift b/Sources/WebModule/Api/WebModuleKit.swift index ce6d1e0..5b9a310 100644 --- a/Sources/WebModule/Api/WebModuleKit.swift +++ b/Sources/WebModule/Api/WebModuleKit.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore public extension HookName { static let installWebPages: HookName = "install-web-pages" diff --git a/Sources/WebModule/Controllers/Admin/WebMenuAdminController.swift b/Sources/WebModule/Controllers/Admin/WebMenuAdminController.swift index 4c97126..272c4ac 100644 --- a/Sources/WebModule/Controllers/Admin/WebMenuAdminController.swift +++ b/Sources/WebModule/Controllers/Admin/WebMenuAdminController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/Admin/WebMenuItemAdminController.swift b/Sources/WebModule/Controllers/Admin/WebMenuItemAdminController.swift index b200a7e..d94dd60 100644 --- a/Sources/WebModule/Controllers/Admin/WebMenuItemAdminController.swift +++ b/Sources/WebModule/Controllers/Admin/WebMenuItemAdminController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/Admin/WebPageAdminController.swift b/Sources/WebModule/Controllers/Admin/WebPageAdminController.swift index 2f21d93..ce04fd9 100644 --- a/Sources/WebModule/Controllers/Admin/WebPageAdminController.swift +++ b/Sources/WebModule/Controllers/Admin/WebPageAdminController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/Admin/WebSettingsAdminController.swift b/Sources/WebModule/Controllers/Admin/WebSettingsAdminController.swift index 2196213..e0c6f23 100644 --- a/Sources/WebModule/Controllers/Admin/WebSettingsAdminController.swift +++ b/Sources/WebModule/Controllers/Admin/WebSettingsAdminController.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore struct WebSettingsAdminController { diff --git a/Sources/WebModule/Controllers/Apis/WebMenuApiController.swift b/Sources/WebModule/Controllers/Apis/WebMenuApiController.swift index bb3a471..322200c 100644 --- a/Sources/WebModule/Controllers/Apis/WebMenuApiController.swift +++ b/Sources/WebModule/Controllers/Apis/WebMenuApiController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/Apis/WebMenuItemApiController.swift b/Sources/WebModule/Controllers/Apis/WebMenuItemApiController.swift index b646cee..30713b2 100644 --- a/Sources/WebModule/Controllers/Apis/WebMenuItemApiController.swift +++ b/Sources/WebModule/Controllers/Apis/WebMenuItemApiController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/Apis/WebPageApiController.swift b/Sources/WebModule/Controllers/Apis/WebPageApiController.swift index c510aca..ab16502 100644 --- a/Sources/WebModule/Controllers/Apis/WebPageApiController.swift +++ b/Sources/WebModule/Controllers/Apis/WebPageApiController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Controllers/WebResponseController.swift b/Sources/WebModule/Controllers/WebResponseController.swift index 010fa34..4b43af2 100644 --- a/Sources/WebModule/Controllers/WebResponseController.swift +++ b/Sources/WebModule/Controllers/WebResponseController.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent struct WebResponseController { diff --git a/Sources/WebModule/Database/Models/WebMenuItemModel.swift b/Sources/WebModule/Database/Models/WebMenuItemModel.swift index 1048c41..c9cbb44 100644 --- a/Sources/WebModule/Database/Models/WebMenuItemModel.swift +++ b/Sources/WebModule/Database/Models/WebMenuItemModel.swift @@ -7,7 +7,7 @@ import Foundation import Fluent -import Feather +import FeatherCore final class WebMenuItemModel: FeatherDatabaseModel { typealias Module = WebModule diff --git a/Sources/WebModule/Database/Models/WebMenuModel.swift b/Sources/WebModule/Database/Models/WebMenuModel.swift index c5c7686..360da2a 100644 --- a/Sources/WebModule/Database/Models/WebMenuModel.swift +++ b/Sources/WebModule/Database/Models/WebMenuModel.swift @@ -8,7 +8,7 @@ import Foundation import Vapor import Fluent -import Feather +import FeatherCore final class WebMenuModel: FeatherDatabaseModel { typealias Module = WebModule diff --git a/Sources/WebModule/Database/Models/WebPageModel.swift b/Sources/WebModule/Database/Models/WebPageModel.swift index 466c89b..0300f47 100644 --- a/Sources/WebModule/Database/Models/WebPageModel.swift +++ b/Sources/WebModule/Database/Models/WebPageModel.swift @@ -7,7 +7,7 @@ import Foundation import Fluent -import Feather +import FeatherCore import FeatherObjects final class WebPageModel: FeatherDatabaseModel { diff --git a/Sources/WebModule/Database/Repositories/WebMenuItemRepository.swift b/Sources/WebModule/Database/Repositories/WebMenuItemRepository.swift index 7e6a300..7547b31 100644 --- a/Sources/WebModule/Database/Repositories/WebMenuItemRepository.swift +++ b/Sources/WebModule/Database/Repositories/WebMenuItemRepository.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore struct WebMenuItemRepository: FeatherModelRepository { typealias DatabaseModel = WebMenuItemModel diff --git a/Sources/WebModule/Database/Repositories/WebMenuRepository.swift b/Sources/WebModule/Database/Repositories/WebMenuRepository.swift index 56e2bec..63d8a59 100644 --- a/Sources/WebModule/Database/Repositories/WebMenuRepository.swift +++ b/Sources/WebModule/Database/Repositories/WebMenuRepository.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore struct WebMenuRepository: FeatherModelRepository { typealias DatabaseModel = WebMenuModel diff --git a/Sources/WebModule/Database/Repositories/WebPageRepository.swift b/Sources/WebModule/Database/Repositories/WebPageRepository.swift index 3b709c5..bb3c924 100644 --- a/Sources/WebModule/Database/Repositories/WebPageRepository.swift +++ b/Sources/WebModule/Database/Repositories/WebPageRepository.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore struct WebPageRepository: FeatherModelRepository { typealias DatabaseModel = WebPageModel diff --git a/Sources/WebModule/Editors/WebMenuEditor.swift b/Sources/WebModule/Editors/WebMenuEditor.swift index fbbf270..a3fdd28 100644 --- a/Sources/WebModule/Editors/WebMenuEditor.swift +++ b/Sources/WebModule/Editors/WebMenuEditor.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Editors/WebMenuItemEditor.swift b/Sources/WebModule/Editors/WebMenuItemEditor.swift index cd87ff4..46cbfa2 100644 --- a/Sources/WebModule/Editors/WebMenuItemEditor.swift +++ b/Sources/WebModule/Editors/WebMenuItemEditor.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore struct WebMenuItemEditor: FeatherModelEditor { let model: WebMenuItemModel diff --git a/Sources/WebModule/Editors/WebPageEditor.swift b/Sources/WebModule/Editors/WebPageEditor.swift index d982e0f..464b0ff 100644 --- a/Sources/WebModule/Editors/WebPageEditor.swift +++ b/Sources/WebModule/Editors/WebPageEditor.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import Fluent import WebObjects diff --git a/Sources/WebModule/Forms/WebSettingsForm.swift b/Sources/WebModule/Forms/WebSettingsForm.swift index fa395f1..7baca7d 100644 --- a/Sources/WebModule/Forms/WebSettingsForm.swift +++ b/Sources/WebModule/Forms/WebSettingsForm.swift @@ -7,7 +7,7 @@ import Vapor import Liquid -import Feather +import FeatherCore final class WebSettingsForm: AbstractForm { diff --git a/Sources/WebModule/Routers/WebRouter.swift b/Sources/WebModule/Routers/WebRouter.swift index 26ead9d..94a21c8 100644 --- a/Sources/WebModule/Routers/WebRouter.swift +++ b/Sources/WebModule/Routers/WebRouter.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import FeatherObjects import WebObjects diff --git a/Sources/WebModule/Templates/Contexts/WebMenuContext.swift b/Sources/WebModule/Templates/Contexts/WebMenuContext.swift index a4a9826..4079b31 100644 --- a/Sources/WebModule/Templates/Contexts/WebMenuContext.swift +++ b/Sources/WebModule/Templates/Contexts/WebMenuContext.swift @@ -5,7 +5,7 @@ // Created by Tibor Bodecs on 2021. 11. 30.. // -import Feather +import FeatherCore public struct WebMenuContext { public let key: String diff --git a/Sources/WebModule/Templates/Contexts/WebSettingsContext.swift b/Sources/WebModule/Templates/Contexts/WebSettingsContext.swift index ac6573e..a2f358c 100644 --- a/Sources/WebModule/Templates/Contexts/WebSettingsContext.swift +++ b/Sources/WebModule/Templates/Contexts/WebSettingsContext.swift @@ -5,7 +5,7 @@ // Created by Tibor Bodecs on 2021. 12. 23.. // -import Feather +import FeatherCore public struct WebSettingsContext { diff --git a/Sources/WebModule/Templates/Html/WebAdminWidgetTemplate.swift b/Sources/WebModule/Templates/Html/WebAdminWidgetTemplate.swift index 90bf4f7..28b3743 100644 --- a/Sources/WebModule/Templates/Html/WebAdminWidgetTemplate.swift +++ b/Sources/WebModule/Templates/Html/WebAdminWidgetTemplate.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import SwiftHtml import FeatherIcons import WebObjects diff --git a/Sources/WebModule/Templates/Html/WebPageTemplate.swift b/Sources/WebModule/Templates/Html/WebPageTemplate.swift index fbe3d0a..7f97591 100644 --- a/Sources/WebModule/Templates/Html/WebPageTemplate.swift +++ b/Sources/WebModule/Templates/Html/WebPageTemplate.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import SwiftHtml final class WebPageTemplate: AbstractTemplate { diff --git a/Sources/WebModule/Templates/Html/WebSettingsPageTemplate.swift b/Sources/WebModule/Templates/Html/WebSettingsPageTemplate.swift index b257368..4792b32 100644 --- a/Sources/WebModule/Templates/Html/WebSettingsPageTemplate.swift +++ b/Sources/WebModule/Templates/Html/WebSettingsPageTemplate.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import SwiftHtml final class WebSettingsPageTemplate: AbstractTemplate { diff --git a/Sources/WebModule/Templates/Xml/WebRssTemplate.swift b/Sources/WebModule/Templates/Xml/WebRssTemplate.swift index 920d0fb..20e6736 100644 --- a/Sources/WebModule/Templates/Xml/WebRssTemplate.swift +++ b/Sources/WebModule/Templates/Xml/WebRssTemplate.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import SwiftRss final class WebRssTemplate: AbstractTemplate { diff --git a/Sources/WebModule/Templates/Xml/WebSitemapTemplate.swift b/Sources/WebModule/Templates/Xml/WebSitemapTemplate.swift index 05c8e92..e85e9a9 100644 --- a/Sources/WebModule/Templates/Xml/WebSitemapTemplate.swift +++ b/Sources/WebModule/Templates/Xml/WebSitemapTemplate.swift @@ -6,7 +6,7 @@ // import Vapor -import Feather +import FeatherCore import SwiftSitemap final class WebSitemapTemplate: AbstractTemplate { diff --git a/Sources/WebModule/WebBuilder.swift b/Sources/WebModule/WebBuilder.swift index 6c4d310..0021854 100644 --- a/Sources/WebModule/WebBuilder.swift +++ b/Sources/WebModule/WebBuilder.swift @@ -5,7 +5,7 @@ // Created by Tibor Bodecs on 2022. 02. 23.. // -import Feather +import FeatherCore @_cdecl("createWebModule") public func createWebModule() -> UnsafeMutableRawPointer { diff --git a/Sources/WebModule/WebModule.swift b/Sources/WebModule/WebModule.swift index b8b6510..fb481b8 100644 --- a/Sources/WebModule/WebModule.swift +++ b/Sources/WebModule/WebModule.swift @@ -7,7 +7,7 @@ import Vapor import Fluent -import Feather +import FeatherCore import FeatherObjects import WebObjects