pnpm 10.25 improves certificate handling, adds a bare pnpm init, and ships several quality-of-life fixes.
Minor Changes
Per-registry certificates
You can now load inline certificates from the cert, ca, and key settings for specific registry URLs (for example, //registry.example.com/:ca=-----BEGIN CERTIFICATE-----...). Previously, pnpm only respected the certfile, cafile, and keyfile entries. This aligns pnpm with npm's .npmrc behavior #10230.
pnpm init --bare
Added a --bare flag to pnpm init for creating a package.json with only the required fields #10226.
Patch Changes
-
Improved reporting of ignored dependency scripts #10276.
-
pnpm installnow builds any dependencies that were added toonlyBuiltDependenciesbut have not run their builds yet #10256. -
pnpm publish -r --forcewill publish even if the version already exists in the registry, matching the intent of the flag #10272. -
Avoid
ERR_PNPM_MISSING_TIMEerrors when a package excluded from trust policy checks lacks thetimefield in its metadata.
"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
##description##
##callToAction##
`})
Fetched May 2, 2026

