1- // swift-tools-version:5.2
1+ // swift-tools-version:5.8
22
33import PackageDescription
44
55let package = Package (
66 name: " JSONAPI-OpenAPI " ,
77 platforms: [
8- . macOS( . v10_11 ) ,
8+ . macOS( . v12 ) ,
99 ] ,
1010 products: [
1111 . library(
@@ -21,20 +21,20 @@ let package = Package(
2121 dependencies: [
2222 . package ( url: " https://github.com/mattpolzin/Sampleable.git " , from: " 2.0.0 " ) ,
2323 . package ( url: " https://github.com/mattpolzin/JSONAPI.git " , from: " 5.0.0 " ) ,
24- . package ( url: " https://github.com/mattpolzin/OpenAPIKit.git " , from: " 2 .0.0" ) ,
25- . package ( url: " https://github.com/mattpolzin/OpenAPIReflection.git " , from: " 1 .0.0" ) ,
24+ . package ( url: " https://github.com/mattpolzin/OpenAPIKit.git " , from: " 3 .0.0" ) ,
25+ . package ( url: " https://github.com/mattpolzin/OpenAPIReflection.git " , from: " 2 .0.0" ) ,
2626 . package ( url: " https://github.com/typelift/SwiftCheck.git " , . upToNextMinor( from: " 0.12.0 " ) ) ,
27- . package ( url: " https://github.com/apple/swift-format.git " , from: " 0.50300 .0" ) ,
28- . package ( name : " NonEmpty " , url: " https://github.com/pointfreeco/swift-nonempty.git " , . upToNextMinor( from: " 0.2.0 " ) ) ,
29- . package ( url: " https://github.com/mattpolzin/JSONAPIViz.git " , . exact( " 0.0.6 " ) )
27+ . package ( url: " https://github.com/apple/swift-format.git " , from: " 509.0 .0" ) ,
28+ . package ( url: " https://github.com/pointfreeco/swift-nonempty.git " , . upToNextMinor( from: " 0.2.0 " ) ) ,
29+ . package ( url: " https://github.com/mattpolzin/JSONAPIViz.git " , exact: " 0.0.6 " )
3030 ] ,
3131 targets: [
3232 . target(
3333 name: " JSONAPIOpenAPI " ,
3434 dependencies: [
3535 " JSONAPI " ,
36- " OpenAPIKit " ,
37- " OpenAPIReflection " ,
36+ . product ( name : " OpenAPIKit30 " , package : " OpenAPIKit " ) ,
37+ . product ( name : " OpenAPIReflection30 " , package : " OpenAPIReflection " ) ,
3838 " Sampleable "
3939 ]
4040 ) ,
@@ -51,10 +51,10 @@ let package = Package(
5151 name: " JSONAPISwiftGen " ,
5252 dependencies: [
5353 " JSONAPI " ,
54- " OpenAPIKit " ,
54+ . product ( name : " OpenAPIKit30 " , package : " OpenAPIKit " ) ,
5555 . product( name: " SwiftFormat " , package : " swift-format " ) ,
5656 . product( name: " SwiftFormatConfiguration " , package : " swift-format " ) ,
57- . product( name: " NonEmpty " , package : " NonEmpty " )
57+ . product( name: " NonEmpty " , package : " swift-nonempty " )
5858 ]
5959 ) ,
6060 . testTarget(
0 commit comments