ap0nia / eden-query

🙏 type-safe Elysia.js client with powerful asynchronous state management.
https://ap0nia.github.io/eden-query/
MIT License
34 stars 3 forks source link

separate server entry point #56

Closed ap0nia closed 1 month ago

ap0nia commented 1 month ago

Issue

The elysia.js plugins are exported from the same index.ts of all the packages. eden-query is intended to be a client library, and it probably shouldn't export server-specific modules.

Solution

Add a new server entrypoint to all the packages, which the developer can import the plugins from. All exports from the main entrypoint should only have eden-treaty and tanstack-query related integrations.