Skip to content

Commit 4731f71

Browse files
committed
fix: 更新git钩子避免提交失败,更新react-native-screens http-errors 避免运行失败
解决方案:NA 影响范围:all 关联工单:NA 更新版本:NA
1 parent 4e328ca commit 4731f71

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
"@fruits-chain/react-native-xiaoshu": "^0.3.16",
1313
"@react-navigation/native": "^6.1.14",
1414
"@react-navigation/native-stack": "^6.9.22",
15+
"http-errors": "^1.8.1",
1516
"rc-field-form": "^1.40.0",
1617
"react": "18.2.0",
1718
"react-native": "0.72.6",
1819
"react-native-buffer": "^6.0.3",
1920
"react-native-localize": "1.4.0",
2021
"react-native-safe-area-context": "^4.7.3",
21-
"react-native-screens": "^3.29.0",
22+
"react-native-screens": "3.29.0",
2223
"react-native-svg": "^13.14.0"
2324
},
2425
"devDependencies": {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"typecheck": "tsc --noEmit",
3232
"lint": "eslint \"**/*.{js,ts,tsx}\"",
3333
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
34-
"prepare": "bob build",
34+
"prepare": "husky",
3535
"release": "release-it"
3636
},
3737
"keywords": [
@@ -50,10 +50,11 @@
5050
"registry": "https://registry.npmjs.org/"
5151
},
5252
"devDependencies": {
53-
"@commitlint/config-conventional": "^17.0.2",
53+
"@commitlint/cli": "19.7.1",
54+
"@commitlint/config-conventional": "19.7.1",
5455
"@evilmartians/lefthook": "^1.5.0",
5556
"@react-native/eslint-config": "^0.72.2",
56-
"@release-it/conventional-changelog": "^5.0.0",
57+
"@release-it/conventional-changelog": "^10.0.0",
5758
"@types/jest": "^28.1.2",
5859
"@types/react": "~17.0.21",
5960
"@types/react-native": "0.70.0",
@@ -159,5 +160,4 @@
159160
]
160161
]
161162
}
162-
163163
}

0 commit comments

Comments
 (0)