[RN] Add support for src directory in react-native#42385
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
59d1144 to
970df79
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
Base commit: a758694 |
970df79 to
7d2ee3b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
7d2ee3b to
8ccb1ff
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
8ccb1ff to
6fadde5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
6fadde5 to
87b64c9
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
87b64c9 to
d81eb38
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
d81eb38 to
f075eac
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
f075eac to
f54b2b9
Compare
ab5cd57 to
d105c38
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
d105c38 to
0253b2c
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
0253b2c to
a33abd0
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
a33abd0 to
fc6590c
Compare
fc6590c to
404663e
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
Summary: This adds support for having JS files in a `src` directory within the `react-native` package. The plan is to have 2 subdirectories there: * `react-native/src/private` for private modules, with any nested directories (e.g.: `react-native/src/private/dom/nodes/ReadOnlyNode.js`). * `react-native/src/public` for public modules, without nested directories. The plan is that the individual modules created in this directory will be public through the index module or directly via something like `react-native/View` (mapped to `react-native/src/public/View`, or a `dist` directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the `react-native` package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999
404663e to
dd31f54
Compare
|
This pull request was exported from Phabricator. Differential Revision: D52875999 |
Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a `src` directory within the `react-native` package. The plan is to have 2 subdirectories there: * `react-native/src/private` for private modules, with any nested directories (e.g.: `react-native/src/private/dom/nodes/ReadOnlyNode.js`). * `react-native/src/public` for public modules, without nested directories. The plan is that the individual modules created in this directory will be public through the index module or directly via something like `react-native/View` (mapped to `react-native/src/public/View`, or a `dist` directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the `react-native` package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: 425126644258987f58e249b67a7da0c625e48bad
Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a `src` directory within the `react-native` package. The plan is to have 2 subdirectories there: * `react-native/src/private` for private modules, with any nested directories (e.g.: `react-native/src/private/dom/nodes/ReadOnlyNode.js`). * `react-native/src/public` for public modules, without nested directories. The plan is that the individual modules created in this directory will be public through the index module or directly via something like `react-native/View` (mapped to `react-native/src/public/View`, or a `dist` directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the `react-native` package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: 58ee306f4fafd57ea73e9fd5c5401cce73013a26
|
This pull request has been merged in 3c2c486. |
|
This pull request has been reverted by c92f7e5. |
Summary:
This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there:
The enforcement of private modules being inaccessible from outside the package will be added soon by huntie.
Changelog: [internal]
Differential Revision: D52875999