Skip to content

Commit a102f4c

Browse files
Support tasks for dependency upgrade support (#288)
* [deps]: Update husky to v9 * switch to husky v9 conventions * bump prettier version * prettier formatting changes * do not track husky shell script --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 7ced02c commit a102f4c

File tree

6 files changed

+15
-55
lines changed

6 files changed

+15
-55
lines changed

.husky/.gitignore

-1
This file was deleted.

.husky/_/husky.sh

-36
This file was deleted.

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package-lock.json

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"typecheck": "tsc",
2727
"prettier": "prettier --write .",
2828
"lint": "prettier --check .",
29-
"prepare": "husky install",
29+
"prepare": "husky",
3030
"spellcheck": "cspell lint \"**/*.md{x,}\""
3131
},
3232
"dependencies": {
@@ -44,9 +44,9 @@
4444
"@docusaurus/tsconfig": "3.1.1",
4545
"@types/react": "18.2.48",
4646
"cspell": "8.3.2",
47-
"husky": "8.0.3",
47+
"husky": "9.0.7",
4848
"lint-staged": "15.2.0",
49-
"prettier": "3.2.2",
49+
"prettier": "3.2.4",
5050
"typescript": "5.3.3"
5151
},
5252
"browserslist": {

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// This file is not used in compilation. It is here just for a nice editor experience.
33
"extends": "@docusaurus/tsconfig",
44
"compilerOptions": {
5-
"baseUrl": "."
6-
}
5+
"baseUrl": ".",
6+
},
77
}

0 commit comments

Comments
 (0)