Closed psmiraglia closed 6 years ago
It's a very good idea, yesterday I was looking at lesspass and they have a pretty good organization of the various packages, we can learn from them.
Personally I'd wait to refactor until after the MVPs, for now we can copy Crypto.js
and also change it independently in the two projects to go faster. I don't except we'll do a ton of incompatible changes so it will be a quick merge in the end.
This is also another interesting perspective: https://danluu.com/monorepo/
We should have a chat after we have the MVPs and before proceeding.
I created mempa-core
(https://github.com/psmiraglia/mempa-core) and I will use it to develop the Chrome extension. It is mainly an exercise to understand how to create Node
modules and how to use JSDoc
.
+1, closing the issue then.
The native apps and the Chrome extension will share some elements (e.g.
Crypto.js
). In order to avoid misalignment among the environments, I think it could be useful to have the shared elements as independent module (maybemempa-common
), which can be then imported in each project. What do you think about that?