Skip to content
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

Whitelist react-native-dom in haste/cli config defaults #20393

Closed
wants to merge 1 commit into from
Closed

Whitelist react-native-dom in haste/cli config defaults #20393

wants to merge 1 commit into from

Conversation

vincentriemer
Copy link
Contributor

This adds react-native-dom to hasteImpl.js because it's not currently possible to configure it from an out of tree platform. Also adds the relevant providesModuleNodeModules and platforms values to the default RN CLI config. This should hopefully be able to be removed once better support for out of tree platforms is implemented.

Test Plan:

Confirmed that the updated config correctly builds an RNDom project by pulling my fork as a dependency (though it required some other changes for some unrelated local-cli issues).

Release Notes:

Help reviewers and the release process by writing your own release notes. See below for an example.

[CLI] [ENHANCEMENT] [jest/hasteImpl.js] - Whitelist react-native-dom in haste/cli config defaults

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 25, 2018
@kelset kelset added the 💻CLI label Jul 25, 2018
@kelset
Copy link
Contributor

kelset commented Jul 25, 2018

Context: it's the same approach that was used for react-native-windows here: 5494274

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jul 25, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was closed by @vincentriemer in c4bcca6.

Once this commit is added to a release, you will see the corresponding version tag below the description at c4bcca6. If the commit has a single master tag, it is not yet part of a release.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 26, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Jul 26, 2018
grabbou pushed a commit to react-native-community/cli that referenced this pull request Sep 26, 2018
Summary:
This adds `react-native-dom` to `hasteImpl.js` because it's not currently possible to configure it from an out of tree platform. Also adds the relevant `providesModuleNodeModules` and `platforms` values to the default RN CLI config. This should hopefully be able to be removed once better support for out of tree platforms is implemented.
Pull Request resolved: facebook/react-native#20393

Differential Revision: D9007186

Pulled By: hramos

fbshipit-source-id: 67077860dc1fb191d80300fb980599ed76d5f91c
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants