Skip to content

Commit a039bf6

Browse files
authored
bs-platform 5.0.1-beta.1 (#359)
* bs-platform 5.0.1-beta.1 (includes jsx3 ppx). * -bs-no-version-header * Use [@bs.inline] for Platform.ios/Platform.android. * Add "react-jsx": 3 to bsconfig.json.
1 parent 1462c60 commit a039bf6

52 files changed

Lines changed: 43 additions & 57 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-next/bsconfig.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"ppx-flags": [
1717
"./node_modules/reason-react/_build/default/jsx_ppx/reactjs_jsx_ppx_v3.exe"
1818
],
19-
"bsc-flags": ["-bs-super-errors", "-warn-error @a", "-w -41..42-102"],
19+
"reason": {
20+
"react-jsx": 3
21+
},
22+
"bsc-flags": ["-bs-no-version-header", "-warn-error @a", "-w -41..42-102"],
2023
"bs-dependencies": ["reason-react"]
2124
}

‎bs-react-native-next/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": "^5.0.0",
21+
"bs-platform": "5.0.1-beta.1",
2222
"reason-react": "https://github.com/reasonml/reason-react.git#hooks"
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 5.0.0, PLEASE EDIT WITH CARE
21
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE
21
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// Generated by BUCKLESCRIPT VERSION 5.0.0, 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-next/src/apis/Animated.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 5.0.0, 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";
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// Generated by BUCKLESCRIPT VERSION 5.0.0, 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-next/src/apis/AppState.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 5.0.0, PLEASE EDIT WITH CARE
1+
22

33

44
var active = "active";

‎bs-react-native-next/src/apis/AsyncStorage.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 5.0.0, PLEASE EDIT WITH CARE
1+
22

33
import * as ReactNative from "react-native";
44
import * as PromiseUtils$ReactNative from "../utils/PromiseUtils.bs.js";
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
// Generated by BUCKLESCRIPT VERSION 5.0.0, PLEASE EDIT WITH CARE
21
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

0 commit comments

Comments
 (0)