Script postinstall con husky@5
DUBANGARCIA opened this issue ยท 3 comments
DUBANGARCIA commented
๐ Bug report
Steps to reproduce
- When upgrading to version 1.2.21 or higher, the postinstall script runs so husky tries to look for the .github folder and can't find it.
Expected behaviour
When publishing the package you should not have package.json scripts.
Actual behaviour
When I install the package the scripts in package.json are maintained
Version: 1.2.21
jdbruijn commented
Hi @DUBANGARCIA, thanks for reporting this issue!
I've recently updated to Husky v5, but forgot to disable the postinstall
script in the published package. I'll add it shortly as per their documentation.
I realise I also have this issue in my commitlint-config repository, so double thanks for pointing this out!
Deleted user commented
๐ This issue has been resolved in version 1.1.23 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
jdbruijn commented
@DUBANGARCIA Should be fixed now in 1.1.23. Please feel free to re-open this if you're still having issues!