Skip to content

Commit afb2d08

Browse files
committed
Remove private modules as it's very annoying to quickly copy/tweak locally a binding that's incomplete
With this change, we don't really have private code anymore, which is unaccessible outside bs-react-native codebase itself. So if you have to use a module (eg: FlatList) & that a props is missing, you can just copy & paste it, add `open BsReactNative;` at the top & you are good to go to tweak it without having to make a pr or a fork & wait for it to be merged. The only real "private" part has been moved to an `Internals` module. Hope the name make it clear :) You are welcome :) Note: responderUtils seems unused as not exposed rei or used internally, so I just dropped it.
1 parent e98fe60 commit afb2d08

49 files changed

Lines changed: 143 additions & 194 deletions

Some content is hidden

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

‎bsconfig.json‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
{
22
"name": "bs-react-native",
3-
"bsc-flags": ["-bs-super-errors", "-warn-error @a", "-w -41..42-102"],
4-
"reason": {"react-jsx": 2},
5-
"refmt": 3,
6-
"bs-dependencies": ["reason-react"],
73
"namespace": true,
4+
"refmt": 3,
5+
"reason": { "react-jsx": 2 },
86
"sources": [
97
{
108
"dir": "src",
11-
"subdirs": [
12-
{
13-
"dir": "components"
14-
},
15-
{
16-
"dir": "private",
17-
"public": []
18-
}
19-
]
9+
"subdirs": true
2010
}
21-
]
11+
],
12+
"bsc-flags": ["-bs-super-errors", "-warn-error @a", "-w -41..42-102"],
13+
"bs-dependencies": ["reason-react"]
2214
}
Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/activityIndicator.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/datePickerIOS.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/keyboardAvoidingView.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/maskedViewIOS.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/picker.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/pickerIOS.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/js/src/components/progressBarAndroid.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)