Skip to content

Remove deep imports from the Jest preset (#58602) - #58602

Open
rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D120717568
Open

rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D120717568

Conversation

@rubennorte

@rubennorte rubennorte commented Sep 19, 2026

Copy link
Copy Markdown
Member

Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568

@meta-cla meta-cla 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 Sep 19, 2026
@meta-codesync meta-codesync Bot changed the title Remove deep imports from the Jest preset Remove deep imports from the Jest preset (#58602) Sep 21, 2026
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
@meta-codesync

meta-codesync Bot commented Sep 21, 2026

Copy link
Copy Markdown

@rubennorte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D120717568.

rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58602

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58602

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:
Pull Request resolved: react#58602

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
@rubennorte
rubennorte force-pushed the export-D120717568 branch 2 times, most recently from a311ae6 to fc0be1d Compare September 21, 2026 12:53
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
rubennorte added a commit to rubennorte/react-native that referenced this pull request Sep 21, 2026
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
Summary:

Expose the renderer proxy as `Renderer` from `react-native/unstable-internals-do-not-use`. Generated Codegen modules can be emitted into consumer packages and need a package entry point for dispatching renderer commands without deep imports.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120991150
Summary:

Use the React Native root and supported secondary entry points for public APIs used by the Jest preset. Resolve implementation modules through package-relative paths so the preset does not depend on unsupported package subpaths.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D120717568
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant