pnpm · pnpm Docs
Settings (pnpm-workspace.yaml)
Defines how to configure pnpm workspace settings, including hoist patterns, node linkers, and hoisting behaviors, via the pnpm-workspace.yaml or global configuration files.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Settings (pnpm-workspace.yaml)
Defines how to configure pnpm workspace settings, including hoist patterns, node linkers, and hoisting behaviors, via the pnpm-workspace.yaml or global configuration files.
When To Use
Use when configuring monorepo dependency resolution, setting up node linkers, or managing hoisting patterns in a pnpm workspace.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/pnpm-settings-workspace-yaml-workflow-guide.md | Documentation detailing configuration settings for pnpm-workspace.yaml including dependency resolution, overrides, and package extensions. | Questions about documentation detailing configuration settings for pnpm-workspace.yaml including dependency resolution, overrides, an... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-overrides.text | An example configuration of the overrides field within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration of the overrides field within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-configuration.text | An example configuration file for the pnpm-workspace.yaml settings. | Exact payloads, commands, or snippets shown in An example configuration file for the pnpm-workspace.yaml settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-overrides-2.text | An example of using the overrides field in a pnpm-workspace.yaml file to manage dependency versions. | Exact payloads, commands, or snippets shown in An example of using the overrides field in a pnpm-workspace.yaml file to manage dependency versions. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-overrides-3.text | An example of using the overrides field in a pnpm-workspace.yaml file to manage dependency versions. | Exact payloads, commands, or snippets shown in An example of using the overrides field in a pnpm-workspace.yaml file to manage dependency versions. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-overrides-4.text | An example of using the overrides field within a pnpm-workspace.yaml configuration file. | Exact payloads, commands, or snippets shown in An example of using the overrides field within a pnpm-workspace.yaml configuration file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-overrides-5.text | An example of using the overrides field in a pnpm-workspace.yaml file to pin specific dependency versions. | Exact payloads, commands, or snippets shown in An example of using the overrides field in a pnpm-workspace.yaml file to pin specific dependency versions. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-package-extensions.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use packageExtensions to manage peer dependencies. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use packageExtensions to manage peer d... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-package-extensions-2.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use packageExtensions to manually define peer dependencies. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use packageExtensions to manually defi... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-package-extensions-3.text | An example configuration of the packageExtensions setting within a pnpm-workspace.yaml file to manage dependency overrides. | Exact payloads, commands, or snippets shown in An example configuration of the packageExtensions setting within a pnpm-workspace.yaml file to manage dependency over... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-allowed-deprecated-vers.text | An example configuration for the pnpm-workspace.yaml file demonstrating the use of the allowedDeprecatedVersions setting. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating the use of the allowedDeprecatedVersions sett... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-configuration.text | A configuration example for the pnpm-workspace.yaml file demonstrating the updateConfig and ignoreDependencies settings. | Exact payloads, commands, or snippets shown in A configuration example for the pnpm-workspace.yaml file demonstrating the updateConfig and ignoreDependencies settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-supported-architectures.text | An example configuration for the pnpm-workspace.yaml file defining supported operating systems and CPU architectures. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file defining supported operating systems and CPU architectures. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-supported-architectures-2.text | An example configuration for the pnpm-workspace.yaml file defining supported operating systems and CPU architectures. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file defining supported operating systems and CPU architectures. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-ignored-optional-depend.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use the ignoredOptionalDependencies setting. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use the ignoredOptionalDependencies se... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings.text | An example configuration file demonstrating the use of settings within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration file demonstrating the use of settings within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-minimum-release-age-con.text | A configuration example for pnpm-workspace.yaml demonstrating the use of minimumReleaseAge and exclude settings. | Exact payloads, commands, or snippets shown in A configuration example for pnpm-workspace.yaml demonstrating the use of minimumReleaseAge and exclude settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-minimum-release-age-con-2.text | A configuration example for the pnpm-workspace.yaml file demonstrating the use of minimumReleaseAge and minimumReleaseAgeExclude settings. | Exact payloads, commands, or snippets shown in A configuration example for the pnpm-workspace.yaml file demonstrating the use of minimumReleaseAge and minimumReleas... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-configuration-2.text | A configuration example for pnpm-workspace.yaml demonstrating settings like minimumReleaseAge and exclude patterns. | Exact payloads, commands, or snippets shown in A configuration example for pnpm-workspace.yaml demonstrating settings like minimumReleaseAge and exclude patterns. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-2.text | An example configuration file demonstrating various settings options for pnpm-workspace.yaml. | Exact payloads, commands, or snippets shown in An example configuration file demonstrating various settings options for pnpm-workspace.yaml. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-3.text | An example configuration file demonstrating the use of settings within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration file demonstrating the use of settings within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-trust-policy-configurat.text | A configuration example for the pnpm-workspace.yaml file demonstrating the use of trustPolicy and trustPolicyExclude settings. | Exact payloads, commands, or snippets shown in A configuration example for the pnpm-workspace.yaml file demonstrating the use of trustPolicy and trustPolicyExclude... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-registries-configuratio.text | A pnpm-workspace.yaml configuration example demonstrating how to define multiple custom registries for scoped packages. | Exact payloads, commands, or snippets shown in A pnpm-workspace.yaml configuration example demonstrating how to define multiple custom registries for scoped packages. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-hoist-pattern.text | An example configuration of the hoistPattern setting within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration of the hoistPattern setting within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-hoist-pattern-2.text | An example of configuring hoistPattern settings within a pnpm-workspace.yaml file to include or exclude specific dependency patterns. | Exact payloads, commands, or snippets shown in An example of configuring hoistPattern settings within a pnpm-workspace.yaml file to include or exclude specific depe... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-public-hoist-pattern.text | An example configuration for the pnpm-workspace.yaml file demonstrating the use of the publicHoistPattern setting. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating the use of the publicHoistPattern setting. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-public-hoist-pattern-2.text | An example of configuring the publicHoistPattern setting within a pnpm-workspace.yaml file to include or exclude specific type packages. | Exact payloads, commands, or snippets shown in An example of configuring the publicHoistPattern setting within a pnpm-workspace.yaml file to include or exclude spec... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-https-proxy-configurati.text | A configuration example for setting the httpsProxy property within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in A configuration example for setting the httpsProxy property within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-merge-git-branch-lockfi.text | An example configuration for the mergeGitBranchLockfilesBranchPattern setting in pnpm-workspace.yaml. | Exact payloads, commands, or snippets shown in An example configuration for the mergeGitBranchLockfilesBranchPattern setting in pnpm-workspace.yaml. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-4.text | An example configuration of a pnpm-workspace.yaml file demonstrating workspace settings. | Exact payloads, commands, or snippets shown in An example configuration of a pnpm-workspace.yaml file demonstrating workspace settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-5.text | An example configuration of a pnpm-workspace.yaml file demonstrating workspace settings. | Exact payloads, commands, or snippets shown in An example configuration of a pnpm-workspace.yaml file demonstrating workspace settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-6.text | An example configuration for the pnpm-workspace.yaml file to define workspace settings. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file to define workspace settings. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-peer-dependency-rules.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to ignore missing peer dependencies. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to ignore miss... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-peer-dependency-rules-2.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to ignore missing peer dependencies. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to ignore miss... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-peer-dependency-rules-3.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to allow specific versions of a dependency. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to allow speci... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-peer-dependency-rules-4.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to define allowed versions for peer dependency rules. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to define allowed versions for peer depen... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-peer-dependency-rules-5.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to allow specific packages. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to use peerDependencyRules to allow speci... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-7.text | An example configuration file demonstrating how to define workspace settings in a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration file demonstrating how to define workspace settings in a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-pm-on-fail-setting.text | An example configuration of the pmOnFail setting within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration of the pmOnFail setting within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-node-options-configurat.text | An example configuration for the pnpm-workspace.yaml file demonstrating how to set nodeOptions environment variables. | Exact payloads, commands, or snippets shown in An example configuration for the pnpm-workspace.yaml file demonstrating how to set nodeOptions environment variables. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-allow-builds-configurat.text | A configuration example for the allowBuilds setting within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in A configuration example for the allowBuilds setting within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-built-dependencies-conf.text | A configuration example for the pnpm-workspace.yaml file defining onlyBuiltDependencies, neverBuiltDependencies, and ignoredBuiltDependencies. | Exact payloads, commands, or snippets shown in A configuration example for the pnpm-workspace.yaml file defining onlyBuiltDependencies, neverBuiltDependencies, and... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-allowbuilds-configurati.text | A configuration example for the pnpm-workspace.yaml file demonstrating the allowBuilds setting for specific packages. | Exact payloads, commands, or snippets shown in A configuration example for the pnpm-workspace.yaml file demonstrating the allowBuilds setting for specific packages. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-settings-8.text | An example configuration file for pnpm-workspace.yaml demonstrating settings like nodeVersion and engineStrict. | Exact payloads, commands, or snippets shown in An example configuration file for pnpm-workspace.yaml demonstrating settings like nodeVersion and engineStrict. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-runtime-on-fail-setting.text | An example configuration for the runtimeOnFail setting within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration for the runtimeOnFail setting within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-node-download-mirrors-c.text | A pnpm-workspace.yaml configuration file demonstrating how to set custom node download mirrors for release, rc, and nightly versions. | Exact payloads, commands, or snippets shown in A pnpm-workspace.yaml configuration file demonstrating how to set custom node download mirrors for release, rc, and n... |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-required-scripts.text | An example configuration of the requiredScripts property within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration of the requiredScripts property within a pnpm-workspace.yaml file. |
examples/pnpm-settings-workspace-yaml-pnpm-config-set-scriptshell-command.text | A command demonstrating how to use pnpm config set to configure the scriptShell setting. | Exact payloads, commands, or snippets shown in A command demonstrating how to use pnpm config set to configure the scriptShell setting. |
examples/pnpm-settings-workspace-yaml-pnpm-workspace-yaml-scripts-configuration.text | An example configuration of the scripts field within a pnpm-workspace.yaml file. | Exact payloads, commands, or snippets shown in An example configuration of the scripts field within a pnpm-workspace.yaml file. |
What This Skill Covers
-
- Configuration Settings (pnpm-workspace.yaml) Version: 11.x On this page # Settings (pnpm-workspace.yaml) pnpm gets its configuration from the command line,...
- Main sections:
Dependency Resolution ,overrides ,Overriding peer dependencies ,packageExtensions ,updateConfig .
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://pnpm.io/settings