Skip to content

Commit 96bdc5a

Browse files
committed
Move repo
1 parent 7ac7a9e commit 96bdc5a

24 files changed

Lines changed: 102 additions & 147 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ aliases:
7878
git config user.email "nobody@circleci.com"
7979
git config user.name "CircleCI"
8080
81-
git remote add origin https://${GITHUB_TOKEN}@github.com/reasonml-community/bs-react-native.git
81+
git remote add origin https://${GITHUB_TOKEN}@github.com/reasonml-community/reason-react-native.git
8282
8383
git add . --force
8484
git commit -m "Website update [ci skip]"

‎CHANGELOG.md‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This release mostly add some missing stuffs, and fixes some.
1515

1616
> We have highlighted most significant changes below. You can see the full list
1717
> of commits
18-
> [here](https://github.com/reasonml-community/bs-react-native/compare/v0.10.0...v0.11.0).
18+
> [here](https://github.com/reasonml-community/reason-react-native/compare/v0.10.0...v0.11.0).
1919
2020
### Notable changes
2121

@@ -60,7 +60,7 @@ This release mostly add some missing stuffs, and fixes some.
6060

6161
This is the biggest release we have done in a while. It is a result of hard work
6262
done by
63-
[`bs-react-native`](https://github.com/reasonml-community/bs-react-native/graphs/contributors)
63+
[`bs-react-native`](https://github.com/reasonml-community/reason-react-native/graphs/contributors)
6464
and [`rebolt`](https://github.com/callstackincubator/rebolt/graphs/contributors)
6565
teams.
6666

@@ -77,7 +77,7 @@ I also would like to thank all contributors that made this project possible. Due
7777
to the complicated nature of merging `rebolt` and `bs-react-native` together,
7878
some of the contribution attributions were lost in the process. Make sure to
7979
check the
80-
[full list our contributors](https://github.com/reasonml-community/bs-react-native/blob/master/CONTRIBUTORS.md)
80+
[full list our contributors](https://github.com/reasonml-community/reason-react-native/blob/master/CONTRIBUTORS.md)
8181
for details.
8282

8383
Meanwhile, see the changelog below for a full list of new features and breaking
@@ -87,19 +87,19 @@ changes.
8787

8888
> We have highlighted most significant changes below. You can see the full list
8989
> of commits
90-
> [here](https://github.com/reasonml-community/bs-react-native/compare/v0.9.0...v0.10.0).
90+
> [here](https://github.com/reasonml-community/reason-react-native/compare/v0.9.0...v0.10.0).
9191
9292
- Added missing bindings to the following:
93-
[`ToastAndroid`](https://github.com/reasonml-community/bs-react-native/commit/c00f02fe224fffc28fa7bb722a4bfcdbc262fd5f),
94-
[`TimePickerAndroid`](https://github.com/reasonml-community/bs-react-native/pull/233),
95-
[`PermissionsAndroid`](https://github.com/reasonml-community/bs-react-native/pull/230),
96-
[`PickerIOS`](https://github.com/reasonml-community/bs-react-native/pull/215),
97-
[`ViewPagerAndroid`](https://github.com/reasonml-community/bs-react-native/pull/220),
98-
[`TouchableNativeFeedback`](https://github.com/reasonml-community/bs-react-native/pull/219),
99-
[`SnapshotViewIOS`](https://github.com/reasonml-community/bs-react-native/pull/218),
100-
[`ProgressBarAndroid`](https://github.com/reasonml-community/bs-react-native/pull/217),
101-
[`MaskedView`](https://github.com/reasonml-community/bs-react-native/pull/216),
102-
[`ProgressViewIOS`](https://github.com/reasonml-community/bs-react-native/pull/221),
93+
[`ToastAndroid`](https://github.com/reasonml-community/reason-react-native/commit/c00f02fe224fffc28fa7bb722a4bfcdbc262fd5f),
94+
[`TimePickerAndroid`](https://github.com/reasonml-community/reason-react-native/pull/233),
95+
[`PermissionsAndroid`](https://github.com/reasonml-community/reason-react-native/pull/230),
96+
[`PickerIOS`](https://github.com/reasonml-community/reason-react-native/pull/215),
97+
[`ViewPagerAndroid`](https://github.com/reasonml-community/reason-react-native/pull/220),
98+
[`TouchableNativeFeedback`](https://github.com/reasonml-community/reason-react-native/pull/219),
99+
[`SnapshotViewIOS`](https://github.com/reasonml-community/reason-react-native/pull/218),
100+
[`ProgressBarAndroid`](https://github.com/reasonml-community/reason-react-native/pull/217),
101+
[`MaskedView`](https://github.com/reasonml-community/reason-react-native/pull/216),
102+
[`ProgressViewIOS`](https://github.com/reasonml-community/reason-react-native/pull/221),
103103
- Added a brand new documentation, available
104104
[here](http://reasonml-community.github.io/bs-react-native). We are working
105105
hard on adding more any more examples. So far,
@@ -111,16 +111,16 @@ changes.
111111
development or have any questions regarding using it in production,
112112
- Improved typing in many modules to be more accurate with what React Native
113113
expects, including
114-
[`focus` and `blur` method on `TextInput`](https://github.com/reasonml-community/bs-react-native/commit/fd0ffc78ccc4e86ce9278d7a457db32cb0856dbf),
115-
[`FlatList`'s `scrollToOffset`](https://github.com/reasonml-community/bs-react-native/commit/875605480825630daaa4445171a156b5f6e9a84c),
116-
[`WebView`'s `onMessage`](https://github.com/reasonml-community/bs-react-native/commit/f65edea9ac0b84e7c956caecc7148ab90f46a491)
114+
[`focus` and `blur` method on `TextInput`](https://github.com/reasonml-community/reason-react-native/commit/fd0ffc78ccc4e86ce9278d7a457db32cb0856dbf),
115+
[`FlatList`'s `scrollToOffset`](https://github.com/reasonml-community/reason-react-native/commit/875605480825630daaa4445171a156b5f6e9a84c),
116+
[`WebView`'s `onMessage`](https://github.com/reasonml-community/reason-react-native/commit/f65edea9ac0b84e7c956caecc7148ab90f46a491)
117117
and
118-
[more](https://github.com/reasonml-community/bs-react-native/commit/65af108bbcd9b8a98056e3ca4245bcfbed52b5e0),
118+
[more](https://github.com/reasonml-community/reason-react-native/commit/65af108bbcd9b8a98056e3ca4245bcfbed52b5e0),
119119
- Created a brand new
120-
[React Native generator](https://github.com/reasonml-community/bs-react-native/commit/bac87534cd78e73ae8f452414fe5fa69b4100202)
120+
[React Native generator](https://github.com/reasonml-community/reason-react-native/commit/bac87534cd78e73ae8f452414fe5fa69b4100202)
121121
for easier experience getting started,
122122
- Added
123-
[Code of Conduct](https://github.com/reasonml-community/bs-react-native/blob/master/CONTRIBUTORS.md)
123+
[Code of Conduct](https://github.com/reasonml-community/reason-react-native/blob/master/CONTRIBUTORS.md)
124124

125125
## Breaking changes
126126

@@ -159,7 +159,7 @@ Article releted:
159159

160160
- [Announcing Rebolt](https://blog.callstack.io/announcing-rebolt-207a1686a242)
161161
(@grabbou)
162-
- [Merging Rebolt v1 back to bs-react-native](https://github.com/reasonml-community/bs-react-native/issues/204)
162+
- [Merging Rebolt v1 back to bs-react-native](https://github.com/reasonml-community/reason-react-native/issues/204)
163163
(@knowbody)
164164

165165
### Fixed 🔧

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ or #bucklescript. Everybody is really welcoming and helpful!
3636
## Setup Development
3737

3838
```sh
39-
git clone https://github.com/BuckleTypes/bs-react-native.git
40-
cd bs-react-native
39+
git clone https://github.com/reasonml-community/reason-react-native.git
40+
cd reason-react-native-monorepo
4141
yarn
4242
```
4343

‎CONTRIBUTORS.md‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎README.md‎

Lines changed: 13 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# BuckleScript bindings for React Native
1+
# Reason bindings for React Native
22

3-
[![Build Status][build-badge]][build] [![Version][version-badge]][package]
4-
[![React Native][react-native-badge]][react-native]
5-
[![All Contributors][all-contributors-badge]][contributors]
6-
[![Chat][chat-badge]][chat]
3+
[![Build Status][https://img.shields.io/circleci/project/github/reasonml-community/reason-react-native/master.svg]][https://circleci.com/gh/reasonml-community/reason-react-native]
4+
[![Version][https://img.shields.io/npm/v/reason-react-native.svg]][https://www.npmjs.com/package/reason-react-native]
5+
[![Chat][https://img.shields.io/discord/496273792503513089.svg?logo=discord&colorb=blue]][https://discord.gg/eau3z6q]
76

87
[BuckleScript](https://bucklescript.github.io) bindings for
98
[React Native](https://github.com/facebook/react-native) allows to use
@@ -19,62 +18,36 @@ If you use this bindings from the git repo, be sure to use
1918
{
2019
// ...
2120
"bs-dependencies": [
22-
// BsReactNative, current "stable" bindings
23-
"bs-react-native-monorepo/bs-react-native",
24-
25-
// or alternatively, you probably wants (require bs-platform 5.0.1 & and reason-react 0.7)
2621
// bs-react-native, but compatible with jsx3
27-
"bs-react-native-monorepo/bs-react-native-jsx3-compat",
22+
"reason-react-native-monorepo/bs-react-native-jsx3-compat",
2823
// new ReactNative, WIP on zero-cost bindings
29-
"bs-react-native-monorepo/reason-react-native"
24+
"reason-react-native-monorepo/reason-react-native"
3025
},
3126
// When used from git with the following path, bs-platform will use path that won't be working
3227
// (because deps are pointing to folder in folder)`
33-
// Your bundler (metro or webpack) will say that it can find `bs-react-native/whatever` and/or
34-
// `reason-react-native/whatever`
35-
// which is correct because it should be `bs-react-native/bs-react-native/whatever` / `bs-react-native/reason-react-native/whatever`
28+
// Your bundler (metro or webpack) will say that it can find and/or `reason-react-native/whatever`
29+
// which is correct because it should be `reason-react-native-monorepo/reason-react-native/whatever`
3630
// the trick below will correct path in generated JavaScript files
3731
// and will just need to be removed when you won't use git directly anymore
3832
"js-post-build": {
39-
"cmd": "./node_modules/bs-react-native-monorepo/git-monorepo-usage-trick"
33+
"cmd": "./node_modules/reason-react-native-monorepo/git-monorepo-usage-trick"
4034
// if this tricky script doesn't work for you correctly, try
41-
// "cmd": "./node_modules/bs-react-native-monorepo/git-monorepo-usage-trick-node"
35+
// "cmd": "./node_modules/reason-react-native-monorepo/git-monorepo-usage-trick-node"
4236
}
4337
}
4438
```
4539

46-
Did you notice `bs-react-native-jsx3-compat` ? See migration instructions so you
47-
can slowly migrate to new `reason-react-native` bindings.
48-
49-
_Next `reason-react-native` (`open ReactNative;`) - zero-cost bindings - are
50-
still WIP, so use carefully at your own risk._
51-
52-
## ⚠️ ReactNative zero-cost bindings setup with Reason React hooks
53-
54-
Things you need
55-
56-
- `package.json` dep: `"bs-platform": "^5.0.4"`
57-
- `package.json` dep: `"reason-react": "^0.7.0"`
58-
- `bsconfig.json`: `"reason": { "react-jsx": 3 }`
59-
6040
---
6141

6242
## Getting Started
6343

6444
Check our
65-
[getting started](https://reasonml-community.github.io/bs-react-native/BsReactNative/gettingstarted.html)
45+
[getting started](https://reasonml-community.github.io/reason-react-native/en/docs/)
6646
guide for details.
6747

68-
You can run the [playground](./example) with Expo:
69-
https://expo.io/@grabbou/bs-react-native.
70-
7148
## Documentation
7249

73-
See https://reasonml-community.github.io/bs-react-native.
74-
75-
## Usage
76-
77-
See https://github.com/reasonml-community/bs-react-native/tree/master/example
50+
See https://reasonml-community.github.io/reason-react-native.
7851

7952
## Contribute
8053

@@ -88,23 +61,5 @@ releases.
8861
## Code of Conduct
8962

9063
We want this community to be friendly and respectful to each other. Please read
91-
[the full text](https://github.com/reasonml-community/bs-react-native/blob/master/CODE_OF_CONDUCT.md)
64+
[the full text](https://github.com/reasonml-community/reason-react-native/blob/master/CODE_OF_CONDUCT.md)
9265
so that you can understand what actions will and will not be tolerated.
93-
94-
<!-- badges -->
95-
96-
[build-badge]:
97-
https://img.shields.io/circleci/project/github/reasonml-community/bs-react-native/master.svg
98-
[build]: https://circleci.com/gh/reasonml-community/bs-react-native
99-
[version-badge]: https://img.shields.io/npm/v/bs-react-native.svg
100-
[package]: https://www.npmjs.com/package/bs-react-native
101-
[all-contributors-badge]:
102-
https://img.shields.io/badge/all_contributors-68-blue.svg
103-
[contributors]:
104-
https://github.com/reasonml-community/bs-react-native/blob/master/CONTRIBUTORS.md
105-
[chat-badge]:
106-
https://img.shields.io/discord/496273792503513089.svg?logo=discord&colorB=blue
107-
[chat]: https://discord.gg/eaU3Z6Q
108-
[react-native-badge]:
109-
https://img.shields.io/badge/react--native-%5E0.53.3-green.svg
110-
[react-native]: https://github.com/facebook/react-native

‎bs-react-native-example/app.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"packagerOpts": {
2525
"config": "rn-cli.config.js"
2626
},
27-
"githubUrl": "https://github.com/reasonml-community/bs-react-native"
27+
"githubUrl": "https://github.com/reasonml-community/reason-react-native"
2828
}
2929
}

‎bs-react-native-jsx3-compat/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bs-react-native-jsx3-compat",
33
"version": "0.11.0",
4-
"repository": "https://github.com/reasonml-community/bs-react-native.git",
4+
"repository": "https://github.com/reasonml-community/reason-react-native.git",
55
"license": "MIT",
66
"keywords": [
77
"reason",

‎bs-react-native-jsx3-compat/src/style.rei‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ module Transform: {
232232
let skewY: deg_animated('a) => styleTransformElement;
233233

234234
[@deprecated
235-
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/bs-react-native/issues/333"
235+
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/reason-react-native/issues/333"
236236
]
237237
let make:
238238
(
@@ -252,7 +252,7 @@ module Transform: {
252252
styleElement;
253253

254254
[@deprecated
255-
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/bs-react-native/issues/333"
255+
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/reason-react-native/issues/333"
256256
]
257257
let makeAnimated:
258258
(

‎bs-react-native/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bs-react-native",
33
"version": "0.11.0",
4-
"repository": "https://github.com/reasonml-community/bs-react-native.git",
4+
"repository": "https://github.com/reasonml-community/reason-react-native.git",
55
"license": "MIT",
66
"keywords": [
77
"reason",

‎bs-react-native/src/style.rei‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ module Transform: {
232232
let skewY: deg_animated('a) => styleTransformElement;
233233

234234
[@deprecated
235-
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/bs-react-native/issues/333"
235+
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/reason-react-native/issues/333"
236236
]
237237
let make:
238238
(
@@ -252,7 +252,7 @@ module Transform: {
252252
styleElement;
253253

254254
[@deprecated
255-
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/bs-react-native/issues/333"
255+
"Please use Style.transform instead. Read more at https://github.com/reasonml-community/reason-react-native/issues/333"
256256
]
257257
let makeAnimated:
258258
(

0 commit comments

Comments
 (0)