@@ -42,14 +42,15 @@ let package = Package(
4242 ] ,
4343 dependencies: [
4444 . package ( path: " ../Tool " ) ,
45- . package ( url: " https://github.com/ChimeHQ/LanguageClient " , from: " 0.3.1 " ) ,
45+ // TODO: Update LanguageClient some day.
46+ . package ( url: " https://github.com/ChimeHQ/LanguageClient " , exact: " 0.3.1 " ) ,
47+ . package ( url: " https://github.com/ChimeHQ/LanguageServerProtocol " , exact: " 0.8.0 " ) ,
4648 . package ( url: " https://github.com/apple/swift-async-algorithms " , from: " 0.1.0 " ) ,
4749 . package ( url: " https://github.com/raspu/Highlightr " , from: " 2.1.0 " ) ,
4850 . package ( url: " https://github.com/JohnSundell/Splash " , branch: " master " ) ,
4951 . package ( url: " https://github.com/gonzalezreal/swift-markdown-ui " , from: " 2.1.0 " ) ,
5052 . package ( url: " https://github.com/sparkle-project/Sparkle " , from: " 2.0.0 " ) ,
5153 . package ( url: " https://github.com/kishikawakatsumi/KeychainAccess " , from: " 4.2.2 " ) ,
52- // .package(url: "https://github.com/pvieito/PythonKit.git", branch: "master"),
5354 . package ( url: " https://github.com/pointfreeco/swift-parsing " , from: " 0.12.1 " ) ,
5455 . package (
5556 url: " https://github.com/pointfreeco/swift-composable-architecture " ,
@@ -264,12 +265,22 @@ let package = Package(
264265
265266 // MARK: - Helpers
266267
267- . target( name: " CGEventObserver " ) ,
268+ . target(
269+ name: " CGEventObserver " ,
270+ dependencies: [
271+ . product( name: " Logger " , package : " Tool " ) ,
272+ ]
273+ ) ,
268274 . target( name: " FileChangeChecker " ) ,
269275 . target( name: " LaunchAgentManager " ) ,
270276 . target( name: " DisplayLink " ) ,
271277 . target( name: " ActiveApplicationMonitor " ) ,
272- . target( name: " AXNotificationStream " ) ,
278+ . target(
279+ name: " AXNotificationStream " ,
280+ dependencies: [
281+ . product( name: " Logger " , package : " Tool " ) ,
282+ ]
283+ ) ,
273284 . target(
274285 name: " UpdateChecker " ,
275286 dependencies: [
@@ -309,6 +320,7 @@ let package = Package(
309320 . product( name: " Logger " , package : " Tool " ) ,
310321 . product( name: " Preferences " , package : " Tool " ) ,
311322 . product( name: " Terminal " , package : " Tool " ) ,
323+ . product( name: " LanguageServerProtocol " , package : " LanguageServerProtocol " ) ,
312324 ]
313325 ) ,
314326 . testTarget(
0 commit comments