typicode / husky-4-to-8

Quickly migrate your hooks from husky v4 to husky@latest
MIT License
131 stars 20 forks source link

State minimum NPM version, change added version #21

Closed pataar closed 3 years ago

pataar commented 3 years ago

NPM <7 doesn't work because exec doesn't exist. Therefore it might be a good idea to have it stated. In addition to that it would be better to use a caret range for version 6.

lgenzelis commented 3 years ago

Hey @pataar, check #20 . Replacing npm exec -- by npx works fine in npm 6

pataar commented 3 years ago

Hi @lgenzelis, that's even a better solution! Closing this one.