Skip to content

Commit 24a00c4

Browse files
renovate[bot]renovate-botfelixfbecker
authored
chore(deps): update dependency husky to v6 (#66)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Felix Becker <felix.b@outlook.com>
1 parent 80ee94c commit 24a00c4

4 files changed

Lines changed: 18 additions & 139 deletions

File tree

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

package-lock.json

Lines changed: 10 additions & 132 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"firefox:start": "web-ext run",
1414
"firefox:build": "web-ext build --overwrite-dest",
1515
"firefox:watch": "web-ext build --as-needed --overwrite-dest",
16-
"semantic-release": "semantic-release"
16+
"semantic-release": "semantic-release",
17+
"prepare": "husky install"
1718
},
1819
"webExt": {
1920
"sourceDir": "./dist/"
@@ -27,11 +28,6 @@
2728
"@commitlint/config-conventional"
2829
]
2930
},
30-
"husky": {
31-
"hooks": {
32-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
33-
}
34-
},
3531
"dependencies": {
3632
"delay": "^5.0.0",
3733
"dom-to-svg": "^0.12.0",
@@ -50,7 +46,7 @@
5046
"@types/file-saver": "^2.0.2",
5147
"@types/firefox-webext-browser": "^82.0.0",
5248
"eslint": "^7.27.0",
53-
"husky": "^4.3.0",
49+
"husky": "^6.0.0",
5450
"parcel-bundler": "^1.12.5",
5551
"parcel-plugin-web-extension": "^1.6.1",
5652
"parcel-plugin-wrapper": "^0.2.3",

0 commit comments

Comments
 (0)