Skip to content

Commit 629bb8b

Browse files
committed
revert dependency to reason-react-native
1 parent cc4616f commit 629bb8b

File tree

7 files changed

+25
-23
lines changed

7 files changed

+25
-23
lines changed

bsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
}
1717
],
1818
"bsc-flags": ["-bs-no-version-header", "-warn-error @a"],
19-
"bs-dependencies": ["reason-react", "@reason-react-native/react-native"]
19+
"bs-dependencies": ["reason-react", "reason-react-native"]
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"lint-staged": "^8.1.0",
4444
"prettier": "^1.18.0",
4545
"reason-react": "^0.7.0",
46-
"@reason-react-native/react-native": "^0.60.0"
46+
"reason-react-native": "^0.60.0"
4747
},
4848
"prettier": {
4949
"trailingComma": "all",

src/ReactNativeWebView.bs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
var ReactNativeWebView_Element = require("./ReactNativeWebView_Element.bs.js");
44
var ReactNativeWebView_UnionCallback = require("./ReactNativeWebView_UnionCallback.bs.js");
55

6-
var Source = /* module */[];
6+
var Source = { };
77

8-
var UnionCallback = ReactNativeWebView_UnionCallback.Make(/* module */[]);
8+
var UnionCallback = ReactNativeWebView_UnionCallback.Make({ });
99

1010
var DataDetectorTypes = 0;
1111

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
22

3-
var NativeMethods$ReactNative = require("@reason-react-native/react-native/src/elements/NativeMethods.bs.js");
3+
var NativeMethods$ReactNative = require("reason-react-native/src/elements/NativeMethods.bs.js");
44
var ReactNativeWebView_Methods = require("./ReactNativeWebView_Methods.bs.js");
55

6-
ReactNativeWebView_Methods.Make(/* module */[]);
6+
ReactNativeWebView_Methods.Make({ });
77

8-
NativeMethods$ReactNative.Make(/* module */[]);
8+
NativeMethods$ReactNative.Make({ });
99

1010
/* Not a pure module */

src/ReactNativeWebView_Methods.bs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
function Make(T) {
5-
return /* module */[];
5+
return { };
66
}
77

88
exports.Make = Make;

src/ReactNativeWebView_UnionCallback.bs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ function Make(T) {
1111
return Curry._1(navigationCallback, x);
1212
}
1313
};
14-
return /* module */[/* make */make];
14+
return {
15+
make: make
16+
};
1517
}
1618

1719
exports.Make = Make;

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@
33

44

55
"@babel/runtime@^7.0.0":
6-
version "7.6.2"
7-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.6.2.tgz#c3d6e41b304ef10dcf13777a33e7694ec4a9a6dd"
8-
integrity sha512-EXxN64agfUqqIGeEjI5dL5z0Sw0ZwWo1mLTi4mQowCZ42O59b7DRpZAnTC6OqdF28wMBMFKNb/4uFGrVaigSpg==
6+
version "7.6.3"
7+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.6.3.tgz#935122c74c73d2240cafd32ddb5fc2a6cd35cf1f"
8+
integrity sha512-kq6anf9JGjW8Nt5rYfEuGRaEAaH1mkv3Bbu6rYvLOpPh/RusSJXuKPEAoZ7L7gybZkchE8+NV5g9vKF4AGAtsA==
99
dependencies:
1010
regenerator-runtime "^0.13.2"
1111

12-
"@reason-react-native/react-native@^0.60.0":
13-
version "0.60.0"
14-
resolved "https://registry.yarnpkg.com/@reason-react-native/react-native/-/react-native-0.60.0.tgz#29bf048eedc1d8d2be55946ec05e2a9faeb50ff6"
15-
integrity sha512-0OYuCwfyY4MV7f8M8/h0WngIP8vW1kFJ4d8bx12xOhfKva2k+642s14YL6NTH9Hy0BqoeN8GoXNCoF5FHttSrA==
16-
1712
"@samverschueren/stream-to-observable@^0.3.0":
1813
version "0.3.0"
1914
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
@@ -264,9 +259,9 @@ color-name@1.1.3:
264259
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
265260

266261
commander@^2.14.1, commander@^2.9.0:
267-
version "2.20.1"
268-
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.1.tgz#3863ce3ca92d0831dcf2a102f5fb4b5926afd0f9"
269-
integrity sha512-cCuLsMhJeWQ/ZpsFTbE765kvVfoeSddc4nU3up4fV+fDBcfUXnbITJ+JzhkdjzOqhURjZgujxaioam4RM9yGUg==
262+
version "2.20.3"
263+
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
264+
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
270265

271266
component-emitter@^1.2.1:
272267
version "1.3.0"
@@ -610,9 +605,9 @@ has-values@^1.0.0:
610605
kind-of "^4.0.0"
611606

612607
hosted-git-info@^2.1.4:
613-
version "2.8.4"
614-
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546"
615-
integrity sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==
608+
version "2.8.5"
609+
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c"
610+
integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==
616611

617612
husky@^1.3.0:
618613
version "1.3.1"
@@ -1349,6 +1344,11 @@ read-pkg@^4.0.1:
13491344
parse-json "^4.0.0"
13501345
pify "^3.0.0"
13511346

1347+
reason-react-native@^0.60.0:
1348+
version "0.60.0"
1349+
resolved "https://registry.yarnpkg.com/reason-react-native/-/reason-react-native-0.60.0.tgz#7adb9837f28d79d9f1e009b5d01ae864aff15d51"
1350+
integrity sha512-7vq7KIaY1kGb5xnWVewuy8ttBx7/HAgeKfiwDYV3rij6Z89vU6QIheR6rENV8UxaKwRN/Gw168ladWLM042k9A==
1351+
13521352
reason-react@^0.7.0:
13531353
version "0.7.0"
13541354
resolved "https://registry.yarnpkg.com/reason-react/-/reason-react-0.7.0.tgz#46a975c321e81cd51310d7b1a02418ca7667b0d6"

0 commit comments

Comments
 (0)