forked from vercel/turborepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependencies on context methods / functions (vercel#821)
Continuing to remove code dependencies on the `internal/context` package so that we can possibly calculate the values remotely / asynchronously. * Move `getTargetsFromArguments` from `context` to `run`, the only place where it is called. * `prune` reuses the work done resolving global dependencies during context creation. This both reduces the dependency on a method on `context` as well as avoids doing duplicate work. * mark `context` methods private so that we don't accidentally rely on them elsewhere.
- Loading branch information
Greg Soltis
authored
Mar 3, 2022
1 parent
854f804
commit f947ece
Showing
5 changed files
with
127 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters