mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-13 11:05:52 -04:00
When CI=true, pnpm automatically enables frozen-lockfile mode. Previously, this could only be overridden via .npmrc files or CLI flags because the code checked rawLocalConfig (which excludes env vars and hook changes). Now checks the fully resolved config values (frozenLockfile and preferFrozenLockfile) instead of rawLocalConfig, allowing: - Environment variables (pnpm_config_frozen_lockfile=false) - updateConfig hook in .pnpmfile.cjs - .npmrc files (already worked) - CLI flags (already worked) Fixes #9861