Skip to content

Commit

Permalink
Bump husky from 8.0.3 to 9.1.4 (#57)
Browse files Browse the repository at this point in the history
* Bump husky from 8.0.3 to 9.1.4

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.1.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v8.0.3...v9.1.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Liu <[email protected]>
  • Loading branch information
dependabot[bot] and david-yz-liu authored Aug 3, 2024
1 parent 710161e commit e489d20
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
lint-staged
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ For more information, check out the project [documentation website](https://www.
5. Install the pre-commit hooks to automatically format your code when you make commits:

```console
$ npx husky install
$ npm pkg set scripts.prepare="husky install"
$ npx husky add .husky/pre-commit "npx lint-staged"
$ npx husky init
```

### Automatic Javascript compilation
Expand Down
2 changes: 1 addition & 1 deletion memory-viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/jest": "^29.5.12",
"@types/node": "^20.10.5",
"babel-loader": "^9.1.0",
"husky": "^8.0.3",
"husky": "^9.1.4",
"jest": "^29.7.0",
"tmp": "^0.2.3",
"ts-loader": "^9.5.1",
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "jest --no-cache",
"test-cov": "jest --no-cache --coverage"
},
Expand All @@ -10,7 +10,7 @@
"docs"
],
"devDependencies": {
"husky": "^8.0.3",
"husky": "^9.1.4",
"lint-staged": "^14.0.1",
"prettier": "2.8.1"
},
Expand Down

0 comments on commit e489d20

Please sign in to comment.