Skip to content

Commit f05bbfd

Browse files
chore(deps-dev): bump husky from 4.3.8 to 6.0.0 (#100)
* chore(deps-dev): bump husky from 4.3.8 to 6.0.0 Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 6.0.0. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v4.3.8...v6.0.0) Signed-off-by: dependabot[bot] <[email protected]> * chore: upgrade hooks Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Chambon <[email protected]>
1 parent 5818b55 commit f05bbfd

File tree

6 files changed

+21
-58
lines changed

6 files changed

+21
-58
lines changed

.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1
5+

.husky/pre-commit

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+
yarn run lint-staged

.husky/pre-push

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+
yarn run lint-staged

package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"builtin-modules": "^3.2.0",
1818
"cross-env": "^7.0.3",
1919
"eslint": "^7.18.0",
20-
"husky": "^4.3.6",
20+
"husky": "^6.0.0",
2121
"jest": "^26.6.3",
2222
"jest-junit": "^12.0.0",
2323
"lerna": "4.0.0",
@@ -36,20 +36,14 @@
3636
"commit": "npx git-cz -a",
3737
"test": "jest",
3838
"test:watch": "yarn run test --watch",
39-
"test:coverage": "yarn run test --coverage"
39+
"test:coverage": "yarn run test --coverage",
40+
"prepare": "husky install"
4041
},
4142
"commitlint": {
4243
"extends": [
4344
"@commitlint/config-conventional"
4445
]
4546
},
46-
"husky": {
47-
"hooks": {
48-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
49-
"pre-commit": "lint-staged",
50-
"pre-push": "lint-staged"
51-
}
52-
},
5347
"lint-staged": {
5448
"*.js": [
5549
"prettier --write",

yarn.lock

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3350,11 +3350,6 @@ compare-func@^2.0.0:
33503350
array-ify "^1.0.0"
33513351
dot-prop "^5.1.0"
33523352

3353-
compare-versions@^3.6.0:
3354-
version "3.6.0"
3355-
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62"
3356-
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==
3357-
33583353
component-emitter@^1.2.1:
33593354
version "1.3.0"
33603355
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
@@ -4490,13 +4485,6 @@ find-up@^5.0.0:
44904485
locate-path "^6.0.0"
44914486
path-exists "^4.0.0"
44924487

4493-
find-versions@^4.0.0:
4494-
version "4.0.0"
4495-
resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965"
4496-
integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==
4497-
dependencies:
4498-
semver-regex "^3.1.2"
4499-
45004488
flat-cache@^3.0.4:
45014489
version "3.0.4"
45024490
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
@@ -5025,21 +5013,10 @@ humanize-ms@^1.2.1:
50255013
dependencies:
50265014
ms "^2.0.0"
50275015

5028-
husky@^4.3.6:
5029-
version "4.3.8"
5030-
resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d"
5031-
integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==
5032-
dependencies:
5033-
chalk "^4.0.0"
5034-
ci-info "^2.0.0"
5035-
compare-versions "^3.6.0"
5036-
cosmiconfig "^7.0.0"
5037-
find-versions "^4.0.0"
5038-
opencollective-postinstall "^2.0.2"
5039-
pkg-dir "^5.0.0"
5040-
please-upgrade-node "^3.2.0"
5041-
slash "^3.0.0"
5042-
which-pm-runs "^1.0.0"
5016+
husky@^6.0.0:
5017+
version "6.0.0"
5018+
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
5019+
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
50435020

50445021
[email protected], iconv-lite@^0.4.24:
50455022
version "0.4.24"
@@ -7086,11 +7063,6 @@ onetime@^5.1.0, onetime@^5.1.2:
70867063
dependencies:
70877064
mimic-fn "^2.1.0"
70887065

7089-
opencollective-postinstall@^2.0.2:
7090-
version "2.0.3"
7091-
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259"
7092-
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==
7093-
70947066
optionator@^0.8.1:
70957067
version "0.8.3"
70967068
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495"
@@ -7464,13 +7436,6 @@ pkg-dir@^4.2.0:
74647436
dependencies:
74657437
find-up "^4.0.0"
74667438

7467-
pkg-dir@^5.0.0:
7468-
version "5.0.0"
7469-
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760"
7470-
integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==
7471-
dependencies:
7472-
find-up "^5.0.0"
7473-
74747439
please-upgrade-node@^3.2.0:
74757440
version "3.2.0"
74767441
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942"
@@ -8192,11 +8157,6 @@ semver-compare@^1.0.0:
81928157
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
81938158
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
81948159

8195-
semver-regex@^3.1.2:
8196-
version "3.1.2"
8197-
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807"
8198-
integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==
8199-
82008160
"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0, semver@^5.7.1:
82018161
version "5.7.1"
82028162
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
@@ -9325,11 +9285,6 @@ which-module@^2.0.0:
93259285
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
93269286
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
93279287

9328-
which-pm-runs@^1.0.0:
9329-
version "1.0.0"
9330-
resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb"
9331-
integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=
9332-
93339288
which@^1.2.9, which@^1.3.1:
93349289
version "1.3.1"
93359290
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"

0 commit comments

Comments
 (0)