Npm Service Packs Recursively

I have a project like this
enter image description here

I want to upgrade the whole version of private_mod (root and nested levels) to 1.3.2. Is there a way to do npm?

Note. Each dependecy function (dep-1, dep-2, dep-3) has its ownpackage.json

One of the ways I can come up with is:
- create a shrinkwrap file npm shrinkwrap
- Manually edit the file npm-sharinkwrap.jsonfor a newer version of private_mod for all the dependencies
- Update npm to install new packages from the fileshrinkwrap

+4
source share

Source: https://habr.com/ru/post/1619266/


All Articles