-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
the package.json patch doesn't recover in the new package #237
Comments
It seems to be working for me, this is what I'm doing: yarn patch-package rehype-slug --exclude '^$' Every time that I run "scripts": {
"postinstall": "patch-package"
} |
Thank you so much @karlhorky |
@umarluqman careful, you have an As far as I can tell, the |
@umarluqman to elaborate on what @karlhorky said, here’s regexr’s explanation on what’s going on in that regular expression: |
thank you @FlorianWendelborn and @karlhorky, that makes sense |
Thanks for your work.
Here I faced two problems.
patch-package 6.2.2
⁉️ Not creating patch file for package 'ts-loader'
⁉️ There don't appear to be any changes.
• Creating temporary folder
• Installing [email protected] with npm
• Diffing your files with clean files
Then, I tried to delete the old package, and do npm install, the package doesn't contain the patch file content.
Btw, the script in my root project package.json, I added
{"postinstall": "patch-package"}
Is there anything I missed? Please feel free to reproduce this issue with any npm package.
The text was updated successfully, but these errors were encountered: