codepod-io / codepod

Codepod IDE: Scalable Interactive Coding
https://codepod.io
MIT License
74 stars 15 forks source link

refactor: inline runtime & yjs packages #567

Closed lihebi closed 11 months ago

lihebi commented 11 months ago

Now we have just ui/ and api/ folders. The runtime and yjs related files are inlined into them.

The ui and api code are shared in the following cases:

  1. ui/ imports the tRPC API definition from api/
  2. ui/ imports the customized y-websocket.js from api/