Update versions of linked packages in package-lock.json to match package.json #1842
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Related to #464
Is your feature request related to a problem? Please describe.
Let's consider following scenario:
If there is an update for one of the modules A,B,C then the corresponding
package-lock.json
will be updated. However, if I update the CoreModule, then the other modules will also be updated (node-modules
plugin), but the version of the CoreModule will not be updated in thepackage-lock.json
of the other modules. After releasing it is necessary to runnpm install
(which causes a change in the module dir and may cause unwanted version updates in the future).Describe the solution you'd like
The version of a submodule is updated in the
package-lock.json
file of the module that depends on it (which also gets a patch update because of thenode-modules
plugin).Describe alternatives you've considered
No alternative considered.
The text was updated successfully, but these errors were encountered: