-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[node-modules] Improve deduplication efficiency by tracking ancestor …
…dependencies (#955) * Improve deduplication efficiency by tracking ancestor dependencies * Sets versions * Commit current changes * Add support for NM_DEBUG_LEVEL env variable to dump the tree and reasons the packages were not hoisted * Fix unit tests * Add support of special hoisting case - dropping nodes * Count only direct ancestors for popularity measurements * Add check for hoisting peer dependent packages with same ident * Speedup ancestor map building * Remove unneeded node dropping concept * Remove hoisting blacklist, it doesn't help now * Improve ancestor map buiding time orders of magnitude * Implement fast hoisting (direct to current root versus buble up as before) * Remove regular deps from packagePeers (temporary fix)
- Loading branch information
Showing
4 changed files
with
384 additions
and
225 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
releases: | ||
"@yarnpkg/cli": prerelease | ||
"@yarnpkg/plugin-node-modules": prerelease | ||
"@yarnpkg/pnpify": prerelease | ||
|
||
declined: | ||
- "@yarnpkg/plugin-constraints" | ||
- "@yarnpkg/plugin-dlx" | ||
- "@yarnpkg/plugin-essentials" | ||
- "@yarnpkg/plugin-init" | ||
- "@yarnpkg/plugin-interactive-tools" | ||
- "@yarnpkg/plugin-npm-cli" | ||
- "@yarnpkg/plugin-pack" | ||
- "@yarnpkg/plugin-patch" | ||
- "@yarnpkg/plugin-pnp" | ||
- "@yarnpkg/plugin-stage" | ||
- "@yarnpkg/plugin-typescript" | ||
- "@yarnpkg/plugin-version" | ||
- "@yarnpkg/plugin-workspace-tools" | ||
- vscode-zipfs | ||
- "@yarnpkg/builder" | ||
- "@yarnpkg/core" | ||
- "@yarnpkg/doctor" | ||
- "@yarnpkg/pnp" |
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
Oops, something went wrong.