chore(deps): update dependency husky to v7 (#561)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
authored and GitHub committed 2021-08-23 09:25:15 +00:00
1 parent 060979e4d4
commit 6c65f01822
5 files changed
+1081 -1184

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit $1
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged
-6
View File
@@ -1,6 +0,0 @@
module.exports = {
hooks: {
'pre-commit': 'lint-staged',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
};
+1070 -1176
View File
File diff suppressed because it is too large. Load diff
+3 -2
View File
@@ -18,7 +18,8 @@
"release:standard-version": "standard-version --release-as",
"release": "run-s build release:commit \"release:standard-version -- {1}\" --",
"build": "ncc build -o dist",
"start": "run-s build && node dist"
"start": "run-s build && node dist",
"prepare": "husky install"
},
"repository": {
"type": "git",
@@ -46,7 +47,7 @@
"eslint-config-prettier": "8.3.0",
"eslint-plugin-json": "2.1.2",
"eslint-plugin-prettier": "3.4.0",
"husky": "4.3.8",
"husky": "7.0.1",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",