Skip to content

Commit

Permalink
chore: update husky to 8.0.3 to avoid use execa (#160)
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <wonglam@amazon.com>
  • Loading branch information
wanglam authored May 23, 2023
1 parent 5a0e5ae commit 6a3faee
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 375 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@
"plugin-helpers": "node ../../scripts/plugin_helpers",
"osd": "node ../../scripts/osd",
"lint:es": "node ../../scripts/eslint",
"test:jest": "../../node_modules/.bin/jest --config ./test/jest.config.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"test:jest": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"prepare": "husky install"
},
"dependencies": {},
"devDependencies": {
"@testing-library/user-event": "^14.4.3",
"husky": "^3.0.0",
"husky": "^8.0.0",
"lint-staged": "^10.0.0"
}
}
Loading

0 comments on commit 6a3faee

Please sign in to comment.