[Feature]: using binaries from $projectRoot
#2204
Closed
ScottAwesome
started this conversation in
Ideas
Replies: 2 comments
-
NX has these kinds of features that allow you to share runs without having to duplicate deps across projects, so I know it can be done. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Depending on which package manager you are using and your Turborepo's goal is to work with package managers rather than edit their functionality so I'm not sure that this is something we would want to do today. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically one downfall that turbo has that NX (seemingly) does not, is that you can't re-use binaries from the project root.
For instance, I must have
eslint
,vitest
,vite
etc all installed for every single package in the monorepo, turbo does not resolve the binaries from the project root.It would be great if we could hoist tooling to the root of the monorepo (so dev dependencies could live there for these purposes) but call them from the projects without resorting to hacks such as the following:
or duplicating packages for each project.
Beta Was this translation helpful? Give feedback.
All reactions