Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

chore(deps): update dependency husky to v1 #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 26, 2018

This PR contains the following updates:

Package Type Update Change References
husky devDependencies major ^0.14.3 -> ^1.0.0 source

Release Notes

typicode/husky

v1.1.3

Compare Source

  • Don't fail if package.json doesn't exist

v1.1.2

Compare Source

  • Add debug message

v1.1.1

Compare Source

  • Check HUSKY_SKIP_INSTALL value first before checking if .git exists
  • Check Node version before running hooks

v1.1.0

Compare Source

  • Create .git/hooks if it doesn't exist

v1.0.1

Compare Source

v1.0.0

Compare Source

After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉.

Notable changes

Below you'll find consolidated changes since 0.14.3. There's no change in code between 1.0.0-rc.15 and 1.0.0.

  • Hooks

    • Add sendemail-validate hook
  • Config

    • Move hooks config from scripts field to husky field
    • Prefer raw names for hooks (e.g. pre-commit rather than precommit)
    • Support .huskyrc config
  • Package managers

    • Support environments where yarn is the only package manager installed
    • Support pnpm package manager
  • Environment variables

    • Add HUSKY_SKIP_INSTALL environment variable for skipping git hooks installation
    • Add HUSKY_GIT_STDIN environment variable for pre-push, pre-receive, post-receive and post-rewrite to access arguments passed by Git via stdin
    • Rename GIT_PARAMS to HUSKY_GIT_PARAMS
  • Messages

    • Add many more messages in case of errors
    • Add please-upgrade-node message if using with unsupported Node version
    • Make --no-verify message more accurate and only show it for hooks that can be skipped
  • Upgrade

    • Add husky-upgrade command to automatically migrate hooks in package.json
    • Add deprecation warning for hooks that are still defined in scripts
  • Other

    • Drop Node 4 support
    • Drop integrated nvm support (see Node version management in docs)
Credits

Huge thanks to all the Contributors and Patreon Supporters! 🙏


Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

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


This PR has been generated by Renovate Bot. View repository job log here.

@codecov
Copy link

codecov bot commented Sep 26, 2018

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   77.62%   77.62%           
=======================================
  Files          67       67           
  Lines        2632     2632           
  Branches      534      534           
=======================================
  Hits         2043     2043           
  Misses        589      589

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0cfb059...9aff809. Read the comment docs.

@renovate renovate bot force-pushed the renovate/husky-1.x branch 2 times, most recently from 49c93c2 to 1449b9b Compare October 2, 2018 19:13
@renovate renovate bot force-pushed the renovate/husky-1.x branch 3 times, most recently from 983b248 to c1cd43b Compare October 26, 2018 00:24
Copy link

@felixfbecker felixfbecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs changes to the config in package.json

@renovate renovate bot force-pushed the renovate/husky-1.x branch 8 times, most recently from 58e39ed to 451780c Compare October 31, 2018 17:26
@renovate renovate bot force-pushed the renovate/husky-1.x branch from 451780c to 475d94c Compare November 5, 2018 02:21
@renovate renovate bot force-pushed the renovate/husky-1.x branch from 475d94c to 9aff809 Compare November 5, 2018 03:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants