Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump husky from 4.3.8 to 8.0.3 #106

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading