-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added packages (monorepo) #39
base: master
Are you sure you want to change the base?
Conversation
Can you please describe what the changes are that you are proposing? |
We have two repo: I suggest create directory like Why is it better:
This approach is called monorepo. Many projects use this approach (for example Vue or Babel) Another thing what I suggest is create package |
@sschiessl-bcp What do you think? |
I've did some digging and found many projects building on -ws directly due to overhead of the full library. How would that be handled in a mono-repo? |
Guess we could add bitsharesjs-ws as a submodule repo ? so keep it separate but reference it in bitsharesjs as a subpart of it? |
Do you mean fork or package dependence? Monorepo is about source code, but in npmjs.com we will steel have two packages ( If some project want to modify About submodule. It will not change anything. If people will want to create issue they won't understand where need to create. I try to do monorepo in my btsdex library. You can see how it looks. We have 4 packages in npmjs.com: btsdex, btsdex-api, btsdex-ecc, btsdex-serializer. All this packages in one repo. What packages do I suggest to make:
|
What is your experience nowadays with monorepo? |
very comfortable) But today usually use lerna.js for that. I would also divide this repository into several packages: chain, ecc, serializer, ws, and so on... |
What you think about monorepo with bitsharesjs-ws?