You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
give consumers more control over dependency hashing
avoid expensive unnecessary cache busts
Non-goals
Background
When a monorepo package like @internal/tooling is listed as a dependency of the root package.json, all of its files become inputs for all tasks, meaning changing anything in the tool causes all caches to miss.
This is bad for 2 reasons:
many tools in root are only in root to expose executables for which much simpler cache keys can be hashed.
unlike everything else in a turbo config, the consumer has no control over this
Proposal
provide a mechanism for overriding the globalDependencies hashing defaults that turbo provides
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Goals
Non-goals
Background
When a monorepo package like @internal/tooling is listed as a dependency of the root package.json, all of its files become inputs for all tasks, meaning changing anything in the tool causes all caches to miss.
This is bad for 2 reasons:
Proposal
provide a mechanism for overriding the globalDependencies hashing defaults that turbo provides
All reactions