Improved user experience and a (even) smaller package size while packing in more features!
👋 By the Way
I'm available for remote work (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail 🙂
Introducing husky init
Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation.
v8
npm pkg set scripts.prepare="husky install"
npm run prepare
npx husky add .husky/pre-commit "npm test"
v9
npx husky init
Adding a New Hook
Adding a hook is now as simple as creating a file. This can be accomplished using your favorite editor, a script or a basic echo command.
v8
npx husky add .husky/pre-commit "npm test"
git add --chmod=+x .husky/pre-commit # On Windows
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typicode/husky/releases">husky's releases</a>.</em></p>
<blockquote>
<h2>v9.0.1</h2>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<h2>TLDR;</h2>
<p>Improved user experience and a (even) smaller package size while packing in more features!</p>
<h2>👋 By the Way</h2>
<p><strong>I'm available for remote work</strong> (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail :slightly_smiling_face:</p>
<h2>Introducing <code>husky init</code></h2>
<p>Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation.</p>
<h3>v8</h3>
<pre lang="shell"><code>npm pkg set scripts.prepare="husky install"
npm run prepare
npx husky add .husky/pre-commit "npm test"
</code></pre>
<h3>v9</h3>
<pre lang="shell"><code>npx husky init
</code></pre>
<h2>Adding a New Hook</h2>
<p>Adding a hook is now as simple as creating a file. This can be accomplished using your favorite editor, a script or a basic <code>echo</code> command.</p>
<h3>v8</h3>
<pre lang="shell"><code>npx husky add .husky/pre-commit "npm test"
git add --chmod=+x .husky/pre-commit # On Windows
</code></pre>
<h3>v9</h3>
<pre lang="shell"><code>echo "npm test" > .husky/pre-commit
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typicode/husky/commit/513c2c95be44966afb0aaf7d96716c52782bcba3"><code>513c2c9</code></a> 9.0.1</li>
<li><a href="https://github.com/typicode/husky/commit/e48ee6c1eec1485a3ae90a0a32db9375692d1593"><code>e48ee6c</code></a> update npm_publish.yml</li>
<li><a href="https://github.com/typicode/husky/commit/c68cc2625fc574bc44ed3d42e3289dbef6b0ed16"><code>c68cc26</code></a> 9.0.0</li>
<li><a href="https://github.com/typicode/husky/commit/4bf0f79dddb20740f1828f30253bc833ce0796a5"><code>4bf0f79</code></a> chore: fix deploy</li>
<li><a href="https://github.com/typicode/husky/commit/c67a57a188f6e93c1607a735c212609710447ce3"><code>c67a57a</code></a> v9</li>
<li><a href="https://github.com/typicode/husky/commit/ec13855c167bcead06523ae43ca1b5152d77810f"><code>ec13855</code></a> v9 (<a href="https://github.com/typicode/husky/issues/1333">#1333</a>)</li>
<li><a href="https://github.com/typicode/husky/commit/a5c36f582cefd81c3c8c170089bdb63fb5173ed8"><code>a5c36f5</code></a> Add simplified Chinese documentation (<a href="https://github.com/typicode/husky/issues/1290">#1290</a>)</li>
<li><a href="https://github.com/typicode/husky/commit/3dd4ea211325a2ca715f2bde90e3c83f72f02f50"><code>3dd4ea2</code></a> fix: posts urls</li>
<li><a href="https://github.com/typicode/husky/commit/9d3eb31cd14d3fbdb77225d23a0c5a11f71beb2c"><code>9d3eb31</code></a> Update troubleshooting.md (<a href="https://github.com/typicode/husky/issues/1320">#1320</a>)</li>
<li><a href="https://github.com/typicode/husky/commit/6a5290c48cd148cc83f4ad1b07dd2d2cc4ce2a28"><code>6a5290c</code></a> docs: update hook references in migration guide (<a href="https://github.com/typicode/husky/issues/1282">#1282</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typicode/husky/compare/v8.0.3...v9.0.1">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps husky from 8.0.3 to 9.0.1.
Release notes
Sourced from husky's releases.
... (truncated)
Commits
513c2c99.0.1e48ee6cupdate npm_publish.ymlc68cc269.0.04bf0f79chore: fix deployc67a57av9ec13855v9 (#1333)a5c36f5Add simplified Chinese documentation (#1290)3dd4ea2fix: posts urls9d3eb31Update troubleshooting.md (#1320)6a5290cdocs: update hook references in migration guide (#1282)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflictsadded 2 commits
2cd715bc- 1 commit from branchmasterd5960df0- Build(deps-dev): bump husky from 8.0.3 to 9.0.1Compare with previous version