Skip to content

Conversation

@swalker326
Copy link
Contributor

…th imports

Metro 0.83 changed its package.json exports structure, replacing direct access to internal modules (metro/src/) with a private export pattern (metro/private/).

This commit updates all Metro internal imports to use the new export paths:

  • metro/src/Server -> metro/private/Server
  • metro/src/DeltaBundler/* -> metro/private/DeltaBundler/*
  • metro/src/lib/* -> metro/private/lib/*
  • metro/src/shared/types -> metro/private/shared/types

Changes:

  • Updated 12 source files with Metro internal imports
  • Verified Metro 0.83.3 compatibility with React Native 0.83
  • Tested bundling successfully with the new paths

Fixes compatibility with React Native 0.83+ which uses Metro 0.83+.

Description

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

…th imports

Metro 0.83 changed its package.json exports structure, replacing direct access
to internal modules (metro/src/*) with a private export pattern (metro/private/*).

This commit updates all Metro internal imports to use the new export paths:
- metro/src/Server -> metro/private/Server
- metro/src/DeltaBundler/* -> metro/private/DeltaBundler/*
- metro/src/lib/* -> metro/private/lib/*
- metro/src/shared/types -> metro/private/shared/types

Changes:
- Updated 12 source files with Metro internal imports
- Verified Metro 0.83.3 compatibility with React Native 0.83
- Tested bundling successfully with the new paths

Fixes compatibility with React Native 0.83+ which uses Metro 0.83+.
@changeset-bot
Copy link

changeset-bot bot commented Dec 12, 2025

⚠️ No Changeset found

Latest commit: 1affdf0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Dec 12, 2025

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 1affdf0
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/693c97e718756f0008be9220
😎 Deploy Preview https://deploy-preview-4259--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@swalker326 swalker326 marked this pull request as ready for review December 12, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant