JoshuaKGoldberg/create-typescript-app

๐Ÿ› Bug: husky: install command is deprecated

JoshuaKGoldberg opened this issue ยท 1 comments

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

After installing with pnpm i, there should be no unhappy logs.

Actual

After installing with pnpm i:


> create-typescript-app@1.57.10 prepare /Users/josh/repos/create-typescript-app
> husky install

install command is deprecated

Done in 3.5s

Additional Info

I googled a bit and found https://stackoverflow.com/questions/77897612/problem-when-trying-to-add-prettiers-git-hook-husky-install-error-install-com -> https://github.com/typicode/husky/releases/tag/v9.0.1:

Adding husky to a project is now easier than ever. It's just a single line that does the same as above. No need to read the docs to get started anymore.

npx husky init

Okie dokie.

๐ŸŽ‰ This is included in version v1.57.11 ๐ŸŽ‰

The release is available on:

Cheers! ๐Ÿ“ฆ๐Ÿš€