Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Housekeeping and refactor - fixes issues #64 & #65. #1

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 81 additions & 45 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@
"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"
}
},
{
"package": "async-kit",
"repositoryURL": "https://github.com/vapor/async-kit.git",
"state": {
"branch": null,
"revision": "e2f741640364c1d271405da637029ea6a33f754e",
"version": "1.11.1"
"revision": "a61da00d404ec91d12766f1b9aac7d90777b484d",
"version": "1.17.0"
}
},
{
"package": "console-kit",
"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": "a5df6b3986431e33663d294d0dee84814fccbd14",
"branch": "test-refactored-modules",
"revision": "7a352c919180a9c6f05bc05f1ba86936d8d11e56",
"version": null
}
},
Expand All @@ -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
}
Expand All @@ -60,17 +60,17 @@
"repositoryURL": "https://github.com/vapor/fluent",
"state": {
"branch": null,
"revision": "ea707ee318066a073c95b2b2df1aa640fcb67f9e",
"version": "4.4.0"
"revision": "4b4d8bf15a06fd60137e9c543e5503c4b842654e",
"version": "4.8.0"
}
},
{
"package": "fluent-kit",
"repositoryURL": "https://github.com/vapor/fluent-kit.git",
"state": {
"branch": null,
"revision": "53a7276e577d0dd192dc551c3d0908dcc85af88f",
"version": "1.23.1"
"revision": "e53acf986e32c54fe522b2c12f737baa01828c1c",
"version": "1.42.2"
}
},
{
Expand Down Expand Up @@ -114,17 +114,17 @@
"repositoryURL": "https://github.com/vapor/multipart-kit.git",
"state": {
"branch": null,
"revision": "2dd9368a3c9580792b77c7ef364f3735909d9996",
"version": "4.5.1"
"revision": "1adfd69df2da08f7931d4281b257475e32c96734",
"version": "4.5.4"
}
},
{
"package": "routing-kit",
"repositoryURL": "https://github.com/vapor/routing-kit.git",
"state": {
"branch": null,
"revision": "5603b81ceb744b8318feab1e60943704977a866b",
"version": "4.3.1"
"revision": "611bc45c5dfb1f54b84d99b89d1f72191fb6b71b",
"version": "4.7.2"
}
},
{
Expand All @@ -141,116 +141,152 @@
"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"
}
},
{
"package": "swift-backtrace",
"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"
}
},
{
"package": "swift-crypto",
"repositoryURL": "https://github.com/apple/swift-crypto.git",
"state": {
"branch": null,
"revision": "a8911e0fadc25aef1071d582355bd1037a176060",
"version": "2.0.4"
"revision": "33a20e650c33f6d72d822d558333f2085effa3dc",
"version": "2.5.0"
}
},
{
"package": "swift-html",
"repositoryURL": "https://github.com/binarybirds/swift-html",
"state": {
"branch": null,
"revision": "e07678a77d296e66fa891a9d4d08acc4471d1783",
"version": "1.6.11"
"revision": "f4fa5bc83fbee8dbd301c6fbb3969437415adad0",
"version": "1.7.0"
}
},
{
"package": "swift-log",
"repositoryURL": "https://github.com/apple/swift-log.git",
"state": {
"branch": null,
"revision": "5d66f7ba25daf4f94100e7022febf3c75e37a6c7",
"version": "1.4.2"
"revision": "32e8d724467f8fe623624570367e3d50c5638e46",
"version": "1.5.2"
}
},
{
"package": "swift-metrics",
"repositoryURL": "https://github.com/apple/swift-metrics.git",
"state": {
"branch": null,
"revision": "eadb828f878fed144387e3845866225bb7082c56",
"version": "2.3.0"
"revision": "e8bced74bc6d747745935e469f45d03f048d6cbd",
"version": "2.3.4"
}
},
{
"package": "swift-nio",
"repositoryURL": "https://github.com/apple/swift-nio.git",
"state": {
"branch": null,
"revision": "154f1d32366449dcccf6375a173adf4ed2a74429",
"version": "2.38.0"
"revision": "2d8e6ca36fe3e8ed74b0883f593757a45463c34d",
"version": "2.53.0"
}
},
{
"package": "swift-nio-extras",
"repositoryURL": "https://github.com/apple/swift-nio-extras.git",
"state": {
"branch": null,
"revision": "f73ca5ee9c6806800243f1ac415fcf82de9a4c91",
"version": "1.10.2"
"revision": "0e0d0aab665ff1a0659ce75ac003081f2b1c8997",
"version": "1.19.0"
}
},
{
"package": "swift-nio-http2",
"repositoryURL": "https://github.com/apple/swift-nio-http2.git",
"state": {
"branch": null,
"revision": "ac2a5afce3dbb6795b4f78ec3f19726dc28f5617",
"version": "1.20.0"
"revision": "6d021a48483dbb273a9be43f65234bdc9185b364",
"version": "1.26.0"
}
},
{
"package": "swift-nio-ssl",
"repositoryURL": "https://github.com/apple/swift-nio-ssl.git",
"state": {
"branch": null,
"revision": "52a486ff6de9bc3e26bf634c5413c41c5fa89ca5",
"version": "2.17.2"
"revision": "e866a626e105042a6a72a870c88b4c531ba05f83",
"version": "2.24.0"
}
},
{
"package": "swift-nio-transport-services",
"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"
}
},
{
"package": "vapor",
"repositoryURL": "https://github.com/vapor/vapor",
"state": {
"branch": null,
"revision": "5861bf9e2cff2c4cb0dcfb0c15ecfaa8bc5630e0",
"version": "4.55.3"
"revision": "8b79ff0bd264a33bd0b7471dcf50dd1be983f992",
"version": "4.76.3"
}
},
{
"package": "websocket-kit",
"repositoryURL": "https://github.com/vapor/websocket-kit.git",
"state": {
"branch": null,
"revision": "ff8fbce837ef01a93d49c6fb49a72be0f150dac7",
"version": "2.3.0"
"revision": "2ec14506d5f8199926906dc5a620ac22b147db86",
"version": "2.13.0"
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ let package = Package(
products: [
.library(name: "SwiftyModule", targets: ["SwiftyModule"]),
],
dependencies: [
.package(url: "https://github.com/feathercms/feather-core", .branch("dev")),
dependencies: [
.package(url: "https://github.com/feathercms/feather-core", .branch("dev")),
.package(url: "https://github.com/JohnSundell/Splash", from: "0.16.0"),
],
targets: [
.target(name: "SwiftyModule", dependencies: [
.product(name: "Feather", package: "feather-core"),
.product(name: "FeatherCore", package: "feather-core"),
.product(name: "Splash", package: "Splash"),
],
resources: [
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyModule/Filters/SwiftyFilter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import Feather
import FeatherCore
import Vapor
import Splash

Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyModule/SwiftyBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Tibor Bodecs on 2021. 12. 27..
//

import Feather
import FeatherCore

@_cdecl("createSwiftyModule")
public func createSwiftyModule() -> UnsafeMutableRawPointer {
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyModule/SwiftyModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import Feather
import FeatherCore
import Vapor

struct SwiftyModule: FeatherModule {
Expand Down