nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.75k stars 2.37k forks source link

feat(module-federation): move withModuleFederation for webpack to new package #29031

Open Coly010 opened 13 hours ago

Coly010 commented 13 hours ago

Current Behavior

The withModuleFederation helper currently lives in the @nx/react package. With the goal of consolidating the module federation support into a single package, this introduces a divergence in where module-federation support lies

Expected Behavior

Move withModuleFederation helper for angular into the @nx/module-federation package, exposed via @nx/module-federation/webpack. Adds a migration to migrate existing projects to use the new package

Related Issue(s)

Fixes #

vercel[bot] commented 13 hours ago

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

1 Skipped Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **nx-dev** | ⬜️ Ignored ([Inspect](https://vercel.com/nrwl/nx-dev/9w5CuRiXyK3PuhTmA2NSeaAjePPH)) | [Visit Preview](https://nx-dev-git-module-federation-webpack-with-mf-nrwl.vercel.app) | Nov 22, 2024 1:01am |
nx-cloud[bot] commented 13 hours ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 339de3db0d0b5768e466a135ffd14e687311482c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets - [`nx affected --targets=lint,test,build,e2e,e2e-ci --base=b16122d5facfb6472a95b992d8a72f4696936116 --head=339de3db0d0b5768e466a135ffd14e687311482c --parallel=3`](https://staging.nx.app/runs/VlvDM1Zvnw?utm_source=pull-request&utm_medium=comment) - [`nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte`](https://staging.nx.app/runs/bsWFItscfT?utm_source=pull-request&utm_medium=comment) - [`nx-cloud record -- nx format:check --base=b16122d5facfb6472a95b992d8a72f4696936116 --head=339de3db0d0b5768e466a135ffd14e687311482c`](https://staging.nx.app/runs/OBYR9RBHBF?utm_source=pull-request&utm_medium=comment) - [`nx documentation --no-dte`](https://staging.nx.app/runs/NOWVbXkkR1?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.