Quramy / ts-graphql-plugin

TypeScript Language Service Plugin for GraphQL developers
MIT License
726 stars 26 forks source link

chore(deps): update dependency husky to v9.1.4 #1360

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
husky 9.0.11 -> 9.1.4 age adoption passing confidence

Release Notes

typicode/husky (husky) ### [`v9.1.4`](https://togithub.com/typicode/husky/compare/v9.1.3...fc549e0e5c8723a6d796f6ad26ef6590769f5d82) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.3...v9.1.4) ### [`v9.1.3`](https://togithub.com/typicode/husky/releases/tag/v9.1.3) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.2...v9.1.3) - fix: better handle space in `PATH` ### [`v9.1.2`](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2) ### [`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)

*Super saiyan ~~god~~ dog! It's over 9.0.0!* *There's a bug with this release which prevents the deprecation notice to appear and requires to remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.* ### What's new You can now run package commands directly, no need for `npx` or equivalents. It makes writing hooks more intuitive and is also slightly faster 🐺⚡️ ```diff ### .husky/pre-commit - npx jest + jest # ~0.2s faster ``` A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it. ```shell ### .husky/pre-commit prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown git update-index --again ``` For more advanced use cases, see [lint-staged](https://togithub.com/lint-staged/lint-staged). ### Fixes - `bunx husky init` command - Workaround for some hooks implementation on Windows 🤷 ### Deprecations - Remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` from your hooks - Move your code from `~/.huskyrc` to `.config/husky/init.sh` Support for these will be removed in v10, notices have been added. ### Friendly reminder If Git hooks don't fit your workflow, you can disable Husky globally. Just add `export HUSKY=0` to `.config/husky/init.sh`. I've seen some confusion about this on X, so just a heads-up! ### Sponsoring Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: [GitHub Sponsors](https://togithub.com/sponsors/typicode). **Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉**

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.25%. Comparing base (147383d) to head (f86a63a). Report is 12 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Quramy/ts-graphql-plugin/pull/1360/graphs/tree.svg?width=650&height=150&src=pr&token=Kz1gKB5U03&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yosuke+Kurami)](https://app.codecov.io/gh/Quramy/ts-graphql-plugin/pull/1360?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yosuke+Kurami) ```diff @@ Coverage Diff @@ ## main #1360 +/- ## ========================================== - Coverage 96.30% 96.25% -0.06% ========================================== Files 80 80 Lines 5956 5956 Branches 1187 1175 -12 ========================================== - Hits 5736 5733 -3 - Misses 213 216 +3 Partials 7 7 ``` [see 4 files with indirect coverage changes](https://app.codecov.io/gh/Quramy/ts-graphql-plugin/pull/1360/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yosuke+Kurami)