-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RN] Add support for src directory in react-native #42385
Conversation
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
59d1144
to
970df79
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
Base commit: a758694 |
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
970df79
to
7d2ee3b
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
7d2ee3b
to
8ccb1ff
Compare
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
This pull request was exported from Phabricator. Differential Revision: D52875999 |
8ccb1ff
to
6fadde5
Compare
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
This pull request was exported from Phabricator. Differential Revision: D52875999 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: f104ca1cfac5821bedb675e00c38601c5ab8871f
6fadde5
to
87b64c9
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: 8e2c490107d7f2837a9d00cb91ae636998a1a484
87b64c9
to
d81eb38
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: 8fe740876285a70c535eecc3c2201142af1c8974
d81eb38
to
f075eac
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: b7ff8131c29d969f61c71588d200ca9d23e43073
f075eac
to
f54b2b9
Compare
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: b884e657007600e2b35ff0ab641bf1e4123054eb
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
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 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: 1841d32d419eea6daa66a825a6a58d9db4dd5f95
d105c38
to
0253b2c
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: f1546c043618106ac065b56aaa7e94118fad993b
0253b2c
to
a33abd0
Compare
This pull request was exported from Phabricator. Differential Revision: D52875999 |
…ok#42385) Summary: Pull Request resolved: facebook#42385 This adds support for having JS files in a directory within the package. The plan is to have 2 subdirectories there: * for private modules, with any nested directories (e.g.: ). * 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 (mapped to , or a directory in the published npm package—details TBD). The enforcement of private modules being inaccessible from outside the package will be added soon by huntie. Changelog: [internal] Reviewed By: huntie Differential Revision: D52875999 fbshipit-source-id: a95c4348c28c9d0c547499ef73141a7972d0269c
a33abd0
to
fc6590c
Compare
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
fc6590c
to
404663e
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: 9c9bd6c14e8f0e047b4e9dd8aa2d38aa6c1728c9
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: 4d1906d20c96b6ec536cccf231d5d2c49b08029c
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