Decouple apps package.json dependencies #30176
JuanGonzalez-KSO
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks here is Juan.
I'm using NX with multiple apps and libraries.
We were using the same dependencies versions across applications and libraries using the package.json at the root level.
app1
,app2
and both libraries work with Next 14 and React 18.Now I need a third app with a different dependency version. This new
app3
would use Next 15 and React 19.I know you recommend the Single Policy Version but this is an edge case and we can't upgrade all the projects at once.
Is there any example I can follow to decouple my applications dependencies regarding the Independently Maintained Dependencies docs?
I tried to use npm workspaces but the dependencies are colliding when building the apps.
Any suggestion is welcome, thank you.
Related Issues
Beta Was this translation helpful? Give feedback.
All reactions