for a frontend architecture I'm evaluating the usage of monorepo with Nrwl Nx.
I understood from the docs that Nx strongly recommends the single-policy for dependencies (a root package.json with all the dependencies used by the apps and libs).
Today's goal is to find out if there is some solution to use for any reason a different dependency version for a specific application (aka more than one package.json inside the monorepo).
The scenario that I'm trying to analyze is the follow:
root package.json contains
[email protected]
This means that every app will use the version 1.2.2. Everything works fine until the day cursedApp needs to use [email protected].
There's any solution for this? I read the docs and this pattern is discouraged and the only proposal that I've found is to remove the cursedApp from the monorepo.
Thanks! D