-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use ordered data structure for npm lockfile (#4516)
### Description Fixes #4510 by using `BTreeMap` instead of a `HashMap` so we have stable ordering of the package entries. ### Testing Instructions Setup a monorepo using NPM as a package manager. Run `turbo prune --scope=web --out-dir=a && turbo prune --scope=web --out-dir=b && diff a/package-lock.json b/package-lock.json` and expect a zero exit code.
- Loading branch information
1 parent
b85b2bf
commit 748d55b
Showing
1 changed file
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters