Skip to content

Commit

Permalink
build(deps-dev): bump husky from 4.3.8 to 8.0.3 (#106)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump husky from 4.3.8 to 8.0.3

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

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

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

* chore: correctly configure husky

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sarah <[email protected]>
  • Loading branch information
dependabot[bot] and sarahsporck authored Oct 5, 2023
1 parent 764a3eb commit fef88f3
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 221 deletions.
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
yarn generate
125 changes: 16 additions & 109 deletions .pnp.cjs

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

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
"unittest:single": "jest --testNamePattern",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepack": "yarn build:plugin",
"prepack": "pinst --disable && yarn build:plugin",
"test:plugin": "jest plugin",
"build:plugin": "tsc --build plugin",
"lint:plugin": "eslint plugin/src/*"
"lint:plugin": "eslint plugin/src/*",
"postinstall": "husky install",
"postpack": "pinst --enable"
},
"peerDependencies": {
"react": ">=16.6.1",
Expand Down Expand Up @@ -83,12 +85,13 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.0.0",
"expo-module-scripts": "^3.0.4",
"husky": "4.3.8",
"husky": "^8.0.0",
"jest": "^29.6.0",
"jest-cli": "^29.6.0",
"lint-staged": "^12.1.2",
"metro-react-native-babel-preset": "^0.76.7",
"node-dir": "0.1.17",
"pinst": "^3.0.0",
"prettier": "^2.0.4",
"prop-types": "^15.8.1",
"react": "^18.2.0",
Expand All @@ -113,11 +116,6 @@
"fixtures"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run generate"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn lint"
},
Expand Down
Loading

0 comments on commit fef88f3

Please sign in to comment.