patch-package icon indicating copy to clipboard operation
patch-package copied to clipboard

Path file not applied for d.ts files

Open borm opened this issue 3 years ago • 1 comments

yarn add final-form

go to node-modules/final-form/dist/index.d.ts and make some change

 yarn patch-package final-form
yarn run v1.22.4
$ /node_modules/.bin/patch-package final-form
patch-package 6.4.7
• Creating temporary folder
• Installing [email protected] with yarn
• Diffing your files with clean files
⁉️  Not creating patch file for package 'final-form'
⁉️  There don't appear to be any changes.
error Command failed with exit code 1.

borm avatar Jan 13 '22 17:01 borm

~Same with jest-mock, node_modules\jest-mock\build\index.d.ts file "There don't appear to be any changes."~ nevermind, I was changing file in the wrong folder :)

Maxim-Mazurok avatar Jul 13 '22 11:07 Maxim-Mazurok