Skip to content

fix(module-federation): migration does not handle external nodes and errors#29075

Merged
Coly010 merged 2 commits intomasterfrom
module-federation/fix-migrations
Nov 26, 2024
Merged

fix(module-federation): migration does not handle external nodes and errors#29075
Coly010 merged 2 commits intomasterfrom
module-federation/fix-migrations

Conversation

@Coly010
Copy link
Copy Markdown
Contributor

@Coly010 Coly010 commented Nov 26, 2024

Current Behavior

The React + Angular migrations intended to update the path for the ModuleFederationConfig imports in webpack and rspack config files will fail on externalNodes in the project graph that have @nx/webpack or @nx/rspack listed as a dependency.

Expected Behavior

If the dependency is discovered in an externalNode we should skip that node, instead of continuing with the migration.

@Coly010 Coly010 requested a review from a team as a code owner November 26, 2024 09:45
@Coly010 Coly010 self-assigned this Nov 26, 2024
@Coly010 Coly010 requested a review from a team as a code owner November 26, 2024 09:45
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 26, 2024 0:38am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 26, 2024

@Coly010 Coly010 force-pushed the module-federation/fix-migrations branch from 14fd2ac to a404fb5 Compare November 26, 2024 12:34
@Coly010 Coly010 merged commit a5c5cbf into master Nov 26, 2024
@Coly010 Coly010 deleted the module-federation/fix-migrations branch November 26, 2024 14:55
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 3, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants