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

v7.0 #297

Closed
wants to merge 1 commit into from
Closed

v7.0 #297

wants to merge 1 commit into from

Conversation

ds300
Copy link
Owner

@ds300 ds300 commented Mar 3, 2021

One breaking change to help address #270

  • patch-package will no longer even attempt to patch files when running as part of a dependency's setup script.

Also need to do a few things

  • add a package.json config section (or .patch-package.config.js?) for devOnly, patchDir, include/exclude config options, and possibly others. maybe switch to globs instead of regex
  • figure out a way for lib authors to add patch-package as a postinstall hook but also as dev dependency only (does it matter? seems like postinstall failures don't prevent yarn/npm from finishing anyway)
  • look into automatically adding .dev suffix when the package is def a dev dep.

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

Successfully merging this pull request may close these issues.

1 participant