Skip to content

Commit

Permalink
chore(deps-dev): bump husky from 4.3.8 to 5.1.3 (#1105)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump husky from 4.3.8 to 5.0.9

Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 5.0.9.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v4.3.8...v5.0.9)

Signed-off-by: dependabot[bot] <support@github.com>

* feat: migrate to husky v5

* feat: upgrade to latest husky

* feat: change postinstall to prepare

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antariksh <antarikshmahajan@gmail.com>
  • Loading branch information
dependabot[bot] and mantariksh committed Mar 3, 2021
1 parent 0ddcae6 commit cbc2bd9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 159 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged && sh secrets-check.sh
156 changes: 4 additions & 152 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions package.json
Expand Up @@ -44,12 +44,8 @@
"lint-html": "htmlhint && prettier --write './src/public/**/*.html' --ignore-path './dist/**' --loglevel silent",
"lint": "npm run lint-code && npm run lint-style && npm run lint-html",
"lint-ci": "concurrently \"eslint src/ --quiet\" \"stylelint '*/**/*.css' --quiet\" \"htmlhint\" \"prettier --c './src/public/**/*.html' --ignore-path './dist/**'\"",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && sh secrets-check.sh"
}
"version": "auto-changelog -p && git add CHANGELOG.md",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts}": "eslint --fix",
Expand Down Expand Up @@ -223,7 +219,7 @@
"google-fonts-plugin": "4.1.0",
"html-loader": "~0.5.5",
"htmlhint": "^0.14.2",
"husky": "^4.3.8",
"husky": "^5.1.3",
"jasmine": "^3.6.4",
"jasmine-core": "^3.6.0",
"jasmine-sinon": "^0.4.0",
Expand Down

0 comments on commit cbc2bd9

Please sign in to comment.