Skip to content

Commit b7dc1ce

Browse files
committed
feat(0.1.0)
- Update structure - Introduce KeyPathMapper - Add more tests - Update API
1 parent 7888d76 commit b7dc1ce

19 files changed

+855
-171
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ DerivedData/
66
.swiftpm/configuration/registries.json
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
.netrc
9+
Package.resolved

Package.swift

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,49 @@ let package = Package(
99
name: "KeyPathsExtensions",
1010
targets: ["KeyPathsExtensions"]
1111
),
12+
.library(
13+
name: "KeyPathMapper",
14+
targets: ["KeyPathMapper"]
15+
)
16+
],
17+
dependencies: [
18+
.package(
19+
url: "https://github.com/capturecontext/swift-hashed.git",
20+
.upToNextMajor(from: "0.0.1")
21+
),
22+
.package(
23+
url: "https://github.com/capturecontext/swift-marker-protocols.git",
24+
.upToNextMajor(from: "1.2.0")
25+
),
1226
],
1327
targets: [
1428
.target(
15-
name: "KeyPathsExtensions"
29+
name: "KeyPathsExtensions",
30+
dependencies: [
31+
.target(name: "KeyPathMapper"),
32+
]
33+
),
34+
.target(
35+
name: "KeyPathMapper",
36+
dependencies: [
37+
.product(
38+
name: "SwiftMarkerProtocols",
39+
package: "swift-marker-protocols"
40+
),
41+
.product(
42+
name: "Hashed",
43+
package: "swift-hashed"
44+
),
45+
]
46+
),
47+
.testTarget(
48+
name: "KeyPathMapperTests",
49+
dependencies: ["KeyPathMapper"]
1650
),
1751
.testTarget(
1852
name: "KeyPathsExtensionsTests",
1953
dependencies: ["KeyPathsExtensions"]
20-
),
21-
]
54+
)
55+
],
56+
swiftLanguageModes: [.v6]
2257
)

Package@swift-5.10.swift

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,44 @@ let package = Package(
99
name: "KeyPathsExtensions",
1010
targets: ["KeyPathsExtensions"]
1111
),
12+
.library(
13+
name: "KeyPathMapper",
14+
targets: ["KeyPathMapper"]
15+
)
16+
],
17+
dependencies: [
18+
.package(
19+
url: "https://github.com/capturecontext/swift-hashed.git",
20+
.upToNextMajor(from: "0.0.1")
21+
),
22+
.package(
23+
url: "https://github.com/capturecontext/swift-marker-protocols.git",
24+
.upToNextMajor(from: "1.2.0")
25+
),
1226
],
1327
targets: [
1428
.target(
15-
name: "KeyPathsExtensions"
29+
name: "KeyPathsExtensions",
30+
dependencies: [
31+
.target(name: "KeyPathMapper"),
32+
]
33+
),
34+
.target(
35+
name: "KeyPathMapper",
36+
dependencies: [
37+
.product(
38+
name: "SwiftMarkerProtocols",
39+
package: "swift-marker-protocols"
40+
),
41+
.product(
42+
name: "Hashed",
43+
package: "swift-hashed"
44+
),
45+
]
46+
),
47+
.testTarget(
48+
name: "KeyPathMapperTests",
49+
dependencies: ["KeyPathMapper"]
1650
),
1751
.testTarget(
1852
name: "KeyPathsExtensionsTests",

0 commit comments

Comments
 (0)