Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(misc): shared deps that rely on default configuration are filtered out #16193

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

dmarcautan
Copy link
Contributor

@dmarcautan dmarcautan commented Apr 10, 2023

The issue was introduced by #15654. It then filters out and omits shared deps that rely on default configuration when return value from shared function is undefined.

Current Behavior

NPM package dependencies are not made shared in module federation configuration when are not explicitly excluded in user provided shared function by returning undefined value

Expected Behavior

NPM package dependencies should be made shared in module federation configuration unless shared function returns false value

Related Issue(s)

Fixes #15811

…d out

The issue was introduced by nrwl#15654. It then filters out and omits shared deps that rely on default
configuration when return value from `shared` function is `undefined`.

closed nrwl#15811
@vercel
Copy link

vercel bot commented Apr 10, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Apr 10, 2023 6:57am

Copy link
Member

@leosvelperez leosvelperez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Thanks for the contribution! 🎉

@leosvelperez leosvelperez enabled auto-merge (squash) April 11, 2023 07:18
@leosvelperez leosvelperez merged commit 432e074 into nrwl:master Apr 11, 2023
FrozenPandaz pushed a commit that referenced this pull request Apr 11, 2023
…d out (#16193)

Co-authored-by: Dmitry Marcautan <[email protected]>
(cherry picked from commit 432e074)
@barrymichaeldoyle
Copy link
Contributor

Thank you so much for this one! I think this will solve my problem where I haven't been able to update my project beyond 15.8.6. Can't wait to test it out in the next release!

@barrymichaeldoyle
Copy link
Contributor

Just tried out the beta and it seems to solve the issue! Thank you so much!

@github-actions
Copy link

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 Apr 20, 2023
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.

Context from Material ui theme provider doesn't shared for remote app
4 participants