refactor: monorepo structure cleanup#286
Conversation
|
@mmikita95 @FabienArcellier Please share your thoughts |
|
I don't feel entirely confident about Personally, this kind of structure would probably feel more "traditional": I'm not sure about "tests" here though (i.e. how feasible it is). Also, I think that |
|
Totally agree that the name CLI is out of place, but I didn't have a better idea. The idea behind the my monorepo approach is that each package is in a separate directory with a Notice that In Additionally, Turbo has caching. It will run only things that have changed. For example, if the backend depends on the UI and if only the backend code changed, then it won't run the UI build because the UI code didn't change, but it will show outputs from the previous build. You can try running the snippet from the description; you will see how it works. Notice that if you run this command multiple times, it will be much faster after the first run. |
|
Just to be clear, I'm not trying to force anything, nor am I particularly attached to this specific solution. I'm open to discussion 😉 |
|
I agree with the remark of mikita. Is there a way to split this PR in two ? One about repository organisation, one about the implementation of turborepo ? I have no opinion about the usage of turborepo as By the way, I design |
fa6fbec to
2f9cd20
Compare
d5e339c to
ede3d07
Compare
|
that looks good for me |
f3f9283 to
d72a7d8
Compare
|
As expected after Fabien's changes, getting conflicts here, please merge |
poetry install npm i poetry run npm test