Skip to content

Commit 2977463

Browse files
committed
bs-react-native-jsx3-compat: release 0.11.1
1 parent 09b5746 commit 2977463

3 files changed

Lines changed: 30 additions & 9 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bs-react-native-jsx3-compat CHANGELOG
2+
3+
## 0.11.1 - 2019-06-17
4+
5+
✨ Initial release.
6+
7+
See
8+
https://reasonml-community.github.io/reason-react-native/en/docs/migration/jsx3/
9+
for more information.
Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bs-react-native-jsx3-compat",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"repository": "https://github.com/reasonml-community/reason-react-native.git",
55
"license": "MIT",
66
"keywords": [
@@ -9,6 +9,14 @@
99
"bucklescript",
1010
"react-native"
1111
],
12+
"files": [
13+
"*",
14+
"!.DS_Store",
15+
"!**/*.bs.js",
16+
"!.merlin",
17+
"!lib/bs",
18+
"!lib/ocaml"
19+
],
1220
"scripts": {
1321
"re:clean": "bsb -clean-world",
1422
"re:start": "bsb -make-world -w",
@@ -17,12 +25,13 @@
1725
"clean": "yarn re:clean",
1826
"test": "yarn re:clean-build"
1927
},
20-
"devDependencies": {
21-
"bs-platform": "^5.0.4",
22-
"reason-react": "^0.7.0"
23-
},
2428
"peerDependencies": {
2529
"react-native": "^0.53.3",
30+
"reason-react": "^0.7.0",
31+
"reason-react-native": "^0.60.0"
32+
},
33+
"devDependencies": {
34+
"bs-platform": "^5.0.4",
2635
"reason-react": "^0.7.0"
2736
}
2837
}

‎website/docs/migration/jsx3.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ coupled with our compatibility layer `bs-react-native-jsx3-compat`
1717

1818
So first,
1919

20+
- Install `reason-react-native@^0.60.0` via yarn or npm,
21+
- Replace `bs-react-native` with `bs-react-native-jsx3-compat` (`^0.11.1`) in
22+
your `package.json`,
2023
- be sure that you use `bs-platform@^5.0.1`
2124
- ⚠️ be sure to use
2225
`"reason-react": "https://github.com/reasonml/reason-react.git#835b90c"`
23-
(until 0.7.1 or 0.8 is out)
24-
- use `react@^16.8.0`
25-
- add `reason-react-compat@^0.4.0`
26-
- (if needed, upgrade some deps (eg: `reason-apollo@^0.16.0`))
26+
(until 0.7.1 or 0.8 is out),
27+
- use `react@^16.8.0`,
28+
- add `reason-react-compat@^0.4.0`,
29+
- (if needed, upgrade some deps (eg: `reason-apollo@^0.16.0`)),
2730
- use https://github.com/bloodyowl/upgrade-reason-react-esy
2831

2932
---

0 commit comments

Comments
 (0)