Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can patch-package detect content changes in package.json? Let's say I changed a dependency version? #522

Open
baixjian opened this issue Apr 26, 2024 · 2 comments

Comments

@baixjian
Copy link

No description provided.

@OlegWock
Copy link

#341

@bsal649
Copy link

bsal649 commented May 21, 2024

Yes with the method above, or by manually editing the diff. It probably won't help you though, e.g. if you're trying to change peer deps to stop getting warnings/errors with npm update/install.

I believe npm uses its online registry to resolve peerDeps. You can stop warnings with npm install (not update) by changing the peerDependencies for the package in question in your own package-lock.json.

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

No branches or pull requests

3 participants