Dependencies/Dependents #9655
Unanswered
mfasman-ecolab
asked this question in
Help
Replies: 1 comment 1 reply
-
|
"Dependencies" refers to the set of packages that the package depends on. "Dependents" are the reverse, the set of packages that depend on that package. As an example, in As for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am trying to figure out why the
--affectedflag doesn't seem to be working for me, and in the process of going down this rabbit hole I have come across the dependencies and dependents output that is a part of--dry-runruns of turbo.The screenshot below is for a library that should both depend on several others in my repo - both dependencies and devDependencies - and be depended on by an application in my library. The command being run is
turbo test --affected --dry-run.I have two questions:
--affectedis supposed to work?--affectedalways resulting in all of my packages running their task, instead of only running the packages that have changed or have a dependency that has changed?Additional information
package.json. I see no difference in behavior with or without this change.turbotolatestin mypackage.jsonand am usingpnpm@9.15.2, which is latest at time of writingpnpmconvention of"workspace:*", e.g."@oneapp/oneapp-example-feature": "workspace:*"Example
I am working in a private repo so I cannot link to it. I could try to create a minimum reproducible example but I wouldn't even know what parts of the project would be relevant to causing this issue.
Beta Was this translation helpful? Give feedback.
All reactions