Update Husky
This commit is contained in:
parent
146274ebf2
commit
c432d71b36
3 changed files with 7 additions and 10 deletions
|
@ -1,10 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
# This file is part of Share₂Fedi
|
# This file is part of Share₂Fedi
|
||||||
# https://github.com/kytta/share2fedi
|
# https://github.com/kytta/share2fedi
|
||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <me@kytta.dev>
|
# SPDX-FileCopyrightText: © 2023 Nikita Karamov <me@kytta.dev>
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
. "$(dirname -- "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
"fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro",
|
"fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro",
|
||||||
"fix:stylelint": "stylelint --fix",
|
"fix:stylelint": "stylelint --fix",
|
||||||
"test": "pnpm run check",
|
"test": "pnpm run check",
|
||||||
"prepare": "husky install"
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
|
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-astro": "^0.31.4",
|
"eslint-plugin-astro": "^0.31.4",
|
||||||
"eslint-plugin-unicorn": "^51.0.1",
|
"eslint-plugin-unicorn": "^51.0.1",
|
||||||
"husky": "^8.0.3",
|
"husky": "^9.0.10",
|
||||||
"lint-staged": "^14.0.1",
|
"lint-staged": "^14.0.1",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"prettier-plugin-astro": "^0.13.0",
|
"prettier-plugin-astro": "^0.13.0",
|
||||||
|
|
|
@ -56,8 +56,8 @@ devDependencies:
|
||||||
specifier: ^51.0.1
|
specifier: ^51.0.1
|
||||||
version: 51.0.1(eslint@8.56.0)
|
version: 51.0.1(eslint@8.56.0)
|
||||||
husky:
|
husky:
|
||||||
specifier: ^8.0.3
|
specifier: ^9.0.10
|
||||||
version: 8.0.3
|
version: 9.0.10
|
||||||
lint-staged:
|
lint-staged:
|
||||||
specifier: ^14.0.1
|
specifier: ^14.0.1
|
||||||
version: 14.0.1
|
version: 14.0.1
|
||||||
|
@ -3291,9 +3291,9 @@ packages:
|
||||||
engines: {node: '>=16.17.0'}
|
engines: {node: '>=16.17.0'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/husky@8.0.3:
|
/husky@9.0.10:
|
||||||
resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
|
resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
|
Reference in a new issue