I am using lerna to create multiple UI packages.
I am augmenting @material-ui/styles in package a to add more palette and typography definitions. I am able to get the new types in package a.
Package b is a component which uses material-ui's component and makeStyles
function, however, I don't have access to the new types declared in package a.
Of course I installed package a in package b, tried importing the module in the file where I create the styles with no help. Also I tried specifing "path" for material-ui in package b tsconfig, but again, no help.
But if I try to import package a in package b.
Anybody tried something like this with success?
We are working on a private repo so I can't share it, but if needed I will provide another repo demonstrating the issue.