leonardoventurini / helene

Real-time Web Apps for Node.js
https://helene.techster.tech
MIT License
37 stars 1 forks source link

Monorepos support and decoupling packages #11

Closed aogaili closed 12 months ago

aogaili commented 1 year ago

The client SDK, React hooks and Server are all exported under one package yet they could be split into smaller npm packages since they could be used independently.

Something like:

Could also have plug-ins repo for auth, etc. Monorepo could be managed by workspaces using BunJS or PNPM for performance.

leonardoventurini commented 1 year ago

Sadly the org @helene was already taken but I could create @helenejs.

aogaili commented 1 year ago

Yes no issues about naming, just wanted to suggest the approach.

leonardoventurini commented 1 year ago

Started the split here #13, do you think it would be a problem if we kept the core client and server in the same package? It has different entry points for browser and node + isomorphic ws.

leonardoventurini commented 1 year ago

On better thought perhaps Meteor or some other framework might not use those separate entry points. I will keep it as core for now until I get the other packages decoupled then I can focus on decoupling client/server.

leonardoventurini commented 12 months ago

Hey @aogaili the separation is complete, can you review the PR please? #13