Skip to content

Commit 6970e4a

Browse files
dependabot[bot]chambo-e
authored andcommitted
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] <support@github.com> * chore: upgrade hooks Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Chambon <echambon@scaleway.com>
1 parent 2ddf202 commit 6970e4a

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
@@ -21,7 +21,7 @@
2121
"builtin-modules": "^3.2.0",
2222
"cross-env": "^7.0.3",
2323
"eslint": "^7.18.0",
24-
"husky": "^4.3.6",
24+
"husky": "^6.0.0",
2525
"jest": "^26.6.3",
2626
"jest-junit": "^12.0.0",
2727
"jest-localstorage-mock": "^2.4.8",
@@ -41,20 +41,14 @@
4141
"commit": "npx git-cz -a",
4242
"test": "jest",
4343
"test:watch": "yarn run test --watch",
44-
"test:coverage": "yarn run test --coverage"
44+
"test:coverage": "yarn run test --coverage",
45+
"prepare": "husky install"
4546
},
4647
"commitlint": {
4748
"extends": [
4849
"@commitlint/config-conventional"
4950
]
5051
},
51-
"husky": {
52-
"hooks": {
53-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
54-
"pre-commit": "lint-staged",
55-
"pre-push": "lint-staged"
56-
}
57-
},
5852
"lint-staged": {
5953
"*.js": [
6054
"prettier --write",

yarn.lock

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3366,11 +3366,6 @@ compare-func@^2.0.0:
33663366
array-ify "^1.0.0"
33673367
dot-prop "^5.1.0"
33683368

3369-
compare-versions@^3.6.0:
3370-
version "3.6.0"
3371-
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62"
3372-
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==
3373-
33743369
component-emitter@^1.2.1:
33753370
version "1.3.0"
33763371
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
@@ -4516,13 +4511,6 @@ find-up@^5.0.0:
45164511
locate-path "^6.0.0"
45174512
path-exists "^4.0.0"
45184513

4519-
find-versions@^4.0.0:
4520-
version "4.0.0"
4521-
resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965"
4522-
integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==
4523-
dependencies:
4524-
semver-regex "^3.1.2"
4525-
45264514
flat-cache@^3.0.4:
45274515
version "3.0.4"
45284516
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
@@ -5051,21 +5039,10 @@ humanize-ms@^1.2.1:
50515039
dependencies:
50525040
ms "^2.0.0"
50535041

5054-
husky@^4.3.6:
5055-
version "4.3.8"
5056-
resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d"
5057-
integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==
5058-
dependencies:
5059-
chalk "^4.0.0"
5060-
ci-info "^2.0.0"
5061-
compare-versions "^3.6.0"
5062-
cosmiconfig "^7.0.0"
5063-
find-versions "^4.0.0"
5064-
opencollective-postinstall "^2.0.2"
5065-
pkg-dir "^5.0.0"
5066-
please-upgrade-node "^3.2.0"
5067-
slash "^3.0.0"
5068-
which-pm-runs "^1.0.0"
5042+
husky@^6.0.0:
5043+
version "6.0.0"
5044+
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
5045+
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
50695046

50705047
iconv-lite@0.4.24, iconv-lite@^0.4.24:
50715048
version "0.4.24"
@@ -7144,11 +7121,6 @@ onetime@^5.1.0, onetime@^5.1.2:
71447121
dependencies:
71457122
mimic-fn "^2.1.0"
71467123

7147-
opencollective-postinstall@^2.0.2:
7148-
version "2.0.3"
7149-
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259"
7150-
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==
7151-
71527124
optionator@^0.8.1:
71537125
version "0.8.3"
71547126
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495"
@@ -7522,13 +7494,6 @@ pkg-dir@^4.2.0:
75227494
dependencies:
75237495
find-up "^4.0.0"
75247496

7525-
pkg-dir@^5.0.0:
7526-
version "5.0.0"
7527-
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760"
7528-
integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==
7529-
dependencies:
7530-
find-up "^5.0.0"
7531-
75327497
please-upgrade-node@^3.2.0:
75337498
version "3.2.0"
75347499
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942"
@@ -8250,11 +8215,6 @@ semver-compare@^1.0.0:
82508215
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
82518216
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
82528217

8253-
semver-regex@^3.1.2:
8254-
version "3.1.2"
8255-
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807"
8256-
integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==
8257-
82588218
"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0, semver@^5.7.1:
82598219
version "5.7.1"
82608220
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
@@ -9388,11 +9348,6 @@ which-module@^2.0.0:
93889348
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
93899349
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
93909350

9391-
which-pm-runs@^1.0.0:
9392-
version "1.0.0"
9393-
resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb"
9394-
integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=
9395-
93969351
which@^1.2.9, which@^1.3.1:
93979352
version "1.3.1"
93989353
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"

0 commit comments

Comments
 (0)