Skip to content

Add support for yarn v2+  #496

@jagamypriera

Description

@jagamypriera

While yarn v2 has a built-in patch feature, but it involves a lengthy process. To be honest, patch-package is much easier and more convenient to use. Please consider supporting Yarn v2+.

Activity

JounQin

JounQin commented on Oct 20, 2023

@JounQin

+1 for this, the patch experience of yarn 2+ is bad as pnpm, I love patch-package's solution.

noahm

noahm commented on Nov 9, 2023

@noahm

I agree, patch-package has a much better UX and I prefer using it over yarn's native patches by far. To that end, I already have mostly working support for yarn 2+ in a fork and I hope to eventually get it into shape for a PR here.

JounQin

JounQin commented on Dec 19, 2023

@JounQin

I already have mostly working support for yarn 2+ in a fork and I hope to eventually get it into shape for a PR here.

@noahm Would you like to share it? Or just raise it as a PR?

linked a pull request that will close this issue on Dec 20, 2023
noahm

noahm commented on Dec 20, 2023

@noahm

@JounQin Thanks for reminding me! I just opened #506 with my changes. I wouldn't personally consider it ready to merge until new integration tests were added with more recent yarn versions, but I don't have time to keep working on it for a while. If anybody else wants to help along those lines, it would be appreciated!

added a commit that references this issue on Dec 21, 2023
1fcf733
linked a pull request that will close this issue on Dec 21, 2023
JounQin

JounQin commented on Dec 21, 2023

@JounQin

I raised a new PR #507 to fix all my known issues.

added a commit that references this issue on Dec 21, 2023
ae90c02
JounQin

JounQin commented on Jan 6, 2024

@JounQin

I've just publish my PR #507 as @unts/patch-package, you can give it a try.

added a commit that references this issue on Jun 18, 2024
54218fe
added a commit that references this issue on Mar 1, 2025
da5a09b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @noahm@jagamypriera@JounQin

      Issue actions

        Add support for yarn v2+ · Issue #496 · ds300/patch-package