Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Update husky in package.json from ^0.14.3 to 1.1.3 #609

Merged
merged 1 commit into from
Nov 3, 2018

Conversation

dependencies[bot]
Copy link
Contributor

@dependencies dependencies bot commented Nov 2, 2018

Overview

The following dependencies have been updated by dependencies.io:

  • husky in package.json from "^0.14.3" to "1.1.3"

Details

husky

This dependency is located in package.json and was updated from "^0.14.3" to "1.1.3".

1.0.0

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! 🙏

1.0.1
1.1.0
  • Create .git/hooks if it doesn't exist
1.1.1
  • Check HUSKY_SKIP_INSTALL value first before checking if .git exists
  • Check Node version before running hooks
1.1.2
  • Add debug message
1.1.3
  • Don't fail if package.json doesn't exist

@kornicameister kornicameister merged commit 41a4c24 into master Nov 3, 2018
@kornicameister kornicameister deleted the deps/update-22fa08d1 branch November 3, 2018 19:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants