I have a workspace that includes one app in the apps/sandbox folder and two libraries in libs folder.
I have these two libs:
@workspace/library library and @angular/nrwl to NPM
- libs/ui
- libs/cdk-ui
I need to publish ui
library to NPM but it's uses the cdk-ui
and I would like to publish only one and not both libraries as NPM deps.
How it would be possible to accomplish? I would like that after I type 'npm install @ccc/ui' both of the libraries to work as usual without any separate publishing.
If any additional explanations would be needed please tell.
UPD: I have encountered on this: https://github.com/nrwl/nx/issues/225#issuecomment-373668866
But it's lack of good explanations on how to do it. Does anyone actually did it?