Skip to content

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Jan 27, 2024

Adds a packageJsonList.json file in the cache folder so that new command can go back to all known package.json with a "packageManager" field, in order to guess which versions should stay and which can go. EDIT: this PR simply adds a way to remove Corepack local cache folder.
I did not write tests for that, I'm not really sure what those tests should look like.

Fixes: #114

@aduh95 aduh95 requested a review from arcanis February 12, 2024 22:24
@aduh95 aduh95 enabled auto-merge (squash) February 12, 2024 23:37
@aduh95 aduh95 disabled auto-merge February 12, 2024 23:37
@aduh95 aduh95 enabled auto-merge (squash) February 12, 2024 23:38
@aduh95 aduh95 merged commit f442366 into main Feb 12, 2024
@aduh95 aduh95 deleted the corepack-cleanup branch February 12, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

corepack cleanup cache

3 participants