You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
Run supported pnpmfile hooks in an embedded JavaScript runtime when the CLI reads a workspace or Git revision, including TypeScript helpers with erasable types when Node.js on PATH provides module.stripTypeScriptTypes.
Add --context FILE to repair (and RepairInput::apply_effective / Node effectiveManifests) to supply effective manifests after pnpmfile hooks, with an explicit rootless mode for workspaces without a root manifest. Node callers can also mark registry manifests processed by the target workspace with effectiveRegistryManifests.
Add a global --workspace-root <DIR> flag so validate --workspace, repair, and converge support cross-directory workspace layouts (such as Rush subspaces without a sibling root package.json) while keeping parent-directory traversal bounded to the declared root.
Fixes
Keep Git merge conflicts in driver run when an active pnpmfile could account for a dependency declaration not supported by any source lockfile.
Preserve an explicitly recorded registry tarball URL when merging peer instances of the same release with matching integrity.
Check the pnpmfile checksum recorded in each source lock before reusing its package graph in a contextual merge or repair. Carry the verified checksum into the merged lock.
Preserve locked versions for unchanged npm: alias declarations using release tags such as latest in repair.
Repair missing peer snapshots offline when an existing instance witnesses the same artifact and the workspace determines the exact peer bindings.
Reuse published package records across unrelated edits in Git-based repair and lockfile merges when the same local CommonJS hook derives dependency changes solely from each package manifest.
Match catalog tarballs by their declared URL and package version during validation, repair, and merge. Accept normalized URLs and redirected HTTP(S) downloads with recorded integrity.