patch-package: Patches not being applied during Jenkins builds
I have installed patch-package to use in my react-app and running locally, everything works fine. With an update to date patch file, running yarn && yarn run build correctly applies the patches.
However, when Jenkins tries to run yarn && yarn run build, the patches do not get applied correctly. I have tried installing both patch-packaage and postinstall-postinstall as both a regular dependency and a dev dependency.
Is there any other obvious steps I might be missing here? Has anyone tried using this package with a deployment process, such as Circle CI or Jenkins?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (5 by maintainers)
Updating to patch-package@beta should fix the problem if it’s git related, since we no longer use git. You might need to recreate your patch files. I’m working on backwards compatibility or at least an upgrade path.
On Thu, 17 Jan 2019, 18:59 Patrick Cooney, notifications@github.com wrote:
Forgot to update here, but I used the description here to set it up: https://www.npmjs.com/package/patch-package And
preparefailed for me whereaspostinstallworked.Perhaps the npmjs page should be updated?