Skip to content

Commit

Permalink
chore: updated husky (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten committed Dec 21, 2024
1 parent a58238f commit 5dabadf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "Checking commit message"

# Check for issue number
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

echo '🏗️👷 Checking your project before committing'

# Check Prettier
Expand Down
18 changes: 9 additions & 9 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
Expand Up @@ -26,7 +26,7 @@
"start": "npx serve out",
"lint": "next lint --dir .",
"check-format": "prettier --check .",
"prepare": "husky install ./.husky",
"prepare": "husky",
"test": "jest --watch",
"test:e2e": "playwright test",
"get-cellxgene-projects-hca": "esrun ./site-config/hca-dcp/dev/scripts/get-cellxgene-projects.ts ",
Expand Down Expand Up @@ -93,7 +93,7 @@
"eslint-plugin-typescript-sort-keys": "^3.3.0",
"got": "^14.4.5",
"gray-matter": "^4.0.3",
"husky": "^8.0.3",
"husky": "^9.1.7",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"next-mdx-remote": "^4.2.0",
Expand Down

0 comments on commit 5dabadf

Please sign in to comment.