Skip to content

Commit 21a967f

Browse files
chore(deps): update dependency husky to v9 (#762)
* chore(deps): update dependency husky to v9 * build: migrate to husky v9 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Adam Setch <adam.setch@outlook.com>
1 parent 002a292 commit 21a967f

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpx lint-staged
52
pnpm test -- --onlyChanged

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"prettier:apply": "prettier --write 'src/**/*.{js,ts,tsx}'",
1414
"test": "jest",
1515
"start": "electron . --enable-logging",
16-
"prepare": "husky install"
16+
"prepare": "husky"
1717
},
1818
"repository": {
1919
"type": "git",
@@ -125,7 +125,7 @@
125125
"css-loader": "6.10.0",
126126
"electron": "22.3.27",
127127
"electron-builder": "24.13.0",
128-
"husky": "8.0.3",
128+
"husky": "9.0.11",
129129
"jest": "29.7.0",
130130
"jest-environment-jsdom": "29.7.0",
131131
"nock": "13.5.1",
@@ -144,4 +144,4 @@
144144
"lint-staged": {
145145
"*.{md,js,ts,tsx}": "prettier --write"
146146
}
147-
}
147+
}

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)