Where do dependencies fo…

less than 1 minute read

Where do dependencies for each app/lib go? Does each project have its own package.json or all the dependencies are listed in the root package.json? I saw that the nx todos tutorial has angular and nestjs in the same package.json?

Responses:

All dependencies go in the root package.json. publishable libs have their own package.json but that is used to determine what to bundle and how to publish it, not to install dependencies in your repo.

Updated: