Files
pnpm/config/reader
Claude a4e4aac9a6 refactor(config): remove dead RAW_POLICY_CFG_KEYS handling
Policy keys (minimum-release-age*, trust-policy*) are filtered out of
.npmrc by isNpmrcReadableKey, so they can never appear in authConfig.
The RAW_POLICY_CFG_KEYS / isRawPolicyCfgKey / pickRawDlxConfig branch
for those keys was unreachable in production.

inheritDlxConfig now uses pickRawAuthConfig directly for the raw config
pick. The test assertion that placed minimum-release-age in authConfig
(an impossible state) is also dropped.

https://claude.ai/code/session_01NumMLsTvswMVJpbWp3YJrH
2026-04-15 09:05:59 +00:00
..
2026-04-10 18:30:33 +02:00
2026-04-10 18:30:33 +02:00

@pnpm/config

Gets configuration options for pnpm

npm version

Installation

pnpm add @pnpm/config

Usage

import { getConfig } from '@pnpm/config'

getConfig().then(pnpmConfig => console.log(pnpmConfig))

License

MIT