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

Update ignore file to include ReactBuildConfig in the npm package #45279

Closed

Conversation

j-piasecki
Copy link
Contributor

@j-piasecki j-piasecki commented Jul 4, 2024

Summary:

Changes .npmignore file to only exclude the ReactAndroid/build directory instead of all build directories under ReactAndroid (which included the ReactAndroid/src/main/java/com/facebook/react/common/build package). This problem was caused by the newer version of NPM being used.

Closes #45204

Changelog:

[ANDROID] [FIXED] - Fixed build from source failing due to a missing file

Test Plan:

Run npm pack or npm publish -dry-run.

Before this change it includes 3774 files in the package and ReactBuildConfig isn't included. After this change it includes 3775 files in the package and ReactBuildConfig is included.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jul 4, 2024
@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cortinico
Copy link
Contributor

@j-piasecki can you also open a pick request for this one?

@facebook-github-bot
Copy link
Contributor

@cortinico merged this pull request in b289854.

Copy link

github-actions bot commented Jul 4, 2024

This pull request was successfully merged by @j-piasecki in b289854.

When will my fix make it into a release? | How to file a pick request?

cipolleschi pushed a commit that referenced this pull request Jul 8, 2024
…45279)

Summary:
Changes `.npmignore` file to only exclude the `ReactAndroid/build` directory instead of all `build` directories under `ReactAndroid` (which included the `ReactAndroid/src/main/java/com/facebook/react/common/build` package). This problem was caused by the newer version of NPM being used.

Closes #45204

## Changelog:

[ANDROID] [FIXED] - Fixed build from source failing due to a missing file

Pull Request resolved: #45279

Test Plan:
Run `npm pack` or `npm publish -dry-run`.

Before this change it includes 3774 files in the package and `ReactBuildConfig` isn't included. After this change it includes 3775 files in the package and `ReactBuildConfig` is included.

Reviewed By: javache

Differential Revision: D59371555

Pulled By: cortinico

fbshipit-source-id: f54f1e88e30429d538b9e160e6ce20d994c5d1b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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: Software Mansion Partner: Software Mansion Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Build From Source failing on 0.75.0-rc.2
3 participants