Hi I have lots of libs …

less than 1 minute read

Hi. I have lots of libs that are publishable. What’s the correct way of adding dependencies to a publishable library? Do I need to add these dependencies to the main package.json too?

Responses:

The next version of nx will automatically add package deps for publishable libraries. In the mean time add your deps to the library’s package.json

Here’s the pr for the feature:

<https://github.com/nrwl/nx/pull/2879 https://github.com/nrwl/nx/pull/2879>

Amazing!

I’m promoting nrwl heavily at WalkMe - and I find more justifications as I move along with the migration process!

Updated: