Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/pnpm-settings-workspace-yaml-workflow-guide.mdDocumentation 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textA 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.textAn 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.textAn 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.textAn 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.textAn 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.textA 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.textA 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.textA 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.textAn 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.textAn 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.textA 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.textA 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.textAn 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.textAn 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.textAn 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.textAn 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.textA 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textAn 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.textA 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.textA 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.textA 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.textAn 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.textAn 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.textA 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.textAn 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.textA 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.textAn 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://pnpm.io/settings