Does npm install have cascading effect for each dependency?

249 Views Asked by At

Let's say I have an app where my package.json has a library I am hosting in my own registry(Gitlab for eg.)

And that library has some dependencies, so of course, it has package.json of its own.

Now, if I run npm i for my app when it reaches my library does it run npm i to install dependencies of my library?

Asking because my library has a limit on fetching its dependencies.

Not sure if it makes sense. Let me know if it doesn't and I'll try to be a little more thorough.

Apologies if this is already asked, but could find an answer for it.

0

There are 0 best solutions below