Skip to content

Commit

Permalink
refactor: use y-websocket.js from @codepod/ui (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi authored Sep 10, 2023
1 parent cb8a347 commit 39b3acc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 548 deletions.
1 change: 1 addition & 0 deletions apps/spawner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@apollo/client": "^3.7.1",
"@codepod/prisma": "workspace:*",
"@codepod/runtime": "workspace:^",
"@codepod/ui": "workspace:^",
"@kubernetes/client-node": "^0.17.1",
"apollo-server": "^3.5.0",
"apollo-server-core": "^3.10.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/spawner/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { gql } from "apollo-server";
import { ApolloServerPluginLandingPageLocalDefault } from "apollo-server-core";

import Y from "yjs";
import { WebsocketProvider } from "./y-websocket";
import { WebsocketProvider } from "@codepod/ui/src/lib/utils/y-websocket";

import { connectSocket, runtime2socket, RuntimeInfo } from "./yjs-runtime";

Expand Down
Loading

0 comments on commit 39b3acc

Please sign in to comment.