-
Notifications
You must be signed in to change notification settings - Fork 173
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
corepack cleanup cache #114
Comments
This one? corepack/sources/folderUtils.ts Line 8 in f539ae2
|
Its been about a year and I checked again just now:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does corepack provide any way to delete the cache?
The use case I'm thinking of is CI/CD where you want to set
COREPACK_HOME
to a cached directory. However, unlikenode_modules
, it doesn't seem like this directory is ever pruned or cleaned up since its shared between many projects.On a local machine, its probably fine to just periodically delete it. But for CI/CD, the project is only ever using one version of a package manager so its safe to prune old or unused versions.
For perspective, pnpm versions released in the last 30 days (>=7.0.0) amount to 180 MB. I imagine this will reach GB very quickly.
I'm thinking this can be solved with a new command:
The text was updated successfully, but these errors were encountered: