v5 has a lot of changes. The whole interface is totally different. I have all the necessary changes grouped into a single commit, but they include:
Using pinst to ensure that hooks only get installed in dev, and not when kevin's being installed in someone else's project.
Moving hook definitions out of package.json and into individual files in the .husky/ directory. Husky places its own .gitignore in that directory, which ignores the results of the local hook installation.
Install pinst 2.1.4
I added this at the recommendation of the Husky docs. It allows us to add the hooks only in dev.
The only breaking change is that Node >=10.13.0 is required. I think it's safe enough to require contributors to be using a more recent version of Node.
Read this commit by commit.
Upgrade info
Husky 4.2.5 -> 5.0.9
pinst
to ensure that hooks only get installed in dev, and not when kevin's being installed in someone else's project.package.json
and into individual files in the.husky/
directory. Husky places its own.gitignore
in that directory, which ignores the results of the local hook installation.Install pinst 2.1.4
I added this at the recommendation of the Husky docs. It allows us to add the hooks only in dev.
Jest 26.2.1 -> 26.6.3
objectContaining
in Kevin tests, so I think it's safe to ignore.Prettier 1.19.1 -> 2.2.1
npx prettier --write
on the whole codebase to bring us in alignment with the new conventions.pretty-quick 2.0.1 -> 3.1.0