fix(metro-core): normalize Windows path handling in Metro federation#4453
fix(metro-core): normalize Windows path handling in Metro federation#4453ScriptedAlchemy merged 33 commits intomainfrom
Conversation
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
|
Cursor Agent can help with this pull request. Just |
🦋 Changeset detectedLatest commit: d8e354f The changes in this PR will be included in the next version bump. This PR includes changesets to release 43 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@module-federation/devtools
@module-federation/cli
create-module-federation
@module-federation/data-prefetch
@module-federation/dts-plugin
@module-federation/enhanced
@module-federation/error-codes
@module-federation/esbuild
@module-federation/managers
@module-federation/manifest
@module-federation/metro
@module-federation/metro-plugin-rnc-cli
@module-federation/metro-plugin-rnef
@module-federation/modern-js
@module-federation/modern-js-v3
@module-federation/native-federation-tests
@module-federation/native-federation-typescript
@module-federation/nextjs-mf
@module-federation/node
@module-federation/retry-plugin
@module-federation/rsbuild-plugin
@module-federation/rspack
@module-federation/rspress-plugin
@module-federation/runtime
@module-federation/runtime-core
@module-federation/runtime-tools
@module-federation/sdk
@module-federation/storybook-addon
@module-federation/third-party-dts-extractor
@module-federation/treeshake-frontend
@module-federation/treeshake-server
@module-federation/typescript
@module-federation/utilities
@module-federation/webpack-bundler-runtime
@module-federation/bridge-react
@module-federation/bridge-react-webpack-plugin
@module-federation/bridge-shared
@module-federation/bridge-vue3
@module-federation/inject-external-runtime-core-plugin
commit: |
Bundle Size Report4 package(s) changed, 37 unchanged.
Total dist: 6.70 MB (+7.1 kB (+0.1%)) |
|
@jbroma hows this? |
jbroma
left a comment
There was a problem hiding this comment.
Changes look good, I would still reconsider this: #4453 (comment)
In current shape, the e2e-metro-windows is not an e2e test and the tests & builds run already as part of the main workflow for whole repo
Drop duplicate metro package build/test steps from e2e-metro-windows. Prepare iOS and Android remotes through host e2e prepare scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
…ion-windows-runtime-606f
Summary
This PR now only contains
metro-corefixes for Windows path handling in Metro Module Federation runtime/bundling.All previously added CI workflow and
apps/metro-example-*Jest config changes were reverted and are no longer part of this PR.What Changed
require(...).file://source URL generation for split bundlessharedoption validation to reject Windows-style relative/absolute/UNC paths.packages/metro-core/tsconfig.jsonincludes for explicit TS source globs.@module-federation/metropatch release.Effective Diff Scope vs
main.changeset/fair-eels-grab.mdpackages/metro-core/src/**packages/metro-core/__tests__/**packages/metro-core/tsconfig.jsonNo
.github/workflows/**orapps/metro-example-*/jest.config.jschanges remain.