Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency husky to v1 (#1728)
This PR contains the following updates: | Package | Type | Update | Change | References | |---|---|---|---|---| | husky | devDependencies | major | `0.14.3` -> `1.1.1` | [source](https://renovatebot.com/gh/typicode/husky) | --- ### Release Notes <details> <summary>typicode/husky</summary> ### [`v1.1.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​111) [Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.1.0...v1.1.1) - Check `HUSKY_SKIP_INSTALL` value first before checking if `.git` exists - Check Node version before running hooks ### [`v1.1.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​110) [Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.1...v1.1.0) - Create `.git/hooks` if it doesn't exist ### [`v1.0.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​101) [Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.0...v1.0.1) - Various `husky-upgrade` changes ([#​362](https://renovatebot.com/gh/typicode/husky/pull/362), [#​360](https://renovatebot.com/gh/typicode/husky/pull/360), [#​359](https://renovatebot.com/gh/typicode/husky/pull/359)) ### [`v1.0.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#​100) [Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v0.14.3...v1.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](https://renovatebot.com/gh/yarnpkg/yarn/) is the only package manager installed - Support [pnpm](https://renovatebot.com/gh/pnpm/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](https://renovatebot.com/gh/typicode/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](https://thanks.typicode.com)! 🙏 </details> --- ### Renovate configuration :date: **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles. :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`". :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server).
- Loading branch information