Skip to content

Commit 8e94eb9

Browse files
authored
chore: update husky configs (#7337)
1 parent 10e9aef commit 8e94eb9

File tree

3 files changed

+13
-118
lines changed

3 files changed

+13
-118
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx --no-install lint-staged
1+
lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"cypress:open": "cypress open",
5757
"cypress:run": "cypress run --browser chrome",
5858
"prettier": "prettier --write '**/*.{js,json,jsx,css,scss,md,mdx}'",
59-
"prepare": "husky install && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer"
59+
"prepare": "husky && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer"
6060
},
6161
"lint-staged": {
6262
"*.{js,jsx,md,mdx}": [

yarn.lock

Lines changed: 11 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -195,17 +195,7 @@
195195
eslint-visitor-keys "^2.1.0"
196196
semver "^6.3.1"
197197

198-
"@babel/generator@^7.24.8", "@babel/generator@^7.24.9", "@babel/generator@^7.7.2":
199-
version "7.24.9"
200-
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.9.tgz#5c2575a1070e661bbbc9df82a853989c9a656f12"
201-
integrity sha512-G8v3jRg+z8IwY1jHFxvCNhOPYPterE4XljNgdGTYfSTtzzwjIswIzIaSPSLs3R7yFuqnqNeay5rjICfqVr+/6A==
202-
dependencies:
203-
"@babel/types" "^7.24.9"
204-
"@jridgewell/gen-mapping" "^0.3.5"
205-
"@jridgewell/trace-mapping" "^0.3.25"
206-
jsesc "^2.5.1"
207-
208-
"@babel/generator@^7.25.0":
198+
"@babel/generator@^7.24.8", "@babel/generator@^7.24.9", "@babel/generator@^7.25.0", "@babel/generator@^7.7.2":
209199
version "7.25.0"
210200
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.0.tgz#f858ddfa984350bc3d3b7f125073c9af6988f18e"
211201
integrity sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==
@@ -256,16 +246,7 @@
256246
"@babel/helper-split-export-declaration" "^7.24.7"
257247
semver "^6.3.1"
258248

259-
"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.24.7":
260-
version "7.24.7"
261-
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz#be4f435a80dc2b053c76eeb4b7d16dd22cfc89da"
262-
integrity sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA==
263-
dependencies:
264-
"@babel/helper-annotate-as-pure" "^7.24.7"
265-
regexpu-core "^5.3.1"
266-
semver "^6.3.1"
267-
268-
"@babel/helper-create-regexp-features-plugin@^7.25.0":
249+
"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.24.7", "@babel/helper-create-regexp-features-plugin@^7.25.0":
269250
version "7.25.0"
270251
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.0.tgz#17afe5d23b3a833a90f0fab9c2ae69fea192de5c"
271252
integrity sha512-q0T+dknZS+L5LDazIP+02gEZITG5unzvb6yIjcmj5i0eFrs5ToBV2m2JGH4EsE/gtP8ygEGLGApBgRIZkTm7zg==
@@ -307,15 +288,7 @@
307288
dependencies:
308289
"@babel/types" "^7.24.7"
309290

310-
"@babel/helper-member-expression-to-functions@^7.24.7":
311-
version "7.24.7"
312-
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz#67613d068615a70e4ed5101099affc7a41c5225f"
313-
integrity sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==
314-
dependencies:
315-
"@babel/traverse" "^7.24.7"
316-
"@babel/types" "^7.24.7"
317-
318-
"@babel/helper-member-expression-to-functions@^7.24.8":
291+
"@babel/helper-member-expression-to-functions@^7.24.7", "@babel/helper-member-expression-to-functions@^7.24.8":
319292
version "7.24.8"
320293
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz#6155e079c913357d24a4c20480db7c712a5c3fb6"
321294
integrity sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA==
@@ -331,18 +304,7 @@
331304
"@babel/traverse" "^7.24.7"
332305
"@babel/types" "^7.24.7"
333306

334-
"@babel/helper-module-transforms@^7.24.7", "@babel/helper-module-transforms@^7.24.8", "@babel/helper-module-transforms@^7.24.9":
335-
version "7.24.9"
336-
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.9.tgz#e13d26306b89eea569180868e652e7f514de9d29"
337-
integrity sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw==
338-
dependencies:
339-
"@babel/helper-environment-visitor" "^7.24.7"
340-
"@babel/helper-module-imports" "^7.24.7"
341-
"@babel/helper-simple-access" "^7.24.7"
342-
"@babel/helper-split-export-declaration" "^7.24.7"
343-
"@babel/helper-validator-identifier" "^7.24.7"
344-
345-
"@babel/helper-module-transforms@^7.25.0":
307+
"@babel/helper-module-transforms@^7.24.7", "@babel/helper-module-transforms@^7.24.8", "@babel/helper-module-transforms@^7.24.9", "@babel/helper-module-transforms@^7.25.0":
346308
version "7.25.0"
347309
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.0.tgz#3ffc23c473a2769a7e40d3274495bd559fdd2ecc"
348310
integrity sha512-bIkOa2ZJYn7FHnepzr5iX9Kmz8FjIz4UKzJ9zhX3dnYuVW0xul9RuR3skBfoLu+FPTQw90EHW9rJsSZhyLQ3fQ==
@@ -364,16 +326,7 @@
364326
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878"
365327
integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==
366328

367-
"@babel/helper-remap-async-to-generator@^7.24.7":
368-
version "7.24.7"
369-
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz#b3f0f203628522713849d49403f1a414468be4c7"
370-
integrity sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA==
371-
dependencies:
372-
"@babel/helper-annotate-as-pure" "^7.24.7"
373-
"@babel/helper-environment-visitor" "^7.24.7"
374-
"@babel/helper-wrap-function" "^7.24.7"
375-
376-
"@babel/helper-remap-async-to-generator@^7.25.0":
329+
"@babel/helper-remap-async-to-generator@^7.24.7", "@babel/helper-remap-async-to-generator@^7.25.0":
377330
version "7.25.0"
378331
resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.0.tgz#d2f0fbba059a42d68e5e378feaf181ef6055365e"
379332
integrity sha512-NhavI2eWEIz/H9dbrG0TuOicDhNexze43i5z7lEqwYm0WEZVTwnPpA0EafUTP7+6/W79HWIP2cTe3Z5NiSTVpw==
@@ -382,16 +335,7 @@
382335
"@babel/helper-wrap-function" "^7.25.0"
383336
"@babel/traverse" "^7.25.0"
384337

385-
"@babel/helper-replace-supers@^7.24.7":
386-
version "7.24.7"
387-
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz#f933b7eed81a1c0265740edc91491ce51250f765"
388-
integrity sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==
389-
dependencies:
390-
"@babel/helper-environment-visitor" "^7.24.7"
391-
"@babel/helper-member-expression-to-functions" "^7.24.7"
392-
"@babel/helper-optimise-call-expression" "^7.24.7"
393-
394-
"@babel/helper-replace-supers@^7.25.0":
338+
"@babel/helper-replace-supers@^7.24.7", "@babel/helper-replace-supers@^7.25.0":
395339
version "7.25.0"
396340
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.25.0.tgz#ff44deac1c9f619523fe2ca1fd650773792000a9"
397341
integrity sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg==
@@ -438,17 +382,7 @@
438382
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d"
439383
integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==
440384

441-
"@babel/helper-wrap-function@^7.24.7":
442-
version "7.24.7"
443-
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz#52d893af7e42edca7c6d2c6764549826336aae1f"
444-
integrity sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw==
445-
dependencies:
446-
"@babel/helper-function-name" "^7.24.7"
447-
"@babel/template" "^7.24.7"
448-
"@babel/traverse" "^7.24.7"
449-
"@babel/types" "^7.24.7"
450-
451-
"@babel/helper-wrap-function@^7.25.0":
385+
"@babel/helper-wrap-function@^7.24.7", "@babel/helper-wrap-function@^7.25.0":
452386
version "7.25.0"
453387
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.25.0.tgz#dab12f0f593d6ca48c0062c28bcfb14ebe812f81"
454388
integrity sha512-s6Q1ebqutSiZnEjaofc/UKDyC4SbzV5n5SrA2Gq8UawLycr3i04f1dX4OzoQVnexm6aOCh37SQNYlJ/8Ku+PMQ==
@@ -475,12 +409,7 @@
475409
js-tokens "^4.0.0"
476410
picocolors "^1.0.0"
477411

478-
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.24.7", "@babel/parser@^7.24.8":
479-
version "7.24.8"
480-
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.8.tgz#58a4dbbcad7eb1d48930524a3fd93d93e9084c6f"
481-
integrity sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==
482-
483-
"@babel/parser@^7.25.0":
412+
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.24.7", "@babel/parser@^7.24.8", "@babel/parser@^7.25.0":
484413
version "7.25.0"
485414
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.0.tgz#9fdc9237504d797b6e7b8f66e78ea7f570d256ad"
486415
integrity sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==
@@ -1259,16 +1188,7 @@
12591188
dependencies:
12601189
regenerator-runtime "^0.13.4"
12611190

1262-
"@babel/template@^7.24.7", "@babel/template@^7.3.3":
1263-
version "7.24.7"
1264-
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.7.tgz#02efcee317d0609d2c07117cb70ef8fb17ab7315"
1265-
integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==
1266-
dependencies:
1267-
"@babel/code-frame" "^7.24.7"
1268-
"@babel/parser" "^7.24.7"
1269-
"@babel/types" "^7.24.7"
1270-
1271-
"@babel/template@^7.25.0":
1191+
"@babel/template@^7.24.7", "@babel/template@^7.25.0", "@babel/template@^7.3.3":
12721192
version "7.25.0"
12731193
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a"
12741194
integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==
@@ -1277,23 +1197,7 @@
12771197
"@babel/parser" "^7.25.0"
12781198
"@babel/types" "^7.25.0"
12791199

1280-
"@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8":
1281-
version "7.24.8"
1282-
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.8.tgz#6c14ed5232b7549df3371d820fbd9abfcd7dfab7"
1283-
integrity sha512-t0P1xxAPzEDcEPmjprAQq19NWum4K0EQPjMwZQZbHt+GiZqvjCHjj755Weq1YRPVzBI+3zSfvScfpnuIecVFJQ==
1284-
dependencies:
1285-
"@babel/code-frame" "^7.24.7"
1286-
"@babel/generator" "^7.24.8"
1287-
"@babel/helper-environment-visitor" "^7.24.7"
1288-
"@babel/helper-function-name" "^7.24.7"
1289-
"@babel/helper-hoist-variables" "^7.24.7"
1290-
"@babel/helper-split-export-declaration" "^7.24.7"
1291-
"@babel/parser" "^7.24.8"
1292-
"@babel/types" "^7.24.8"
1293-
debug "^4.3.1"
1294-
globals "^11.1.0"
1295-
1296-
"@babel/traverse@^7.25.0":
1200+
"@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0":
12971201
version "7.25.0"
12981202
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.0.tgz#e8533c0a57ed97921d1e5b20dd3db63d3efaebf5"
12991203
integrity sha512-ubALThHQy4GCf6mbb+5ZRNmLLCI7bJ3f8Q6LHBSRlSKSWj5a7dSUzJBLv3VuIhFrFPgjF4IzPF567YG/HSCdZA==
@@ -1306,16 +1210,7 @@
13061210
debug "^4.3.1"
13071211
globals "^11.1.0"
13081212

1309-
"@babel/types@^7.0.0", "@babel/types@^7.21.3", "@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.24.9", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
1310-
version "7.24.9"
1311-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.9.tgz#228ce953d7b0d16646e755acf204f4cf3d08cc73"
1312-
integrity sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==
1313-
dependencies:
1314-
"@babel/helper-string-parser" "^7.24.8"
1315-
"@babel/helper-validator-identifier" "^7.24.7"
1316-
to-fast-properties "^2.0.0"
1317-
1318-
"@babel/types@^7.25.0":
1213+
"@babel/types@^7.0.0", "@babel/types@^7.21.3", "@babel/types@^7.24.7", "@babel/types@^7.24.8", "@babel/types@^7.24.9", "@babel/types@^7.25.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
13191214
version "7.25.0"
13201215
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.0.tgz#e6e3656c581f28da8452ed4f69e38008ec0ba41b"
13211216
integrity sha512-LcnxQSsd9aXOIgmmSpvZ/1yo46ra2ESYyqLcryaBZOghxy5qqOBjvCWP5JfkI8yl9rlxRgdLTTMCQQRcN2hdCg==

0 commit comments

Comments
 (0)