mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
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:
parent
060979e4d4
commit
6c65f01822
5 changed files with 1081 additions and 1184 deletions
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no-install commitlint --edit $1
|
||||||
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no-install lint-staged
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
hooks: {
|
|
||||||
'pre-commit': 'lint-staged',
|
|
||||||
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
|
|
||||||
},
|
|
||||||
};
|
|
||||||
2236
package-lock.json
generated
2236
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -18,7 +18,8 @@
|
||||||
"release:standard-version": "standard-version --release-as",
|
"release:standard-version": "standard-version --release-as",
|
||||||
"release": "run-s build release:commit \"release:standard-version -- {1}\" --",
|
"release": "run-s build release:commit \"release:standard-version -- {1}\" --",
|
||||||
"build": "ncc build -o dist",
|
"build": "ncc build -o dist",
|
||||||
"start": "run-s build && node dist"
|
"start": "run-s build && node dist",
|
||||||
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
@ -46,7 +47,7 @@
|
||||||
"eslint-config-prettier": "8.3.0",
|
"eslint-config-prettier": "8.3.0",
|
||||||
"eslint-plugin-json": "2.1.2",
|
"eslint-plugin-json": "2.1.2",
|
||||||
"eslint-plugin-prettier": "3.4.0",
|
"eslint-plugin-prettier": "3.4.0",
|
||||||
"husky": "4.3.8",
|
"husky": "7.0.1",
|
||||||
"lint-staged": "10.5.4",
|
"lint-staged": "10.5.4",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"prettier": "2.3.2",
|
"prettier": "2.3.2",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue