How do you scale a #monorepo approach (with #Nx) in your IDE. If I have a huge amount of apps and libs, how can I even open that without crashing my IDE (as fe @WebStormIDE indexes al files). Do you do partial checkouts, work with git submodules, exclude directories in the IDE?
-
Show this thread
-
I also like to search for files by name when working on a project (instead of clicking to the folders). When I open all the apps and libs in my IDE but I'm only working on 1 specific lib, this gets quite annoying as well.
2 replies 0 retweets 0 likesShow this thread -
Replying to @KwintenP
The only thing we can suggest now is to add the package name or some letters from its name to the query. For example, in the Jest repo there are index.js files in every package and if we want to find one in `jest-changed-files`, we can type `changeindex` to filter the search.pic.twitter.com/BxYX91HgN7
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Great tip
! That indeed does the trick. Have used this approach as well.
Actually, fixing most of my problems would work if I could save the 'currently excluded folders' in some sort of config. I could create a config per app I'm working on and using those configs to switch.1 reply 0 retweets 0 likes
If the parts of the monorepo are pretty independent, opening each as a separate project in WebStorm might also be an option. But it definitely depends on how the parts are interconnected and how they are managed (yarn workspaces, lerna...).
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.