Skip to content

Commit e077974

Browse files
committed
5.2.0
1 parent 3a76951 commit e077974

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog of `rescript-react-navigation`
22

3+
## 5.2.0 - 2021-09-18
4+
5+
- ReScript migration [3a76951](https://github.com/rescript-react-native/rescript-react-navigation/commit/3a76951) by [@cem2ran](https://github.com/cem2ran) & [@Freddy03h](https://github.com/Freddy03h)
6+
- Fix `bottomTabBarProps` instead of `bottomTabBarOptions` [3a76951](https://github.com/rescript-react-native/rescript-react-navigation/commit/3a76951) by [@Freddy03h](https://github.com/Freddy03h)
7+
- Add `materialTopTabBarOptions` and `bottomTabBarOptions` creation functions [3a76951](https://github.com/rescript-react-native/rescript-react-navigation/commit/3a76951) by [@Freddy03h](https://github.com/Freddy03h)
8+
39
## 5.1.3 - 2021-05-03
410

511
ReScript

package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rescript-react-navigation",
33
"description": "ReScript bindings for react-navigation.",
4-
"version": "5.1.3",
4+
"version": "5.2.0",
55
"peerDependencies": {
66
"@react-navigation/bottom-tabs": "^5.0.0",
77
"@react-navigation/drawer": "^5.0.0",
@@ -25,16 +25,15 @@
2525
"files": [
2626
"*.md",
2727
"bsconfig.json",
28-
"src/**/*.re",
2928
"src/**/*.res",
3029
"src/**/*.resi",
3130
"src/**/*.js",
3231
"!src/**/*.bs.js"
3332
],
3433
"scripts": {
3534
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
36-
"format:re": "find . -name \"*.re\" -or -name \"*.rei\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
37-
"format": "yarn format:most && yarn format:re",
35+
"format:res": "rescript format -all",
36+
"format": "yarn format:most && yarn format:res",
3837
"re:start": "rescript -w",
3938
"re:build": "rescript",
4039
"re:clean-build": "rescript clean && rescript",
@@ -56,12 +55,8 @@
5655
"trailingComma": "all"
5756
},
5857
"lint-staged": {
59-
"*.{md,json,js,css}": [
60-
"prettier --write"
61-
],
62-
"*.{re,rei}": [
63-
"bsrefmt --in-place"
64-
]
58+
"*.{md,json,js,css}": "prettier --write",
59+
"*.{res,resi}": "rescript format"
6560
},
6661
"husky": {
6762
"hooks": {

0 commit comments

Comments
 (0)