How do you solve common javascript code? For example if you have several frontend apps that uses the same layouts, css, etc.
You could have that in another repo, but that defeats the purpose of having a mono-repo, I think. Using yarn workspaces would solve this, and you can still use docker-compose for its other benefits. Of course there will be some issues to be solved in this case, for example needing to copy the root yarn.lock file into the module before building it with Docker.
How do you solve common javascript code? For example if you have several frontend apps that uses the same layouts, css, etc.
You could have that in another repo, but that defeats the purpose of having a mono-repo, I think. Using yarn workspaces would solve this, and you can still use docker-compose for its other benefits. Of course there will be some issues to be solved in this case, for example needing to copy the root yarn.lock file into the module before building it with Docker.
@stigkj lerna?