Migrate Husky to v9 (#10403)

This commit is contained in:
Álvaro Mondéjar 2024-02-06 17:47:53 +01:00 committed by GitHub
parent 7616d6f235
commit fd8f577447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"
npm run format
git add -u

View File

@ -91,7 +91,7 @@
"esbuild": "0.19.4",
"fake-diff": "1.0.0",
"get-relative-luminance": "1.0.0",
"husky": "8.0.3",
"husky": "9.0.10",
"is-ci": "3.0.1",
"jsonschema": "1.4.1",
"markdown-link-check": "3.11.2",
@ -116,7 +116,7 @@
"jsonlint": "node scripts/lint/jsonlint.js",
"svglint": "svglint icons/*.svg --ci",
"wslint": "editorconfig-checker",
"prepare": "is-ci || husky install",
"prepare": "is-ci || husky",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"test": "mocha tests --reporter tests/min-reporter.cjs --inline-diffs",