Files
pnpm/pnpr/client/test
Zoltan Kochan 5dd145394b feat: pin shared build artifacts in the lockfile (#14243)
Persist verified shared build artifact envelope digests in the package snapshot
that consumed them. Scope each pin by dependency input key, artifact owner, and
consumer platform so compatible variants remain independently reproducible.

Apply pins only after the existing trust and compatibility checks. A missing
pinned artifact is a remote-cache miss and falls back to a local build; frozen
installs enforce pins without mutating the wanted lockfile.

Add `pnpm update --build-artifacts` as an explicit update mode that clears
existing pins, forces materialization, and records only artifacts that complete
verification and hydration without changing package versions. Reject command
combinations that cannot safely write or verify the lockfile.

Implement the lockfile format, install plumbing, update mode, and tests in both
TypeScript pnpm and pacquet.

Related to pnpm/pnpm#13771.
2026-08-27 23:08:19 +02:00
..