[Feature] Document how to remove patches #4890
Labels
documentation
This issue or pull request is about the documentation
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the user story
Yarn offers a way to apply patches with
yarn patch
andyarn patch-commit
. Having used the feature I like it and the document is pretty good. But it is not at all clear how we remove a patch?https://yarnpkg.com/features/protocols#patch
Describe the solution you'd like
Please provide instructions on how we remove an applied patch.
Describe the drawbacks of your solution
I found myself having to delete .yarn .yarn-lock and my .yarnrc file along with the
"resolution"
block inpackage.json
manually. Was awful as I then add to set the yarn version, install all the plugins again manually and then run myyarn dlx
to setup typescript / vscode.Describe alternatives you've considered
Using version control carefully to revert the change, and ensure .yarn is not excluded with
.gitignore
.The text was updated successfully, but these errors were encountered: