Repository navigation
[pull] main from pnpm:main - #456
Merged
Merged
Conversation
Finish the strict output-parity work for pacquet's license, dedupe, and pre-run verification commands. Use pnpm-compatible package-name collation and keep license versions aligned with their single representative paths. Teach dedupe progress to account for the store and reusable skipped optional subdependencies, restore the added counter, and preserve pnpm's report spacing. Buffer the frozen-lockfile status until the lockfile-policy verdict and render zero-change stats as already up to date. Closes #13457.
Scope importer-hoisted optional peers to each reused direct dependency's locked peer suffix. This preserves distinct peer contexts for dependencies that share an importer without preventing optional-peer deduplication. Track the hoisted providers per importer so a shared leaf NodeId cannot affect an unrelated workspace project. Related to #13305.
An overrides mismatch previously forced a complete dependency graph resolution even when the lockfile could be updated safely in place. Add conservative fast paths to both pnpm implementations for exact registry version replacements and dependency-removal overrides. Replacements resolve only their package metadata, retain satisfying child resolutions, prune dropped edges, and attach added edges only when one safe compatible snapshot is already locked. Independent replacements and removals can be processed together, and parent-scoped removals match only the selected locked parent snapshots. Fall back to the full resolver for peer-sensitive, ambiguous, patched, aliased, exotic, policy-violating, or custom-hook cases. Remove obsolete virtual-store child links while materializing the rewritten lockfile.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )