Files
pnpm/.changeset/giant-pots-think.md
Khải 7fab2a224d feat(config): load env pnpm_config_* (#10029)
* feat(config): load env `pnpm_config_*`

* fix: `getEnvKeySuffix`

* fix: regex in `isEnvKeySuffix`

* refactor: use regex `+`

* test: parseEnvVars

* feat: read from `opts.env`

* test: load env `pnpm_config_*`

* fix: `types['only-built-dependencies']`

* feat: json and schema (wip)

* feat: json and schema

* test: fix

* feat: override workspace but not CLI

* fix: don't override kebab-case CLI arguments

* test: correct syntax

* docs(changeset): add information

* refactor: replace `if` with `switch`

* docs: remove outdated comment

* fix: eslint

* refactor: use `JSON.stringify`
2025-10-13 14:38:40 +02:00

223 B

@pnpm/config, pnpm
@pnpm/config pnpm
minor minor

Load environment variables whose names start with pnpm_config_ into config. These environment variables override settings from pnpm-workspace.yaml but not the CLI arguments.