DEV Community

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

Collapse
 
zekesebulino profile image
Zeke Sebulino

I have a question, since it was mentioned that this is replacement for the updateBuildableProjectDepsInPackageJson.

updateBuildableProjectDepsInPackageJson - i use this to make sure that the dependencies for my library will be listed on the package.json of that publishable library, now without that option, it won't list the 3rd party package that my library requires.

Collapse
 
dianjuar profile image
Diego Juliao

It will not listed automatically for you.
It will luanch a linting error when you run the linting process, you would need to go and write the right version.

A way to automate the dependencies update is using the --fix option.
nx lint YOUR_PROJECT --fix