rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[rush] Fix edge cases where Rush does not update the lockfile

Open L-Qun opened this issue 5 months ago • 0 comments

Details

image

If the user moves a package from dependencies to devDependencies, and then runs rush update, Rush should update the lockfile correctly, but it does not. This issue occurs because it triggers case DependencyType.Dev, but Rush cannot find this package in importer.devDependencies. Consequently, Rush deletes it from the importerDependencies set.

Impacted documentation

None.

L-Qun avatar Aug 30 '24 06:08 L-Qun