blog.typicode.com/posts/husky-git-hooks-autoinstall

Preview meta tags from the blog.typicode.com website.

Linked Hostnames

6

Search Engine Appearance

Google

https://blog.typicode.com/posts/husky-git-hooks-autoinstall

Why husky doesn't autoinstall anymore

Another change with the new husky is that it doesn’t autoinstall Git hooks anymore. Instead, the new recommended way is to have a prepare* script in your package.json: { "prepare": "husky install" } Let’s see why. (*) There’s an exception for Yarn 2 though, see docs. Package managers best practices For years, package managers have discouraged the use of postinstall for anything else than compilation. By removing autoinstall, the new husky is a better citizen and also the first version to support Yarn 2 zero-installs (before, it needed to be unplugged).



Bing

Why husky doesn't autoinstall anymore

https://blog.typicode.com/posts/husky-git-hooks-autoinstall

Another change with the new husky is that it doesn’t autoinstall Git hooks anymore. Instead, the new recommended way is to have a prepare* script in your package.json: { "prepare": "husky install" } Let’s see why. (*) There’s an exception for Yarn 2 though, see docs. Package managers best practices For years, package managers have discouraged the use of postinstall for anything else than compilation. By removing autoinstall, the new husky is a better citizen and also the first version to support Yarn 2 zero-installs (before, it needed to be unplugged).



DuckDuckGo

https://blog.typicode.com/posts/husky-git-hooks-autoinstall

Why husky doesn't autoinstall anymore

Another change with the new husky is that it doesn’t autoinstall Git hooks anymore. Instead, the new recommended way is to have a prepare* script in your package.json: { "prepare": "husky install" } Let’s see why. (*) There’s an exception for Yarn 2 though, see docs. Package managers best practices For years, package managers have discouraged the use of postinstall for anything else than compilation. By removing autoinstall, the new husky is a better citizen and also the first version to support Yarn 2 zero-installs (before, it needed to be unplugged).

  • General Meta Tags

    6
    • title
      Typicode's blog - Why husky doesn't autoinstall anymore
    • charset
      utf-8
    • viewport
      width=device-width,initial-scale=1
    • article:section
      posts
    • article:published_time
      2021-04-02T00:00:00+00:00
  • Open Graph Meta Tags

    4
    • og:title
      Why husky doesn't autoinstall anymore
    • og:description
      Another change with the new husky is that it doesn’t autoinstall Git hooks anymore. Instead, the new recommended way is to have a prepare* script in your package.json: { "prepare": "husky install" } Let’s see why. (*) There’s an exception for Yarn 2 though, see docs. Package managers best practices For years, package managers have discouraged the use of postinstall for anything else than compilation. By removing autoinstall, the new husky is a better citizen and also the first version to support Yarn 2 zero-installs (before, it needed to be unplugged).
    • og:type
      article
    • og:url
      https://blog.typicode.com/posts/husky-git-hooks-autoinstall/
  • Twitter Meta Tags

    3
    • twitter:card
      summary
    • twitter:title
      Why husky doesn't autoinstall anymore
    • twitter:description
      Another change with the new husky is that it doesn’t autoinstall Git hooks anymore. Instead, the new recommended way is to have a prepare* script in your package.json: { "prepare": "husky install" } Let’s see why. (*) There’s an exception for Yarn 2 though, see docs. Package managers best practices For years, package managers have discouraged the use of postinstall for anything else than compilation. By removing autoinstall, the new husky is a better citizen and also the first version to support Yarn 2 zero-installs (before, it needed to be unplugged).
  • Link Tags

    2
    • icon
      data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌵</text></svg>
    • stylesheet
      /output.css

Links

9