Skip to content

Patch DX: Make it as simple as patch-package #5686

@robertherber

Description

@robertherber

The DX of patch and patch-commit is trailing patch-package by a lot, and makes it very cumbersome to use. The use case for using patching is making commitable changes (a lot) simpler than having to fork a package.

Describe the user story

As a developer I want to be able to patch packages in an effortless way.

Describe the solution you'd like

I'd like to create patches as easy as with patch-package - just modifying node_modules is effortless.

And the upgrade process is even more cumbersome:

  • Having to remove the existing patch to be able to upgrade adds a lot to the complexity (patch-package just gives a warning - or an error if the patch cannot be applied anymore).
  • I don't currently see an easy way to reapply an existing patch when upgrading a package. One has to go through the entire process of adding a new patch, and manually applying the change again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions