-
Notifications
You must be signed in to change notification settings - Fork 1.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move cache out of node_modules
#842
Comments
I think
|
Agree with @fz6m keep the turbo cache in the project folder please |
Some thoughts, I'd prefer a .cache/turbo. But .turbo is fantastic |
I would prefer the root of the project or an optional to configure where it should go |
I would opt for the |
Would be nice to specify the cache directory in turbo.json, in a similar way that yarn/npm allow you to change the package cache location in their config files. Seems like this would be a reasonable way to implement the feature without causing a breaking change. For caching in CI I've had to put |
node_modules
node_modules
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the feature you'd like to request
node_modules
is a bad default place for the cache because most CI/CDs will blow outnode_modules
whenever the lockfile changes. The cache also currently grows in an unbounded manner.Describe the solution you'd like
Use
tmp
directoryOn macOS and Linux consider using
tmp
.Use
.turbo
at the rootHybrid of both?
Use
tmp
on macOS when run in interactive shell, use .turbo in CI?Describe alternatives you've considered
n/a
The text was updated successfully, but these errors were encountered: