vidavidorra/commitlint-plugin-function-rules

Script postinstall con husky@5

DUBANGARCIA opened this issue ยท 3 comments

๐Ÿ› 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

Captura de pantalla_2021-02-14_10-04-07

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!

๐ŸŽ‰ This issue has been resolved in version 1.1.23 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@DUBANGARCIA Should be fixed now in 1.1.23. Please feel free to re-open this if you're still having issues!