Turbo running incorrect scripts from root based on dependsOn
#7743
-
SummaryTitle was a little weird to try to come up with, but basically when I run a particular Turbo script from the root, and only one package in the monorepo has that script, it's running something it shouldn't. If I add a filter to it, it works fine. This will be easier to show: packages(all have a
root
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I should probably add that there are other packages that depend on |
Beta Was this translation helpful? Give feedback.
-
Do you have a reproduction link you could share? |
Beta Was this translation helpful? Give feedback.
A package is included in the graph if it has a dependency relationship through
package.json
, even if it doesn't have atest
script. We call these "Transit Nodes": https://turbo.build/repo/docs/core-concepts/monorepos/task-graph#transit-nodes