Skip to content

Commit f987afc

Browse files
committed
Upgrade everything that where using bs-platform 4 to bs-platform 5
1 parent a8bd9b6 commit f987afc

80 files changed

Lines changed: 115 additions & 121 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "yarn re:build"
1616
},
1717
"dependencies": {
18-
"bs-platform": "^4.0.18",
18+
"bs-platform": "^5.0.1",
1919
"expo": "^30.0.1",
2020
"react": "16.3.1",
2121
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",

‎bs-react-native/bsconfig.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "bs-react-native",
33
"namespace": true,
44
"refmt": 3,
5-
"reason": { "react-jsx": 2 },
5+
"reason": {
6+
"react-jsx": 2
7+
},
68
"package-specs": {
79
"module": "es6",
810
"in-source": true
@@ -14,6 +16,6 @@
1416
"subdirs": true
1517
}
1618
],
17-
"bsc-flags": ["-warn-error @a", "-w -41-42-102"],
19+
"bsc-flags": ["-bs-no-version-header", "-warn-error @a", "-w -41-42-102"],
1820
"bs-dependencies": ["reason-react"]
1921
}

‎bs-react-native/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test": "yarn re:clean-build"
1919
},
2020
"devDependencies": {
21-
"bs-platform": "^4.0.18",
21+
"bs-platform": "^5.0.1",
2222
"reason-react": "^0.6.0"
2323
},
2424
"peerDependencies": {
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
21
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

‎bs-react-native/src/Internals.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33
import * as Block from "bs-platform/lib/es6/block.js";
44
import * as Curry from "bs-platform/lib/es6/curry.js";

‎bs-react-native/src/RNEvent.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33

44
function layout(t) {

‎bs-react-native/src/actionSheetIOS.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33
import * as Caml_option from "bs-platform/lib/es6/caml_option.js";
44
import * as ReactNative from "react-native";

‎bs-react-native/src/alert.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33
import * as $$Array from "bs-platform/lib/es6/array.js";
44
import * as Belt_Option from "bs-platform/lib/es6/belt_Option.js";

‎bs-react-native/src/alertIOS.bs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33
import * as $$Array from "bs-platform/lib/es6/array.js";
44
import * as Belt_Option from "bs-platform/lib/es6/belt_Option.js";

‎bs-react-native/src/animated.bs.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by BUCKLESCRIPT VERSION 4.0.18, PLEASE EDIT WITH CARE
1+
22

33
import * as AnimatedRe$BsReactNative from "./animatedRe.bs.js";
44

@@ -36,9 +36,9 @@ var start = AnimatedRe$BsReactNative.start;
3636

3737
var reset = AnimatedRe$BsReactNative.reset;
3838

39-
var Text = 0;
39+
var $$Text = 0;
4040

41-
var Image = 0;
41+
var $$Image = 0;
4242

4343
var View = 0;
4444

@@ -64,8 +64,8 @@ export {
6464
stop ,
6565
start ,
6666
reset ,
67-
Text ,
68-
Image ,
67+
$$Text ,
68+
$$Image ,
6969
View ,
7070
ScrollView ,
7171
FlatList ,

0 commit comments

Comments
 (0)