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?