Skip to content

Commit b2c503f

Browse files
authored
chore(deps): update husky to v9 (#2081)
1 parent fb8e8e2 commit b2c503f

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
# listings staged files only
52
fileList=$(git diff --diff-filter=AM --cached --name-only)
63

package-lock.json

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"postcreate-static-analysis-report": "mongodb-sbom-tools sarif-to-markdown --sarif=.sbom/codeql.sarif.json --md=.sbom/codeql.md",
6767
"where": "monorepo-where",
6868
"reformat": "npm run reformat --workspaces --if-present",
69-
"prepare": "husky install",
69+
"prepare": "husky",
7070
"precommit": "precommit",
7171
"preinstall": "node scripts/sort-workspaces.js"
7272
},
@@ -108,7 +108,7 @@
108108
"duplexpair": "^1.0.2",
109109
"find-up": "^5.0.0",
110110
"glob": "^10.3.12",
111-
"husky": "^8.0.3",
111+
"husky": "^9.0.11",
112112
"mocha": "^10.2.0",
113113
"mongodb": "^6.7.0",
114114
"mongodb-runner": "^5.6.1",

0 commit comments

Comments
 (0)