-
Notifications
You must be signed in to change notification settings - Fork 26
Builder cannot resolve shared dependencies #145
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR @dusura ! Can you give me a little more background here -- an example of a file layout that current builder can't handle would be a great accelerator for me to wrap my head around the problem we're solving here... |
Hi @ryan-roemer. Thanks for the interest. I created a small demo so you can understand the issue. |
Thanks for the repository! So everything works when I do:
So you're saying that normally I should be able to not add that extra (Separately, we have a tool to do just that -- exec commands with extra |
Interesting! I would've ran into this eventually, as I'm looking to start using builder in a monorepo. Related issue: #150 |
Perhaps this is against the general philosophy of builder but it would be nice if builder could resolve "shared" dependencies by adding any local "node_modules" folders to its path.
For example, builder will not run commands in a monorepo that uses the lerna hoist feature because it doesn't know about the monorepo's base "node_modules".