nx icon indicating copy to clipboard operation
nx copied to clipboard

feat(devkit): restrict addDependenciesToPackageJson to update versions only if greater than existing

Open Coly010 opened this issue 3 years ago • 2 comments

Current Behavior

We do not update the versions of existing packages when addDependenciesToPackageJson is used

Expected Behavior

We should update the versions of existing packages when the method is used, but only if the versions are greater than the versions that currently exist. We do not want to downgrade people.

Coly010 avatar Aug 04 '22 10:08 Coly010

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Sep 29, 2022 at 8:26AM (UTC)

vercel[bot] avatar Aug 04 '22 10:08 vercel[bot]

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

github-actions[bot] avatar Mar 17 '23 12:03 github-actions[bot]