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

Change packages resolution for buildTypes script #49952

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

coado
Copy link
Contributor

@coado coado commented Mar 11, 2025

Summary:

The simpleResolve will check for deep imports like @react-native/assets-registry/registry. The "main" property also has to be added to the assets's package.json to indicate the entry point (which is used in the simpleResolve algorithm). This will generate types_generated folder for matched packages outside of react-native.

Changelog:
[internal]

Differential Revision: D70974073

@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 p: Facebook Partner: Facebook labels Mar 11, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70974073

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70974073

@coado coado force-pushed the export-D70974073 branch from e3982b5 to c103e3f Compare March 11, 2025 16:53
Summary:
Changelog:
[internal]


The simpleResolve will check for deep imports like `react-native/assets-registry/registry`. The "main" property also has to be added to the assets's package.json to indicate the entry point (which is used in the simpleResolve algorithm). This will generate types_generated folder for matched packages outside of react-native.

Differential Revision: D70974073
@coado coado force-pushed the export-D70974073 branch from c103e3f to 836132e Compare March 12, 2025 08:56
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70974073

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. fb-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants