Skip to content

Commit

Permalink
chore: upgrade husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorrusakov committed Feb 27, 2024
1 parent 861ff8c commit 48ed494
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyze-dependents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
with:
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci --ignore-scripts
run: npm ci
working-directory: dependent-usage-analyzer
- name: Download dependent project checkouts
uses: actions/download-artifact@v2
Expand Down
3 changes: 0 additions & 3 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
11 changes: 6 additions & 5 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 @@ -47,7 +47,7 @@
"build-types": "tsc --emitDeclarationOnly",
"playroom:start": "npm run playroom:start --workspace=www",
"playroom:build": "npm run playroom:build --workspace=www",
"prepare": "husky install"
"prepare": "husky || true"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
Expand Down Expand Up @@ -123,7 +123,7 @@
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "^8.0.1",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-cli": "^28.1.2",
Expand Down

0 comments on commit 48ed494

Please sign in to comment.