DEV Community

Discussion on: Manage Nx library dependencies with the @nx/dependency-checks ESLint rule

Collapse
 
vsamofal profile image
Vitalii Samofal

Nice write up, thank you for so many details.

I have a question about internal dependencies, by default lint --fix generate internal dependency (if library inside the workspace depends on the same workspace) with just wildcard, and wildcard in general are bad practices.

So do you know what is the best way to manage this?

Attaching an example, all with * are just libraries within this workspace

Image description

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen

Are they buildable or publishable libraries?

Collapse
 
vsamofal profile image
Vitalii Samofal

They are both buildable and publishable libraries

Thread Thread
 
eladhaim22 profile image
eladhaim22

Same here.