{
  "title": "JSON Schema for Yarnrc files",
  "$schema": "https://json-schema.org/draft/2019-09/schema#",
  "description": "Yarnrc files (named this way because they must be called `.yarnrc.yml`) are the one place where you'll be able to configure Yarn's internal settings. While Yarn will automatically find them in the parent directories, they should usually be kept at the root of your project (often your repository). **Starting from the v2, they must be written in valid Yaml and have the right extension** (simply calling your file `.yarnrc` won't do).\n\nEnvironment variables can be accessed from setting definitions by using the `${NAME}` syntax when defining the values. By default Yarn will require the variables to be present, but this can be turned off by using either `${NAME-fallback}` (which will return `fallback` if `NAME` isn't set) or `${NAME:-fallback}` (which will return `fallback` if `NAME` isn't set, or is an empty string).\n\nNullable settings accept explicit `null` values. Omission lets configuration sources and defaults apply; `null` is an explicit value, with setting-specific behavior.\n\nFinally, note that most settings can also be defined through environment variables (at least for the simpler ones; arrays and objects aren't supported yet). To do this, just prefix the names and write them in snake case: `YARN_CACHE_FOLDER` will set the cache folder (such values will overwrite any that might have been defined in the RC files - use them sparingly).",
  "__info": [
    "This file contains the JSON Schema for Yarnrc files and is:",
    "1) Hosted on the Yarn Website at https://v6.yarnpkg.com/configuration/yarnrc.json",
    "2) Registered on the SchemaStore catalog so that editors can offer autocompletion and validation.",
    "3) Used to generate the documentation page at https://v6.yarnpkg.com/configuration/yarnrc",
    "Note: Properties prefixed with a single underscore (e.g. _exampleItems, _exampleKeys, _hidden)",
    "are unique to our documentation generation interpreter. All others will be picked up",
    "by most JSON schema interpreters.",
    "Rules:",
    "1) Don't set a default if it's null, dynamic, or an object.",
    "2) Use `examples` for scalars and `_examples` with descriptions and values for richer examples.",
    "3) Always add a _package property to each configuration setting."
  ],
  "type": "object",
  "properties": {
    "cacheFolder": {
      "_package": "@yarnpkg/core",
      "title": "Path where the downloaded packages are stored on your system.",
      "description": "Packages are normalized and saved as zip archives with standardized names (compressed according to `compressionLevel`). This folder is only used when `enableGlobalCache` is `false`; otherwise the archives are stored in the global cache inside `globalFolder`. Defaults to `.yarn/cache` in the project.\n\nWhen this setting is left to its default, archives the project no longer references are removed from the folder at the end of each install; they're kept when `cacheFolder` is set explicitly.",
      "type": "string",
      "format": "uri-reference",
      "_examples": [
        {
          "description": "Store the project cache in a custom folder (requires `enableGlobalCache: false`).",
          "value": ".cache/yarn"
        }
      ]
    },
    "changesetBaseRefs": {
      "_package": "@yarnpkg/plugin-git",
      "title": "List of git refs against which Yarn will compare your branch when it needs to detect changes.",
      "description": "Supports git branches, tags, and commits. The default configuration will compare against main and master.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "main",
        "master"
      ],
      "_examples": [
        {
          "description": "Compare changes against the main branch only.",
          "value": [
            "main",
            "origin/main"
          ]
        },
        {
          "description": "Compare changes against both stable branch names used by the project.",
          "value": [
            "main",
            "origin/main",
            "master",
            "origin/master"
          ]
        }
      ]
    },
    "changesetGlobalFiles": {
      "title": "List of glob patterns whose changes affect every workspace.",
      "description": "When a file matching one of these patterns (relative to the project root) changed, `yarn workspaces list --since` and `yarn tasks run --affected` consider every workspace as changed, similar to turbo's `globalDependencies`.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [],
      "_examples": [
        {
          "description": "Rebuild everything when the Node version or patches change.",
          "value": [
            ".nvmrc",
            "patches/**"
          ]
        }
      ]
    },
    "cloneConcurrency": {
      "_package": "@yarnpkg/plugin-git",
      "title": "Amount of `git clone` operations that Yarn will run at the same time.",
      "description": "We by default limit it to 2 concurrent clone operations. The value must be at least 1.",
      "type": "integer",
      "default": 2,
      "minimum": 1,
      "examples": [
        4
      ]
    },
    "compressionLevel": {
      "_package": "@yarnpkg/core",
      "type": [
        "integer",
        "string",
        "null"
      ],
      "title": "Compression level employed for zip archives",
      "description": "Values from `0` (no compression) to `9` (heavy compression) select the Deflate level used for the archives stored in the cache, and are accepted as integers or strings. When the setting is omitted or `null` (the default), archives are stored without compression. The `mixed` value from earlier Yarn versions is rejected.",
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        null
      ],
      "_examples": [
        {
          "description": "Compress cache archives as much as possible.",
          "value": 9
        },
        {
          "description": "Store cache archives without compression (the default).",
          "value": null
        }
      ]
    },
    "defaultSemverRangePrefix": {
      "_package": "@yarnpkg/plugin-essentials",
      "type": "string",
      "title": "Default prefix used in semver ranges created by `yarn add` and similar commands.",
      "description": "Possible values are `caret` (the default), `tilde`, and `exact`; the symbolic aliases `^`, `~`, `=`, `*`, and the empty string are also accepted.",
      "enum": [
        "caret",
        "^",
        "tilde",
        "~",
        "exact",
        "=",
        "*",
        ""
      ],
      "default": "caret",
      "_examples": [
        {
          "description": "Pin the exact version when adding dependencies.",
          "value": "exact"
        },
        {
          "description": "Only accept patch updates of new dependencies.",
          "value": "tilde"
        }
      ]
    },
    "deferredVersionFolder": {
      "_package": "@yarnpkg/plugin-version",
      "title": "Folder where the versioning files are stored.",
      "description": "Deferred version decisions (recorded by `yarn version` when `preferDeferredVersions` is enabled, and applied by `yarn version apply`) are written to this folder. Relative paths are resolved from the project root.",
      "type": "string",
      "format": "uri-reference",
      "default": ".yarn/versions",
      "examples": [
        ".changes"
      ]
    },
    "enableAutoDedupe": {
      "_package": "@yarnpkg/core",
      "title": "Define whether Yarn should automatically deduplicate dependencies.",
      "description": "When enabled, Yarn automatically deduplicates dependencies during full-project installs using the `highest` strategy, reusing the highest compatible versions already present in the dependency graph. This also applies to installs triggered by commands such as `yarn add` and automatic installs before running scripts. Focused installs preserve the lockfile's resolutions, and explicit dedupe commands retain control over their patterns and checks. Immutable installs fail if deduplication would change the lockfile.",
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ]
    },
    "enableConstraintsChecks": {
      "_package": "@yarnpkg/plugin-constraints",
      "title": "Define whether constraints should run on every install.",
      "description": "If true, Yarn will run your constraints right after finishing its installs. This may help decrease the feedback loop delay by catching errors long before your CI would even report them.",
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ]
    },
    "enableGlobalCache": {
      "_package": "@yarnpkg/core",
      "title": "Define whether the cache should be shared between all local projects.",
      "description": "If true (the default), Yarn will store the cache files into a folder located within `globalFolder` instead of respecting `cacheFolder`.",
      "type": "boolean",
      "default": true
    },
    "enableHardenedMode": {
      "_package": "@yarnpkg/core",
      "title": "Define whether Yarn should attempt to check for malicious changes.",
      "description": "If true, `yarn install` refreshes the package metadata stored in the lockfile from the remote registries (as with `--refresh-lockfile`) and never takes the \"already up-to-date\" shortcut. Immutable installs are also enabled, unless `enableImmutableInstalls` is set explicitly. These checks make installs slower, so you should only run them on branches managed by users outside your circle of trust.\n\nYarn will automatically enable the hardened mode on GitHub pull requests from public repository. Should you want to disable it, explicitly set it to `false` in your yarnrc file (or set `YARN_ENABLE_HARDENED_MODE=0`).",
      "type": "boolean"
    },
    "enableImmutableCache": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to allow adding/removing files from the cache or not.",
      "description": "If true, Yarn will refuse to change the cache in any way, whether it would add files or remove them, and will abort installs instead of letting that happen.",
      "type": "boolean",
      "default": false
    },
    "enableImmutableInstalls": {
      "_package": "@yarnpkg/plugin-essentials",
      "title": "Define whether to allow adding/removing entries from the lockfile or not.",
      "description": "If true, Yarn refuses to change the lockfile and aborts the install instead, before the project gets linked. Other files can be protected via `immutablePatterns`. Defaults to true in CI environments (or when hardened mode is enabled), and false otherwise.",
      "type": "boolean"
    },
    "enableMirror": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to mirror local cache entries into the global cache or not.",
      "description": "If true (the default), Yarn will use the global folder as indirection between the network and the actual cache. This is only useful if `enableGlobalCache` is explicitly set to `false`, as otherwise the cache entries are persisted to the global cache no matter what.",
      "type": "boolean",
      "default": true
    },
    "enableNetwork": {
      "_package": "@yarnpkg/core",
      "title": "Define whether remote network requests are allowed or not.",
      "description": "If false, Yarn will never make any request to the network by itself, and will throw an exception rather than let it happen. It's a very useful setting for CI, which typically want to make sure they aren't loading their dependencies from the network by mistake.",
      "type": "boolean",
      "default": true
    },
    "enableProgressBars": {
      "_package": "@yarnpkg/core",
      "title": "Define whether animated progress bars should be shown or not.",
      "description": "If true, Yarn shows progress bars for long-running events. Enabled by default when the output is a terminal.",
      "type": "boolean",
      "examples": [
        true
      ]
    },
    "enableScripts": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to run postinstall scripts or not.",
      "description": "If false (the default), Yarn will not execute the build scripts (such as `postinstall`) of third-party packages when installing the project (workspaces will still see their postinstall scripts evaluated, as they're assumed to be safe if you're running an install within them).\n\nThe `dependenciesMeta[].built` field of the root manifest overrides this setting on a per-package basis, so you can allow the scripts of specific packages while keeping `enableScripts` disabled, or disable specific packages when it's enabled.",
      "type": "boolean",
      "default": false
    },
    "enableStrictSsl": {
      "_package": "@yarnpkg/core",
      "title": "Define whether SSL errors should fail requests or not.",
      "description": "If false, SSL certificate errors will be ignored",
      "type": "boolean",
      "default": true
    },
    "enableTimers": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to print the time spent running each sub-step or not.",
      "description": "If false, Yarn will not print the time spent running each sub-step when running various commands. This is only needed for testing purposes, when you want each execution to have exactly the same output as the previous ones.",
      "type": "boolean",
      "default": true
    },
    "enableTransparentWorkspaces": {
      "_package": "@yarnpkg/core",
      "title": "Define whether pure semver ranges should allow workspace resolution or not.",
      "description": "If false, Yarn won't link workspaces just because their versions happen to match a semver range. Disabling this setting will require all workspaces to reference one another using the explicit `workspace:` protocol.\n\nThis setting is usually only needed when your project needs to use the published version in order to build the new one (that's for example what happens with Babel, which depends on the latest stable release to build the future ones).",
      "type": "boolean",
      "default": true
    },
    "globalFolder": {
      "_package": "@yarnpkg/core",
      "title": "Path where all files global to the system will be stored.",
      "description": "Stores the global package cache, the metadata cache, the content-addressed store, and other files shared between projects. Defaults to `%LOCALAPPDATA%\\Yarn\\zpm` on Windows (or `AppData\\Local\\Yarn\\zpm` inside your home directory if `LOCALAPPDATA` isn't set), to `$XDG_DATA_HOME/yarn/zpm` when `XDG_DATA_HOME` is set, and to `.yarn/zpm` inside your home directory otherwise. If `.yarn/zpm` already exists inside your home directory and the platform-specific folder doesn't, Yarn keeps using `.yarn/zpm`.",
      "type": "string",
      "format": "uri-reference",
      "examples": [
        "${HOME}/.yarn/zpm"
      ]
    },
    "httpProxy": {
      "_package": "@yarnpkg/core",
      "title": "Proxy to use when making an HTTP request.",
      "description": "Applies to requests whose URL uses the `http:` protocol; see `httpsProxy` for `https:` URLs.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "examples": [
        "http://proxy:4040"
      ]
    },
    "httpRetry": {
      "_package": "@yarnpkg/core",
      "title": "Number of times to retry a failed HTTP request.",
      "description": "Requests are retried when they fail with a network error or a `408`, `413`, `429`, or `5xx` status code. Yarn waits between attempts with an exponential backoff capped at 10 seconds. Set it to `0` to disable retries.",
      "type": "integer",
      "default": 3,
      "minimum": 0,
      "examples": [
        5
      ]
    },
    "httpTimeout": {
      "_package": "@yarnpkg/core",
      "title": "Amount of time to wait before cancelling pending HTTP requests.",
      "description": "The timeout covers the whole request, from the connection to the end of the response body. The duration accepts the `ms`, `s`, `m`, `h`, `d`, and `w` units; values without unit are in milliseconds (as in Yarn 4), so `60000` is one minute.",
      "type": "string",
      "default": "1m",
      "_examples": [
        {
          "description": "Give up on requests after thirty seconds.",
          "value": "30s"
        },
        {
          "description": "Be more patient on slow networks.",
          "value": "5m"
        }
      ]
    },
    "httpsCaFilePath": {
      "_package": "@yarnpkg/core",
      "title": "Path to a file containing one or multiple Certificate Authority signing certificates.",
      "description": "The certificates are trusted in addition to the system ones. Can be set for specific hosts through `networkSettings`.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri-reference",
      "examples": [
        "./exampleCA.pem"
      ]
    },
    "httpsCertFilePath": {
      "_package": "@yarnpkg/core",
      "title": "Path to a file containing a certificate chain in PEM format.",
      "description": "Client certificate presented to the servers that request one; it must be combined with `httpsKeyFilePath`. Can be set for specific hosts through `networkSettings`.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri-reference",
      "examples": [
        "./exampleCert.pem"
      ]
    },
    "httpsKeyFilePath": {
      "_package": "@yarnpkg/core",
      "title": "Path to a file containing a private key in PEM format.",
      "description": "Private key matching the client certificate set in `httpsCertFilePath`. Can be set for specific hosts through `networkSettings`.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri-reference",
      "examples": [
        "./exampleKey.pem"
      ]
    },
    "httpsProxy": {
      "_package": "@yarnpkg/core",
      "title": "Define a proxy to use when making an HTTPS request.",
      "description": "Applies to requests whose URL uses the `https:` protocol; see `httpProxy` for `http:` URLs.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "examples": [
        "http://proxy:4040"
      ]
    },
    "immutablePatterns": {
      "_package": "@yarnpkg/core",
      "title": "Array of file patterns whose content won't be allowed to change if `enableImmutableInstalls` is set.",
      "description": "Patterns are relative to the project root. When immutable installs are enabled, `yarn install` hashes the matching files before and after the install, and fails if they changed.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "_exampleItems": [
        "**/.pnp.*"
      ],
      "_examples": [
        {
          "description": "Protect PnP loader files during immutable installs.",
          "value": [
            "**/.pnp.*"
          ]
        },
        {
          "description": "Protect both generated install artifacts and checked-in package archives.",
          "value": [
            ".pnp.cjs",
            ".pnp.loader.mjs",
            ".yarn/cache/**"
          ]
        }
      ]
    },
    "initScope": {
      "_package": "@yarnpkg/plugin-init",
      "title": "Scope used when creating packages via the `init` command.",
      "description": "Accepted for compatibility with earlier Yarn versions, but not currently used: `yarn init` doesn't read this setting.",
      "type": "string",
      "pattern": "^([^/]+?)$",
      "default": "yarnpkg"
    },
    "injectEnvironmentFiles": {
      "_package": "@yarnpkg/core",
      "title": "Array of .env files which will get injected into any subprocess spawned by Yarn.",
      "description": "By default Yarn will automatically inject the variables stored in the `.env.yarn` file, but you can use this setting to change this behavior.\n\nNote that adding a question mark at the end of the path will silence the error Yarn would throw should the file be missing, which may come in handy when declaring local configuration files.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri-reference"
      },
      "default": [
        ".env.yarn?"
      ],
      "_exampleItems": [
        ".my-env",
        ".my-local-env?"
      ],
      "_examples": [
        {
          "description": "Load the default Yarn env file and fail if it is missing.",
          "value": [
            ".env.yarn"
          ]
        },
        {
          "description": "Load one shared file and one optional local override.",
          "value": [
            ".env.yarn",
            ".env.local?"
          ]
        }
      ]
    },
    "lazyInstallMode": {
      "_package": "@yarnpkg/core",
      "title": "Scope of lazy installs.",
      "description": "With `all`, lazy installs always install the entire project, even after a focused install.\n\nWith `focused`, lazy installs keep a focused install focused: when the previous install was made by `yarn workspaces focus`, they install the workspaces it covered, plus the active workspace and the workspaces it depends on if they weren't part of it. A lazy install never starts a focus by itself: on a fresh clone, or when the previous install was a full one (`yarn install`), it installs the entire project in both modes. The same goes when the manifests no longer match the lockfile, or when a setting that affects installs changed, since Yarn then has to resolve the whole project.",
      "type": "string",
      "enum": [
        "focused",
        "all"
      ],
      "default": "all",
      "_examples": [
        {
          "description": "Let the commands extend a focused install with the workspaces they need, rather than install the entire project.",
          "value": "focused"
        }
      ]
    },
    "logFilters": {
      "title": "Alter the log levels for emitted messages.",
      "description": "This can be used to hide specific messages, or instead make them more prominent. Each filter matches messages by exact `text` or by glob `pattern` (a pattern doesn't need to cover the whole message), and assigns them a new `level` (`info`, `warning`, `error`, or `discard` to hide them). Filters are evaluated in order, and the first one matching a message decides its level. Colors are stripped from messages before matching.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": [
              "string",
              "null"
            ],
            "title": "Match messages whose content is strictly equal to the given text.",
            "description": "Match messages whose content is strictly equal to the given text.",
            "examples": [
              "lorem-ipsum@npm:1.2.3 lists build scripts, but its build has been explicitly disabled through configuration"
            ]
          },
          "pattern": {
            "type": [
              "string",
              "null"
            ],
            "title": "Match messages whose content match the given glob pattern.",
            "description": "Match messages containing a section that matches the given glob pattern.",
            "examples": [
              "lorem-ipsum@* lists build scripts, but its build has been explicitly disabled through configuration"
            ]
          },
          "level": {
            "type": "string",
            "title": "New log level to apply to the matching messages. Use `discard` if you wish to hide those messages altogether.",
            "description": "New log level to apply to the matching messages. Use `discard` if you wish to hide those messages altogether.",
            "enum": [
              "info",
              "warning",
              "error",
              "discard"
            ]
          }
        }
      },
      "_exampleItems": [
        {
          "text": "lorem-ipsum@npm:1.2.3 lists build scripts, but its build has been explicitly disabled through configuration",
          "level": "error"
        },
        {
          "pattern": "lorem-ipsum@* lists build scripts, but its build has been explicitly disabled through configuration",
          "level": "error"
        }
      ],
      "_examples": [
        {
          "description": "Hide all messages matching a glob pattern.",
          "value": [
            {
              "pattern": "optional dependency * skipped",
              "level": "discard"
            }
          ]
        },
        {
          "description": "Upgrade one exact log message to an error.",
          "value": [
            {
              "text": "Package build failed",
              "level": "error"
            }
          ]
        }
      ]
    },
    "networkConcurrency": {
      "_package": "@yarnpkg/core",
      "title": "Amount of HTTP requests that are allowed to run at the same time.",
      "description": "We default to 100 concurrent requests, but it may be required to limit it even more when working behind proxies that can't handle large amounts of traffic.",
      "type": "integer",
      "default": 100,
      "minimum": 0,
      "examples": [
        16
      ]
    },
    "networkSettings": {
      "_package": "@yarnpkg/core",
      "title": "Additional network settings, per hostname",
      "description": "Keys are glob patterns matched against the hostname of each request; when several patterns match, the longest one takes precedence. Each entry can override `enableNetwork`, `httpsCaFilePath`, `httpsCertFilePath`, and `httpsKeyFilePath` for the matching hosts. A CA file set here is trusted in addition to the global `httpsCaFilePath`, while setting `httpsCertFilePath` or `httpsKeyFilePath` here replaces both global client certificate settings for the matching hosts.",
      "type": "object",
      "patternProperties": {
        "^(.+)$": {
          "type": "object",
          "properties": {
            "enableNetwork": {
              "_hidden": true,
              "description": "Whether to allow network access to the matching hosts.",
              "anyOf": [
                {
                  "$ref": "#/properties/enableNetwork"
                },
                {
                  "type": "null"
                }
              ]
            },
            "httpsCaFilePath": {
              "_hidden": true,
              "$ref": "#/properties/httpsCaFilePath"
            },
            "httpsCertFilePath": {
              "_hidden": true,
              "$ref": "#/properties/httpsCertFilePath"
            },
            "httpsKeyFilePath": {
              "_hidden": true,
              "$ref": "#/properties/httpsKeyFilePath"
            }
          }
        }
      },
      "_exampleKeys": [
        "*.example.com"
      ],
      "_examples": [
        {
          "description": "Disable network access for one host pattern.",
          "value": {
            "*.example.com": {
              "enableNetwork": false
            }
          }
        },
        {
          "description": "Use a custom CA certificate for an internal registry.",
          "value": {
            "registry.corp.example": {
              "httpsCaFilePath": "./certs/corp-ca.pem"
            }
          }
        }
      ]
    },
    "nmHoistingLimits": {
      "_package": "@yarnpkg/plugin-nm",
      "title": "Highest point where packages can be hoisted.",
      "description": "Replacement of the former `nohoist` setting. Possible values are:\n\n- If `none` (the default), packages are hoisted as per the usual rules.\n- If `workspaces`, packages won't be hoisted past the workspace that depends on them.\n- If `dependencies`, transitive dependencies also won't be hoisted past your direct dependencies.\n\nThis setting can be overridden on a per-workspace basis using the `installConfig.hoistingLimits` field.",
      "type": "string",
      "enum": [
        "workspaces",
        "dependencies",
        "none"
      ],
      "default": "none",
      "_examples": [
        {
          "description": "Keep each workspace's dependencies inside its own node_modules folder.",
          "value": "workspaces"
        }
      ]
    },
    "nmSelfReferences": {
      "_package": "@yarnpkg/plugin-nm",
      "title": "Define whether workspaces are allowed to require themselves.",
      "description": "If false, Yarn won't create self-referencing symlinks when using `nodeLinker: node-modules`. This setting can be overridden on a per-workspace basis using the `installConfig.selfReferences` field.",
      "type": "boolean",
      "default": true
    },
    "nmMode": {
      "_package": "@yarnpkg/plugin-nm",
      "title": "Define how to copy files to their target destination.",
      "description": "Possible values are:\n\n- If `classic`, regular copy or clone operations are performed.\n- If `hardlinks-global`, hardlinks to a global content-addressable store will be used.\n- If `hardlinks-local`, hardlinks will only be created between similar packages from the same project.\n\nFor compatibility with the ecosystem, the default is `classic`.",
      "type": "string",
      "enum": [
        "classic",
        "hardlinks-local",
        "hardlinks-global"
      ],
      "default": "classic",
      "_examples": [
        {
          "description": "Save disk space by hardlinking files from a store shared between projects.",
          "value": "hardlinks-global"
        }
      ]
    },
    "nodeLinker": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Define how Node packages should be installed.",
      "description": "Yarn supports three ways to install your project's dependencies, based on the `nodeLinker` setting. Possible values are:\n\n- If `pnp`, a single Node.js loader file will be generated.\n- If `pnpm`, a `node-modules` will be created using symlinks and hardlinks to a global content-addressable store.\n- If `node-modules`, a regular `node_modules` folder just like in Yarn Classic or npm will be created.",
      "type": "string",
      "default": "pnp",
      "_examples": [
        {
          "description": "Use Plug'n'Play installs.",
          "value": "pnp"
        },
        {
          "description": "Use a traditional node_modules install.",
          "value": "node-modules"
        }
      ],
      "enum": [
        "pnp",
        "pnpm",
        "node-modules"
      ]
    },
    "nodeExperimentalPackageMap": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Define whether Yarn should enable Node.js package maps for installs that support them.",
      "description": "If true, Yarn will inject Node.js' experimental `--experimental-package-map` option into `NODE_OPTIONS` when using `nodeLinker: node-modules` or `nodeLinker: pnpm` and a package map has been generated.",
      "type": "boolean",
      "default": false
    },
    "nodePackageMapType": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Define how Yarn should generate Node.js package maps.",
      "description": "Possible values are:\n\n- If `standard` (the default), package maps will reflect the dependency graph and reject undeclared dependencies.\n- If `loose`, package maps will reflect the hoisted node_modules layout and mimic Node.js resolution more closely.\n\nThis setting applies to both `nodeLinker: node-modules` and `nodeLinker: pnpm`.",
      "type": "string",
      "enum": [
        "standard",
        "loose"
      ],
      "default": "standard",
      "_examples": [
        {
          "description": "Mimic the Node.js resolution of the hoisted node_modules layout.",
          "value": "loose"
        }
      ]
    },
    "pnpmStoreFolder": {
      "_package": "@yarnpkg/plugin-pnpm",
      "title": "Path where the pnpm store will be stored",
      "description": "By default, the store is stored in the `node_modules/.yarn/store` folder of the project. Sometimes in CI scenario's it is convenient to store this in a different location so it can be cached and reused.",
      "type": "string",
      "format": "uri-reference",
      "default": "node_modules/.yarn/store",
      "examples": [
        ".cache/.pnpm"
      ],
      "_examples": [
        {
          "description": "Use the default virtual store inside node_modules.",
          "value": "node_modules/.yarn/store"
        },
        {
          "description": "Move the virtual store to a cacheable project folder.",
          "value": ".cache/.pnpm"
        }
      ]
    },
    "winLinkType": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to use junctions or symlinks when creating links on Windows.",
      "description": "Possible values are:\n\n- If `junctions`, Yarn will use Windows junctions when linking workspaces into `node_modules` directories, which are always absolute paths.\n- If `symlinks`, Yarn will use symlinks, which will use relative paths, and is consistent with Yarn's behavior on non-Windows platforms.",
      "type": "string",
      "enum": [
        "junctions",
        "symlinks"
      ],
      "default": "symlinks",
      "_examples": [
        {
          "description": "Use junctions on Windows machines where symlinks can't be created.",
          "value": "junctions"
        }
      ]
    },
    "npmAlwaysAuth": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Define whether to always send authentication credentials when querying the npm registry.",
      "description": "If true, authentication credentials will always be sent when sending requests to the registries. Requests for scoped packages already include the configured credentials, so this is only needed for unscoped packages, for example when you configured the registry to reference a private npm mirror.",
      "type": "boolean",
      "default": false
    },
    "npmAuditRegistry": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Define the registry to use when auditing dependencies.",
      "description": "If not explicitly set, the value of `npmRegistryServer` will be used.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "examples": [
        "https://registry.npmjs.org"
      ]
    },
    "npmAuthIdent": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Username and password (`username:password`), or their Base64 encoding, to use for npm authentication.",
      "description": "Replacement of the former `_auth` setting. Because it requires storing unencrypted values in your configuration, `npmAuthToken` should be preferred when possible.",
      "type": [
        "string",
        "null"
      ],
      "examples": [
        "username:password"
      ]
    },
    "npmAuthToken": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Define the authentication token to use by default when accessing your registries.",
      "description": "Replacement of the former `_authToken` settings. If you're using `npmScopes` to define multiple registries, the `npmRegistries` dictionary allows you to override these credentials on a per-registry basis.",
      "type": [
        "string",
        "null"
      ],
      "examples": [
        "ffffffff-ffff-ffff-ffff-ffffffffffff"
      ]
    },
    "npmPublishAccess": {
      "_package": "@yarnpkg/plugin-npm-cli",
      "type": [
        "string",
        "null"
      ],
      "title": "Define the default access to use when publishing packages to the npm registry.",
      "description": "Valid values are `public` and `restricted`, but `restricted` usually requires to register for a paid plan (this is up to the registry you use). Can be overridden on a per-package basis using the [`publishConfig.access`](/configuration/manifest#field-publishconfigaccess) field.",
      "enum": [
        "public",
        "restricted",
        null
      ],
      "examples": [
        "public"
      ]
    },
    "npmPublishProvenance": {
      "_package": "@yarnpkg/plugin-npm-cli",
      "title": "Define whether to attach a provenance statement when publishing packages to the npm registry.",
      "description": "Accepted for compatibility with earlier Yarn versions, but not currently used: `yarn npm publish` only generates a provenance statement when called with `--provenance`, or when the [`publishConfig.provenance`](/configuration/manifest#field-publishconfigprovenance) field of the package is set.",
      "type": "boolean",
      "default": false
    },
    "npmAuditExcludePackages": {
      "_package": "@yarnpkg/plugin-npm-cli",
      "title": "Array of package name glob patterns to exclude from `yarn npm audit`.",
      "description": "Matching packages aren't sent to the audit endpoint. Patterns passed through `yarn npm audit --exclude` are added to this list.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "examples": [
        [
          "known_insecure_package"
        ]
      ],
      "_examples": [
        {
          "description": "Exclude one package from audit reports.",
          "value": [
            "known_insecure_package"
          ]
        },
        {
          "description": "Exclude a family of internal test fixtures.",
          "value": [
            "@example/fixture-*",
            "legacy-test-helper"
          ]
        }
      ]
    },
    "npmAuditIgnoreAdvisories": {
      "_package": "@yarnpkg/plugin-npm-cli",
      "title": "Array of advisory ID glob patterns to ignore from `yarn npm audit` results.",
      "description": "Matching advisories are removed from the report. Patterns passed through `yarn npm audit --ignore` are added to this list.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "examples": [
        [
          "1234567"
        ]
      ],
      "_examples": [
        {
          "description": "Ignore a single advisory ID.",
          "value": [
            "1234567"
          ]
        },
        {
          "description": "Ignore a short-term allowlist of advisory IDs while patches are pending.",
          "value": [
            "1234567",
            "GHSA-xxxx-yyyy-zzzz"
          ]
        }
      ]
    },
    "npmPublishRegistry": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Define the registry to use when pushing packages.",
      "description": "If not explicitly set, the value of `npmRegistryServer` will be used. Overridden by `publishConfig.registry`.",
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "examples": [
        "https://npm.pkg.github.com"
      ]
    },
    "npmRegistries": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Per-registry configurations.",
      "description": "Legacy-compatible per-registry npm authentication settings. New configurations may prefer `sourceRules` for registry and ecosystem policy.\n\nEach key is either the registry URL (`https://npm.pkg.github.com`) or the same URL without its protocol (`//npm.pkg.github.com`), which then applies whatever the protocol; trailing slashes are ignored. When both forms are set for a registry, only the entry with the protocol is used. Each entry accepts `npmAlwaysAuth`, `npmAuthIdent`, and `npmAuthToken`, which override the global settings for requests to that registry. `yarn npm login` stores the tokens it obtains here.",
      "type": "object",
      "patternProperties": {
        "^(?:^[a-zA-Z][a-zA-Z0-9+-.]*:)?[^\\s]*$": {
          "type": "object",
          "properties": {
            "npmAlwaysAuth": {
              "_hidden": true,
              "anyOf": [
                {
                  "$ref": "#/properties/npmAlwaysAuth"
                },
                {
                  "type": "null"
                }
              ]
            },
            "npmAuthIdent": {
              "_hidden": true,
              "$ref": "#/properties/npmAuthIdent"
            },
            "npmAuthToken": {
              "_hidden": true,
              "$ref": "#/properties/npmAuthToken"
            }
          }
        }
      },
      "additionalProperties": false,
      "_exampleKeys": [
        "https://npm.pkg.github.com"
      ],
      "_examples": [
        {
          "description": "Configure authentication for the public npm registry.",
          "value": {
            "https://registry.npmjs.org": {
              "npmAuthToken": "${NPM_TOKEN}"
            }
          }
        },
        {
          "description": "Always send auth for a private registry.",
          "value": {
            "https://npm.pkg.github.com": {
              "npmAlwaysAuth": true,
              "npmAuthToken": "${GITHUB_TOKEN}"
            }
          }
        }
      ]
    },
    "npmRegistryServer": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Define the registry to use when fetching packages.",
      "description": "Should you want to define different registries for different packages, see `packageRules`. To define the authentication scheme for your servers, see `npmAuthToken`. The url must use HTTPS by default, but this can be changed by adding it to the `unsafeHttpWhitelist`.",
      "type": "string",
      "format": "uri",
      "default": "https://registry.npmjs.org",
      "examples": [
        "https://registry.example.org"
      ]
    },
    "pypiRegistryServer": {
      "_package": "@yarnpkg/core",
      "title": "Define the PyPI registry to use when fetching Python packages.",
      "description": "Used by the `pypi:` protocol. Must point to the root of a [Simple Repository API](https://packaging.python.org/en/latest/specifications/simple-repository-api/) (PEP 503 / PEP 691), which is the URL you'd give to `pip --index-url`; `https://pypi.org` is accepted as an alias for `https://pypi.org/simple/`. Can be overridden for specific packages using `packageRules`.",
      "type": "string",
      "format": "uri",
      "default": "https://pypi.org/simple/",
      "_examples": [
        {
          "description": "Use an internal PyPI-compatible registry.",
          "value": "https://pypi.example.org/simple/"
        }
      ]
    },
    "pypiAuthIdent": {
      "_package": "@yarnpkg/core",
      "title": "Username and password (`username:password`) to use for PyPI authentication.",
      "description": "Sent as `Authorization: Basic` credentials when querying PyPI indexes. Takes precedence over `pypiAuthToken` when both are set. Credentials are only sent to the host serving the index; artifacts hosted elsewhere are downloaded without them. Can be set per package through `packageRules`, or per index through `sourceRules`.",
      "type": [
        "string",
        "null"
      ],
      "examples": [
        "${PYPI_USERNAME}:${PYPI_PASSWORD}"
      ]
    },
    "pypiAuthToken": {
      "_package": "@yarnpkg/core",
      "title": "Token to use for PyPI authentication.",
      "description": "Sent as an `Authorization: Bearer` token when querying PyPI indexes. Credentials are only sent to the host serving the index; artifacts hosted elsewhere are downloaded without them. Can be set per package through `packageRules`, or per index through `sourceRules`.",
      "type": [
        "string",
        "null"
      ],
      "examples": [
        "${PYPI_TOKEN}"
      ]
    },
    "pypiMacosTarget": {
      "_package": "@yarnpkg/core",
      "title": "Newest macOS version that macOS wheels may require.",
      "description": "Wheels whose `macosx_X_Y` platform tag requires a newer macOS version are ignored when selecting the wheels to lock for macOS. The value is a `major.minor` version.",
      "type": "string",
      "default": "14.0",
      "examples": [
        "15.0"
      ]
    },
    "pypiManylinuxTarget": {
      "_package": "@yarnpkg/core",
      "title": "Newest glibc version that manylinux wheels may require.",
      "description": "Wheels whose `manylinux_X_Y` platform tag requires a newer glibc are ignored when selecting the wheels to lock for Linux. The value is a `major.minor` version.",
      "type": "string",
      "default": "2.34",
      "examples": [
        "2.28"
      ]
    },
    "pypiMinimalAgeGate": {
      "_package": "@yarnpkg/core",
      "title": "Minimum age of a PyPI release file required before installation.",
      "description": "Files uploaded more recently than this duration are ignored (the equivalent of uv's `exclude-newer`). It relies on the upload times reported by PEP 691 indexes; files whose index doesn't report an upload time are never filtered. Can be overridden per package through `packageRules`, or per index through `sourceRules`.",
      "type": "string",
      "default": "0s",
      "_examples": [
        {
          "description": "Ignore files published less than two days ago.",
          "value": "2d"
        }
      ]
    },
    "pythonDownloadMirror": {
      "_package": "@yarnpkg/core",
      "title": "Base URL of the python-build-standalone releases.",
      "description": "Managed CPython builds are downloaded from `<mirror>/<release>/`, along with the `SHA256SUMS` file used to verify them. The name of the latest release is still read from the python-build-standalone repository on GitHub.",
      "type": "string",
      "format": "uri",
      "default": "https://github.com/astral-sh/python-build-standalone/releases/download",
      "examples": [
        "https://artifacts.example.com/python-build-standalone/releases/download"
      ]
    },
    "pythonDownloads": {
      "_package": "@yarnpkg/core",
      "title": "Define whether Yarn may download managed Python interpreters.",
      "description": "If true (the default), Yarn downloads a [python-build-standalone](https://github.com/astral-sh/python-build-standalone) CPython build when no interpreter matching the requested `pythonVersion` is found, either in the global folder or on the `PATH`. If false, the install fails instead.",
      "type": "boolean",
      "default": true
    },
    "pythonPreference": {
      "_package": "@yarnpkg/core",
      "title": "Define which Python interpreters Yarn should prefer.",
      "description": "Possible values are:\n\n- If `managed` (the default), Yarn uses a python-build-standalone build already downloaded in the global folder, then an interpreter found on the `PATH`, and finally downloads a build (unless `pythonDownloads` is `false`).\n- If `system`, interpreters found on the `PATH` are preferred over the managed builds.\n\nThe `YARN_PYTHON_EXECUTABLE` environment variable can be used to force a specific interpreter.",
      "type": "string",
      "enum": [
        "managed",
        "system"
      ],
      "default": "managed",
      "_examples": [
        {
          "description": "Prefer the interpreters installed on the system.",
          "value": "system"
        }
      ]
    },
    "pythonVersion": {
      "_package": "@yarnpkg/core",
      "title": "Python version used for PyPI packages and venv islands.",
      "description": "Accepts a `major.minor` (`3.12`) or `major.minor.patch` (`3.12.11`) version. It's used to evaluate environment markers and `requires-python` when resolving `pypi:` dependencies, and to pick the interpreter of the `venv` islands. The `.python-version` file at the root of the project takes precedence over this setting, and each island can override both through a `.python-version` file in the folder of one of its workspaces, or its own `pythonVersion` field (see `unstableIslands`).",
      "type": "string",
      "default": "3.12",
      "examples": [
        "3.13"
      ]
    },
    "npmScopes": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Per-scope registry configurations.",
      "description": "Legacy-compatible per-scope npm registry, authentication, and `npmMinimalAgeGate` settings. New configurations may prefer `packageRules`.\n\nEach key is a scope name, without the leading `@`. Each entry accepts `npmRegistryServer`, `npmPublishRegistry`, `npmAlwaysAuth`, `npmAuthIdent`, `npmAuthToken`, and `npmMinimalAgeGate`, which apply to the packages of that scope. A scope's `npmMinimalAgeGate` replaces the global value for the packages of that scope, and can be stricter or looser (`0` disables the gate); `sourceRules` and `packageRules` still take precedence over it.",
      "type": "object",
      "patternProperties": {
        "^\\S+$": {
          "type": "object",
          "properties": {
            "npmPublishRegistry": {
              "examples": [
                "https://registry.yarnpkg.com"
              ],
              "_hidden": true,
              "$ref": "#/properties/npmPublishRegistry"
            },
            "npmRegistryServer": {
              "_hidden": true,
              "anyOf": [
                {
                  "$ref": "#/properties/npmRegistryServer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "npmAlwaysAuth": {
              "_hidden": true,
              "anyOf": [
                {
                  "$ref": "#/properties/npmAlwaysAuth"
                },
                {
                  "type": "null"
                }
              ]
            },
            "npmAuthIdent": {
              "_hidden": true,
              "$ref": "#/properties/npmAuthIdent"
            },
            "npmAuthToken": {
              "_hidden": true,
              "$ref": "#/properties/npmAuthToken"
            },
            "npmMinimalAgeGate": {
              "_hidden": true,
              "anyOf": [
                {
                  "$ref": "#/properties/npmMinimalAgeGate"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        }
      },
      "additionalProperties": false,
      "_exampleKeys": [
        "my-company"
      ],
      "_examples": [
        {
          "description": "Route one scope to a GitHub Packages registry.",
          "value": {
            "my-company": {
              "npmRegistryServer": "https://npm.pkg.github.com",
              "npmAuthToken": "${GITHUB_TOKEN}"
            }
          }
        },
        {
          "description": "Use a different registry only when publishing a scope.",
          "value": {
            "my-company": {
              "npmPublishRegistry": "https://npm.pkg.github.com",
              "npmRegistryServer": "https://registry.npmjs.org"
            }
          }
        },
        {
          "description": "Install fresh releases of an internal scope immediately.",
          "value": {
            "my-company": {
              "npmRegistryServer": "https://npm.pkg.github.com",
              "npmMinimalAgeGate": "0"
            }
          }
        }
      ]
    },
    "packageRules": {
      "_package": "@yarnpkg/core",
      "title": "Package-specific configuration rules.",
      "description": "Rules are applied in order, and later matching rules override earlier ones. Each rule must define at least one of `ecosystemFilter` (`npm` or `pypi`) or `packageFilter` (a package name glob pattern). Besides the filters, a rule accepts `npmRegistryServer`, `npmPublishRegistry`, `npmMinimalAgeGate`, `npmAlwaysAuth`, `npmAuthIdent`, `npmAuthToken`, `pypiRegistryServer`, `pypiMinimalAgeGate`, `pypiAuthIdent`, and `pypiAuthToken`, which override the matching global settings for the packages it matches. Package rules take precedence over `npmScopes`, `npmRegistries`, and `sourceRules`.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ecosystemFilter": {
            "type": [
              "string",
              "null"
            ],
            "description": "The package ecosystem this rule applies to.",
            "enum": [
              "npm",
              "pypi",
              null
            ],
            "_hidden": true
          },
          "packageFilter": {
            "type": [
              "string",
              "null"
            ],
            "description": "The package name glob pattern this rule applies to.",
            "_hidden": true
          },
          "npmRegistryServer": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/npmRegistryServer"
              },
              {
                "type": "null"
              }
            ]
          },
          "npmPublishRegistry": {
            "_hidden": true,
            "$ref": "#/properties/npmPublishRegistry"
          },
          "pypiRegistryServer": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/pypiRegistryServer"
              },
              {
                "type": "null"
              }
            ]
          },
          "pypiMinimalAgeGate": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/pypiMinimalAgeGate"
              },
              {
                "type": "null"
              }
            ]
          },
          "pypiAuthIdent": {
            "_hidden": true,
            "$ref": "#/properties/pypiAuthIdent"
          },
          "pypiAuthToken": {
            "_hidden": true,
            "$ref": "#/properties/pypiAuthToken"
          },
          "npmMinimalAgeGate": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/npmMinimalAgeGate"
              },
              {
                "type": "null"
              }
            ]
          },
          "npmAlwaysAuth": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/npmAlwaysAuth"
              },
              {
                "type": "null"
              }
            ]
          },
          "npmAuthIdent": {
            "_hidden": true,
            "$ref": "#/properties/npmAuthIdent"
          },
          "npmAuthToken": {
            "_hidden": true,
            "$ref": "#/properties/npmAuthToken"
          }
        },
        "anyOf": [
          {
            "required": [
              "ecosystemFilter"
            ],
            "properties": {
              "ecosystemFilter": {
                "not": {
                  "type": "null"
                }
              }
            }
          },
          {
            "required": [
              "packageFilter"
            ],
            "properties": {
              "packageFilter": {
                "not": {
                  "type": "null"
                }
              }
            }
          }
        ]
      },
      "_examples": [
        {
          "description": "Route one npm scope to a private registry.",
          "value": [
            {
              "ecosystemFilter": "npm",
              "packageFilter": "@my-scope/*",
              "npmRegistryServer": "https://registry.example.org"
            }
          ]
        },
        {
          "description": "Disable the npm minimum age gate for one package.",
          "value": [
            {
              "packageFilter": "specific-package",
              "npmMinimalAgeGate": "0s"
            }
          ]
        },
        {
          "description": "Route internal Python packages to a private index.",
          "value": [
            {
              "ecosystemFilter": "pypi",
              "packageFilter": "mycompany-*",
              "pypiRegistryServer": "https://pypi.example.org/simple/",
              "pypiAuthToken": "${PYPI_TOKEN}",
              "pypiMinimalAgeGate": "0s"
            }
          ]
        }
      ]
    },
    "sourceRules": {
      "_package": "@yarnpkg/core",
      "title": "Source-specific configuration rules.",
      "description": "Rules are applied in order, and later matching rules override earlier ones. Each rule must define at least one of `ecosystemFilter` (`npm` or `pypi`) or `registryFilter` (a registry or index URL, compared after normalizing trailing slashes). Besides the filters, a rule accepts `npmMinimalAgeGate`, `npmAlwaysAuth`, `npmAuthIdent`, `npmAuthToken`, `pypiMinimalAgeGate`, `pypiAuthIdent`, and `pypiAuthToken`, which override the matching global settings for the requests sent to the sources it matches. Source rules take precedence over `npmScopes` and `npmRegistries`, and are themselves overridden by `packageRules`.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ecosystemFilter": {
            "type": [
              "string",
              "null"
            ],
            "description": "The source ecosystem this rule applies to.",
            "enum": [
              "npm",
              "pypi",
              null
            ],
            "_hidden": true
          },
          "registryFilter": {
            "type": [
              "string",
              "null"
            ],
            "description": "The registry or index URL this rule applies to, or the same URL without its protocol (`//registry.example.org`) to match it whatever its protocol; trailing slashes are ignored.",
            "format": "uri-reference",
            "_hidden": true
          },
          "npmMinimalAgeGate": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/npmMinimalAgeGate"
              },
              {
                "type": "null"
              }
            ]
          },
          "pypiMinimalAgeGate": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/pypiMinimalAgeGate"
              },
              {
                "type": "null"
              }
            ]
          },
          "pypiAuthIdent": {
            "_hidden": true,
            "$ref": "#/properties/pypiAuthIdent"
          },
          "pypiAuthToken": {
            "_hidden": true,
            "$ref": "#/properties/pypiAuthToken"
          },
          "npmAlwaysAuth": {
            "_hidden": true,
            "anyOf": [
              {
                "$ref": "#/properties/npmAlwaysAuth"
              },
              {
                "type": "null"
              }
            ]
          },
          "npmAuthIdent": {
            "_hidden": true,
            "$ref": "#/properties/npmAuthIdent"
          },
          "npmAuthToken": {
            "_hidden": true,
            "$ref": "#/properties/npmAuthToken"
          }
        },
        "anyOf": [
          {
            "required": [
              "ecosystemFilter"
            ],
            "properties": {
              "ecosystemFilter": {
                "not": {
                  "type": "null"
                }
              }
            }
          },
          {
            "required": [
              "registryFilter"
            ],
            "properties": {
              "registryFilter": {
                "not": {
                  "type": "null"
                }
              }
            }
          }
        ]
      },
      "_examples": [
        {
          "description": "Configure authentication for one npm registry.",
          "value": [
            {
              "ecosystemFilter": "npm",
              "registryFilter": "https://registry.example.org",
              "npmAuthToken": "${NPM_TOKEN}"
            }
          ]
        },
        {
          "description": "Use a different npm age gate for all npm sources.",
          "value": [
            {
              "ecosystemFilter": "npm",
              "npmMinimalAgeGate": "6h"
            }
          ]
        },
        {
          "description": "Authenticate the requests sent to a private PyPI index.",
          "value": [
            {
              "ecosystemFilter": "pypi",
              "registryFilter": "https://pypi.example.org/simple/",
              "pypiAuthIdent": "${PYPI_USERNAME}:${PYPI_PASSWORD}"
            }
          ]
        }
      ]
    },
    "packageExtensions": {
      "_package": "@yarnpkg/core",
      "title": "Extend the package definitions of your dependencies; useful to fix third-party issues.",
      "description": "Some packages may have been specified incorrectly with regard to their dependencies - for example with one dependency being missing, causing Yarn to refuse it the access. The `packageExtensions` fields offer a way to extend the existing package definitions with additional information. If you use it, consider sending a PR upstream and contributing your extension to the [`plugin-compat` database](https://github.com/yarnpkg/berry/blob/master/packages/yarnpkg-extensions/sources/index.ts).\n\nNote: This field is made to add dependencies; if you need to rewrite existing ones, prefer the `resolutions` field instead.",
      "type": "object",
      "patternProperties": {
        "^(?:@([^/]+?)/)?([^/]+?)(?:@(.+))$": {
          "description": "Each key is a descriptor covering a semver range. The extensions will be applied to any package whose version matches the specified range. This is true regardless of where the package comes from, so no distinction on whether they come from git or a registry, for example. Only the version matters.",
          "type": "object",
          "properties": {
            "dependencies": {
              "_hidden": true,
              "description": "Dependencies to add to the matching packages.",
              "type": "object",
              "patternProperties": {
                "^(?:@([^/]+?)/)?([^/]+?)$": {
                  "type": "string",
                  "pattern": "^(.+)$",
                  "examples": [
                    "^4.15.0"
                  ]
                }
              },
              "additionalProperties": false,
              "_exampleKeys": [
                "lodash"
              ]
            },
            "peerDependencies": {
              "_hidden": true,
              "description": "Peer dependencies to add to the matching packages.",
              "type": "object",
              "patternProperties": {
                "^(?:@([^/]+?)/)?([^/]+?)$": {
                  "type": "string",
                  "pattern": "^(.+)$",
                  "examples": [
                    "*"
                  ]
                }
              },
              "additionalProperties": false,
              "_exampleKeys": [
                "webpack-cli"
              ]
            },
            "peerDependenciesMeta": {
              "_hidden": true,
              "description": "Peer dependency metadata to add to the matching packages.",
              "type": "object",
              "patternProperties": {
                "^(?:@([^/]+?)/)?([^/]+?)$": {
                  "type": "object",
                  "properties": {
                    "optional": {
                      "_hidden": true,
                      "description": "Whether the peer dependency is optional.",
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "examples": [
                        true
                      ]
                    }
                  }
                }
              },
              "additionalProperties": false,
              "_exampleKeys": [
                "webpack-cli"
              ]
            }
          },
          "_margin": false
        }
      },
      "additionalProperties": false,
      "_exampleKeys": [
        "webpack@*"
      ],
      "_examples": [
        {
          "description": "Add a missing regular dependency to a third-party package.",
          "value": {
            "some-package@*": {
              "dependencies": {
                "lodash": "^4.17.21"
              }
            }
          }
        },
        {
          "description": "Declare an optional peer dependency for a package that forgot its metadata.",
          "value": {
            "webpack-plugin-example@*": {
              "peerDependencies": {
                "webpack": "*"
              },
              "peerDependenciesMeta": {
                "webpack": {
                  "optional": true
                }
              }
            }
          }
        }
      ]
    },
    "patchFolder": {
      "_package": "@yarnpkg/plugin-patch",
      "title": "Folder where patch files will be written to.",
      "description": "Used by `yarn patch-commit --save`, which writes the patch file there and updates the manifests to reference it through the `patch:` protocol. Relative paths are resolved from the project root.",
      "type": "string",
      "format": "uri-reference",
      "default": ".yarn/patches",
      "examples": [
        "patches"
      ]
    },
    "pnpEnableInlining": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Define whether to store the PnP data in the generated file or not.",
      "description": "If false, Yarn will generate an additional `.pnp.data.json` file.",
      "type": "boolean",
      "default": true
    },
    "pnpFallbackMode": {
      "_package": "@yarnpkg/plugin-pnp",
      "type": "string",
      "title": "Define whether to allow packages to rely on the builtin PnP fallback mechanism.",
      "description": "Possible values are:\n\n- If `all`, all packages can access dependencies made available in the fallback.\n- If `dependencies-only` (the default), dependencies will have access to them but not your workspaces.\n- If `none`, no packages will have access to them.",
      "enum": [
        "none",
        "dependencies-only",
        "all"
      ],
      "default": "dependencies-only",
      "_examples": [
        {
          "description": "Disable the fallback to catch every undeclared dependency.",
          "value": "none"
        }
      ]
    },
    "pnpIgnorePatterns": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Array of file glob patterns that should be forced to use the default CommonJS resolution.",
      "description": "Files matching those locations will not be covered by PnP and will use the regular Node.js resolution algorithm. Typically only needed if you have subprojects that aren't yet part of your workspace tree.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "_exampleItems": [
        "./subdir/*"
      ],
      "_examples": [
        {
          "description": "Exclude one legacy subproject from Plug'n'Play resolution.",
          "value": [
            "./legacy/*"
          ]
        },
        {
          "description": "Exclude multiple generated package folders.",
          "value": [
            "./examples/*",
            "./fixtures/*"
          ]
        }
      ]
    },
    "pnpShebang": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "String prepended to the generated PnP loader.",
      "description": "Written as the first line of the generated `.pnp.cjs` file.",
      "type": "string",
      "pattern": "^(#!.*\n?)+",
      "default": "#!/usr/bin/env node",
      "examples": [
        "#!/usr/bin/env -S node --no-warnings"
      ]
    },
    "pnpUnpluggedFolder": {
      "_package": "@yarnpkg/plugin-pnp",
      "title": "Path where unplugged packages are stored.",
      "description": "While Yarn attempts to reference and load packages directly from their zip archives, it may not always be possible. In those cases, Yarn will extract the files to the unplugged folder. Relative paths are resolved from the project root.",
      "type": "string",
      "format": "uri-reference",
      "default": ".yarn/unplugged",
      "examples": [
        ".yarn/unplugged-packages"
      ]
    },
    "preferDeferredVersions": {
      "_package": "@yarnpkg/plugin-version",
      "title": "Define whether to use deferred versioning by default or not.",
      "description": "If true, deferred versioning by default when running the `yarn version` family of commands.",
      "type": "boolean",
      "default": false
    },
    "preferInteractive": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to use interactive prompts by default or not.",
      "description": "Accepted for compatibility with earlier Yarn versions, but not currently used: no command reads this setting.",
      "type": "boolean",
      "default": false
    },
    "preferReuse": {
      "_package": "@yarnpkg/plugin-essentials",
      "title": "Define whether to reuse most common dependency ranges or not when adding dependencies to a package.",
      "description": "If true, `yarn add` will attempt to reuse the most common dependency range in other workspaces.",
      "type": "boolean",
      "default": false
    },
    "preferTruncatedLines": {
      "_package": "@yarnpkg/core",
      "title": "Define whether to truncate lines that would go beyond the size of the terminal or not.",
      "description": "Accepted for compatibility with earlier Yarn versions, but not currently used: Yarn doesn't read this setting.",
      "type": "boolean",
      "default": false
    },
    "supportedArchitectures": {
      "_package": "@yarnpkg/core",
      "title": "Systems for which Yarn should install packages.",
      "type": [
        "object",
        "array",
        "null"
      ],
      "properties": {
        "os": {
          "title": "List of operating systems to cover.",
          "description": "Accepts `current` and the values of Node.js' `process.platform` (for example `darwin`, `linux`, or `win32`).",
          "type": [
            "string",
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "default": "current",
          "_exampleItems": [
            "current",
            "darwin",
            "linux",
            "win32"
          ]
        },
        "cpu": {
          "title": "List of CPU architectures to cover.",
          "description": "See https://nodejs.org/docs/latest/api/process.html#processarch for the architectures supported by Node.js",
          "type": [
            "string",
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "default": "current",
          "_exampleItems": [
            "current",
            "x64",
            "ia32",
            "arm64"
          ]
        },
        "libc": {
          "title": "The list of standard C libraries to cover.",
          "description": "Accepts `current`, `glibc`, and `musl`.",
          "type": [
            "string",
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "default": "current",
          "_exampleItems": [
            "current",
            "glibc",
            "musl"
          ]
        }
      },
      "_examples": [
        {
          "description": "Install packages for the current platform plus Linux x64.",
          "value": {
            "os": [
              "current",
              "linux"
            ],
            "cpu": [
              "current",
              "x64"
            ],
            "libc": [
              "current",
              "glibc"
            ]
          }
        },
        {
          "description": "Pre-resolve common macOS and Linux variants for a mixed team.",
          "value": {
            "os": [
              "darwin",
              "linux"
            ],
            "cpu": [
              "x64",
              "arm64"
            ],
            "libc": [
              "glibc",
              "musl"
            ]
          }
        },
        {
          "description": "Match macOS arm64 and Linux x64 independently, with any C library.",
          "value": [
            {
              "os": "darwin",
              "cpu": "arm64",
              "libc": null
            },
            {
              "os": "linux",
              "cpu": "x64",
              "libc": null
            }
          ]
        }
      ],
      "description": "Accepts a single entry or a list of entries. Fields within each entry form a cross product; list entries are matched independently. An omitted setting, `null`, or an empty list uses the current system. Each field accepts a string, an array of strings, or `null` to cover all values; an empty field array covers none. Omitted fields default to `current`.",
      "items": {
        "$ref": "#/properties/supportedArchitectures",
        "type": "object"
      }
    },
    "tsEnableAutoTypes": {
      "_package": "@yarnpkg/plugin-typescript",
      "title": "Define whether to automatically install @types dependencies.",
      "description": "Alias for `enableAutoTypes`. Prefer the canonical setting name for new configurations.",
      "type": "boolean",
      "examples": [
        true
      ]
    },
    "approvedGitRepositories": {
      "_package": "@yarnpkg/plugin-git",
      "title": "Array of git repository URL patterns that are allowed to be fetched.",
      "description": "Git dependencies are rejected unless their repository URL matches one of these glob patterns. The default empty list blocks all git dependencies.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [],
      "_examples": [
        {
          "description": "Allow every repository from one GitHub organization.",
          "value": [
            "https://github.com/yarnpkg/*"
          ]
        },
        {
          "description": "Allow a single SSH repository.",
          "value": [
            "git@github.com:my-company/internal-package.git"
          ]
        }
      ]
    },
    "daemonOutputBufferMaxLines": {
      "_package": "@yarnpkg/core",
      "title": "Maximum number of output lines kept in memory per daemon task.",
      "description": "Long-running daemon tasks keep a bounded output buffer so recent logs remain available without unbounded memory growth.",
      "type": "integer",
      "default": 1000,
      "_examples": [
        {
          "description": "Keep only a short tail for very chatty tasks.",
          "value": 200
        },
        {
          "description": "Keep a larger in-memory history while debugging task output.",
          "value": 5000
        }
      ],
      "minimum": 0
    },
    "daemonMaxClosedTasks": {
      "_package": "@yarnpkg/core",
      "title": "Maximum number of completed daemon tasks kept in memory.",
      "description": "Once this limit is reached, older completed or failed daemon tasks may be discarded from the daemon's in-memory history.",
      "type": "integer",
      "default": 100,
      "_examples": [
        {
          "description": "Keep a smaller history on memory-constrained machines.",
          "value": 25
        },
        {
          "description": "Keep more completed tasks available for inspection.",
          "value": 250
        }
      ],
      "minimum": 0
    },
    "daemonDefaultWarmupPeriod": {
      "_package": "@yarnpkg/core",
      "title": "Default warm-up period for long-lived daemon tasks.",
      "description": "After a long-lived task starts, dependents are unblocked once this duration elapses. Values without unit are in seconds.",
      "type": "string",
      "default": "1s",
      "_examples": [
        {
          "description": "Use a shorter warm-up for tasks that become ready quickly.",
          "value": "500ms"
        },
        {
          "description": "Use a longer warm-up for services that take time to become ready.",
          "value": "10s"
        }
      ]
    },
    "taskConcurrency": {
      "_package": "@yarnpkg/core",
      "title": "Maximum number of task processes running at the same time.",
      "description": "The daemon shares this limit between all the `yarn tasks run` invocations it serves. Long-lived tasks and tasks without a script don't count toward it, nor do tasks waiting on a nested `yarn tasks run`. The background daemon reads it when it starts, so it must be restarted for changes to apply. Defaults to the number of CPUs.",
      "type": "integer",
      "_examples": [
        {
          "description": "Run tasks one at a time.",
          "value": 1
        },
        {
          "description": "Leave some CPUs available for other work.",
          "value": 4
        }
      ]
    },
    "enableAutoTypes": {
      "_package": "@yarnpkg/plugin-typescript",
      "title": "Define whether Yarn should automatically add @types packages.",
      "description": "When enabled, Yarn may add matching `@types/*` packages when adding dependencies that don't ship their own TypeScript declarations, and `yarn remove` also removes the `@types/*` package matching each removed dependency. Enabled by default when a `tsconfig.json` exists at the project root or in the active workspace. This setting is also available through the `tsEnableAutoTypes` alias.",
      "type": "boolean",
      "_examples": [
        {
          "description": "Enable automatic type acquisition explicitly.",
          "value": true
        },
        {
          "description": "Disable automatic type acquisition for projects that manage types manually.",
          "value": false
        }
      ]
    },
    "enableCacheClean": {
      "_package": "@yarnpkg/core",
      "title": "Define whether the cache clean command is allowed to remove cache entries.",
      "description": "If false, `yarn cache clean` refuses to run and reports an error instead of removing entries from the cache.",
      "type": "boolean",
      "default": true,
      "_examples": [
        {
          "description": "Prevent cache clean operations in shared environments.",
          "value": false
        },
        {
          "description": "Allow cache clean operations.",
          "value": true
        }
      ]
    },
    "enableLocalCacheCleanup": {
      "_package": "@yarnpkg/core",
      "title": "Define whether unused packages should be removed from the local cache after installs.",
      "description": "When enabled, Yarn removes the archives that the project doesn't use anymore from the project-local cache after each install. This only applies when `enableGlobalCache` is disabled and `cacheFolder` is left to its default: a custom cache folder may be shared with other projects, so it is never pruned. Unused entries make installs fail when `enableImmutableCache` is set, unless this setting is disabled.",
      "type": "boolean",
      "default": true,
      "_examples": [
        {
          "description": "Keep the root node_modules folder when installing with the pnp linker.",
          "value": false
        }
      ]
    },
    "enableMigrationMode": {
      "_package": "@yarnpkg/core",
      "title": "Define whether migration mode should be enabled.",
      "description": "Migration mode changes various settings to make migration easier. It is usually applied automatically by Yarn Switch when necessary rather than set manually.",
      "type": "boolean",
      "default": false,
      "_examples": [
        {
          "description": "Enable migration compatibility behavior for a project.",
          "value": true
        },
        {
          "description": "Use the regular behavior once migration is complete.",
          "value": false
        }
      ]
    },
    "enforceUnsafeHttp": {
      "_package": "@yarnpkg/core",
      "title": "Define whether Yarn should enforce unsafe HTTP requests over HTTPS.",
      "description": "If true, Yarn rewrites the URL of every request to use plain `http:` instead of `https:`, and `unsafeHttpWhitelist` isn't checked anymore. This setting is intended for controlled environments (such as tests against a local registry) that deliberately need to force unsafe HTTP behavior.",
      "type": "boolean",
      "default": false,
      "_examples": [
        {
          "description": "Keep HTTPS enforcement enabled.",
          "value": false
        },
        {
          "description": "Force unsafe HTTP in a controlled test environment.",
          "value": true
        }
      ]
    },
    "nodeDistUrl": {
      "_package": "@yarnpkg/core",
      "title": "URL used to download Node.js distributions.",
      "description": "Yarn reads the list of releases (`index.json`) and downloads the Node.js binaries from this endpoint when resolving `builtin:` Node.js dependencies (for example `@yarnpkg/node: builtin:^22.0.0`). The builds for musl-based systems come from `nodeUnofficialDistUrl`.",
      "type": "string",
      "format": "uri",
      "default": "https://nodejs.org/dist",
      "_examples": [
        {
          "description": "Use the official Node.js distribution endpoint.",
          "value": "https://nodejs.org/dist"
        },
        {
          "description": "Use an internal mirror for Node.js distributions.",
          "value": "https://artifacts.example.com/nodejs/dist"
        }
      ]
    },
    "nodeUnofficialDistUrl": {
      "_package": "@yarnpkg/core",
      "title": "URL used to download the unofficial Node.js builds.",
      "description": "The official Node.js builds for Linux require glibc, so on musl-based systems such as Alpine Yarn installs the musl builds the Node.js project publishes as [unofficial builds](https://unofficial-builds.nodejs.org). Those systems read the list of releases (`index.json`) and download their Node.js binaries from this endpoint, which is expected to follow the layout of the Node.js project's unofficial builds.",
      "type": "string",
      "format": "uri",
      "default": "https://unofficial-builds.nodejs.org/download/release",
      "_examples": [
        {
          "description": "Use an internal mirror for the unofficial Node.js builds.",
          "value": "https://artifacts.example.com/nodejs/unofficial-builds"
        }
      ]
    },
    "npmMinimalAgeGate": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Minimum package version age required before installation.",
      "description": "Versions newer than this duration won't be considered for installation unless they are preapproved. This can reduce exposure to newly-published supply-chain incidents.\n\nWhen every version matching a request is too recent, the resolution fails with an error that names the newest of them and the date it was published, rather than reporting that nothing matched.\n\nThe duration accepts the `ms`, `s`, `m`, `h`, `d`, and `w` units; values without unit are in minutes (as in Yarn 4), so `1440` is one day; `0` disables the gate. The value can be overridden per scope (`npmScopes`), per registry (`sourceRules`), and per package (`packageRules`), in increasing order of precedence; `--no-time-gate` on `yarn add` and `yarn up` disables all of them.",
      "type": "string",
      "default": "1d",
      "_examples": [
        {
          "description": "Require packages to be at least one day old.",
          "value": "1d"
        },
        {
          "description": "Use a shorter gate for fast-moving internal projects.",
          "value": "1h"
        }
      ]
    },
    "npmPreapprovedPackages": {
      "_package": "@yarnpkg/plugin-npm",
      "title": "Package descriptors that bypass the minimum age gate.",
      "description": "Use this list for packages you trust or that must be installed immediately despite `npmMinimalAgeGate`.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "_examples": [
        {
          "description": "Preapprove one package range.",
          "value": [
            "typescript@^5.0.0"
          ]
        },
        {
          "description": "Preapprove multiple trusted packages.",
          "value": [
            "@my-scope/*@*",
            "eslint@^9.0.0"
          ]
        }
      ]
    },
    "pnpmHoistPatterns": {
      "_package": "@yarnpkg/plugin-pnpm",
      "title": "Package patterns hoisted to node_modules/.yarn/store/node_modules.",
      "description": "By default all packages are hoisted into the hidden modules directory inside the pnpm virtual store. Use an empty array to disable this hoisting.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "*"
      ],
      "_examples": [
        {
          "description": "Disable hidden-store hoisting.",
          "value": []
        },
        {
          "description": "Hoist every package plus a scoped package family.",
          "value": [
            "*",
            "@babel/*"
          ]
        }
      ]
    },
    "pnpmPublicHoistPatterns": {
      "_package": "@yarnpkg/plugin-pnpm",
      "title": "Package patterns hoisted to the root node_modules directory.",
      "description": "Unlike `pnpmHoistPatterns`, this setting hoists matching packages to the public root `node_modules` directory.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "_examples": [
        {
          "description": "Expose selected tooling packages at the project root.",
          "value": [
            "eslint",
            "prettier"
          ]
        },
        {
          "description": "Disable public hoisting.",
          "value": []
        }
      ]
    },
    "slowNetworkTimeout": {
      "_package": "@yarnpkg/core",
      "title": "Timeout before a network request is considered slow.",
      "description": "Controls when Yarn reports a network request as slow. Values without unit are in milliseconds.",
      "type": "string",
      "default": "5s",
      "_examples": [
        {
          "description": "Report slow requests after five seconds.",
          "value": "5s"
        },
        {
          "description": "Use a more patient threshold on slow networks.",
          "value": "30s"
        }
      ]
    },
    "unstableIslands": {
      "_package": "@yarnpkg/core",
      "title": "Configuration of resolution islands.",
      "description": "Each island resolves its transitive dependencies in isolation using a constraint solver, producing at most one version of each package per island. Each entry accepts:\n\n- `workspaces`: the workspace name glob patterns belonging to the island.\n- `linker`: `node-modules`, or `venv` for Python workspaces using the [`pypi:` protocol](/protocol/pypi).\n- `pythonVersion`: the Python version of the island, overriding the `.python-version` files (the island's and the project's) and the global `pythonVersion` setting.\n- `pypiConstraints`: PEP 508 requirements restricting the versions the island may select, without adding the packages to the island (like uv's `constraint-dependencies`).\n- `pypiSeedLockfile`: the path (relative to the project root) of a `uv.lock` file whose versions are preferred while the island has no entry in the lockfile yet; `yarn import uv` sets it so that migrating doesn't upgrade anything.",
      "type": "object",
      "patternProperties": {
        "^(.+)$": {
          "type": "object",
          "properties": {
            "workspaces": {
              "_hidden": true,
              "description": "List of workspace name glob patterns that belong to this island.",
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "linker": {
              "_hidden": true,
              "description": "The linker to use for the workspaces of this island.",
              "type": "string",
              "enum": [
                "node-modules",
                "venv"
              ]
            },
            "pythonVersion": {
              "_hidden": true,
              "description": "The Python version used by this island, overriding the global `pythonVersion` setting.",
              "type": [
                "string",
                "null"
              ]
            },
            "pypiSeedLockfile": {
              "_hidden": true,
              "description": "Path (relative to the project root) of a `uv.lock` file whose versions are preferred while the island has no entry in the lockfile yet.",
              "type": [
                "string",
                "null"
              ]
            },
            "pypiConstraints": {
              "_hidden": true,
              "description": "PEP 508 requirements restricting the versions the island may select for a package, without adding the package to the island.",
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "_examples": [
        {
          "description": "Resolve a subset of workspaces through the node-modules linker.",
          "value": {
            "web": {
              "workspaces": [
                "@acme/web-*"
              ],
              "linker": "node-modules"
            }
          }
        },
        {
          "description": "Resolve Python workspaces through the venv linker.",
          "value": {
            "python": {
              "workspaces": [
                "@acme/py-*"
              ],
              "linker": "venv",
              "pythonVersion": "3.13",
              "pypiConstraints": [
                "protobuf<6"
              ]
            }
          }
        }
      ]
    },
    "workspaceProfiles": {
      "_package": "@yarnpkg/core",
      "title": "Per-profile dependencies that can be applied to workspaces.",
      "description": "Workspace profiles let you define reusable dev dependency sets. Workspaces can inherit them through their manifest `extends` field, and the `default` profile is applied automatically. Each profile accepts `devDependencies`, which are added to the workspace unless it already declares them, and `extends`, a list of other profiles to apply as well. When several profiles define the same dependency, the profiles the workspace lists win over the profiles those extend, a profile wins over the ones listed before it, and the `default` profile comes last.",
      "type": "object",
      "patternProperties": {
        "^(.+)$": {
          "type": "object",
          "properties": {
            "extends": {
              "_hidden": true,
              "description": "Other profiles whose dev dependencies are also applied.",
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "devDependencies": {
              "_hidden": true,
              "description": "Dev dependencies added to the workspaces using this profile, unless they already declare them.",
              "type": "object",
              "patternProperties": {
                "^(?:@([^/]+?)/)?([^/]+?)$": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "_examples": [
        {
          "description": "Apply a managed Node.js version to every workspace.",
          "value": {
            "default": {
              "devDependencies": {
                "@yarnpkg/node": "builtin:^22.0.0"
              }
            }
          }
        },
        {
          "description": "Compose a web profile from a shared tooling profile.",
          "value": {
            "tooling": {
              "devDependencies": {
                "typescript": "^5.0.0"
              }
            },
            "web": {
              "extends": [
                "tooling"
              ],
              "devDependencies": {
                "vite": "^6.0.0"
              }
            }
          }
        }
      ]
    },
    "switchVersionRequirement": {
      "_package": "@yarnpkg/core",
      "title": "Version range required for the Yarn Switch binary.",
      "description": "When set, Yarn validates that the Yarn Switch binary version satisfies this semver range before executing any command.",
      "type": [
        "string",
        "null"
      ],
      "_examples": [
        {
          "description": "Require Yarn Switch 6 or newer.",
          "value": "^6.0.0"
        },
        {
          "description": "Disable the Switch version requirement.",
          "value": null
        }
      ]
    },
    "catalog": {
      "_package": "@yarnpkg/core",
      "title": "Default dependency catalog.",
      "description": "Maps package names to version ranges. This is an alias for `catalogs.default`, and entries can be referenced through the `catalog:` protocol.",
      "type": "object",
      "patternProperties": {
        "^(?:@([^/]+?)/)?([^/]+?)$": {
          "type": "string"
        }
      },
      "_examples": [
        {
          "description": "Define shared ranges for common dependencies.",
          "value": {
            "react": "^19.0.0",
            "typescript": "^5.0.0"
          }
        },
        {
          "description": "Define scoped package ranges.",
          "value": {
            "@types/node": "^22.0.0"
          }
        }
      ]
    },
    "catalogs": {
      "_package": "@yarnpkg/core",
      "title": "Named dependency catalogs.",
      "description": "Named catalogs contain predefined version ranges for packages. Use `catalog:name` in dependencies to reference a named catalog.",
      "type": "object",
      "patternProperties": {
        "^(.+)$": {
          "type": "object",
          "patternProperties": {
            "^(?:@([^/]+?)/)?([^/]+?)$": {
              "type": "string"
            }
          }
        }
      },
      "_examples": [
        {
          "description": "Define separate catalogs for app and tooling dependencies.",
          "value": {
            "react19": {
              "react": "^19.0.0",
              "react-dom": "^19.0.0"
            },
            "tooling": {
              "typescript": "^5.0.0"
            }
          }
        },
        {
          "description": "Define an empty named catalog to fill in later.",
          "value": {
            "future": {}
          }
        }
      ]
    },
    "unsafeHttpWhitelist": {
      "_package": "@yarnpkg/core",
      "title": "Array of hostname glob patterns for which using the HTTP protocol is allowed.",
      "description": "Requests to `http:` URLs are rejected unless their hostname matches one of these patterns (or `enforceUnsafeHttp` is enabled).",
      "type": "array",
      "items": {
        "type": "string"
      },
      "_exampleItems": [
        "*.example.org",
        "example.org"
      ],
      "_examples": [
        {
          "description": "Allow HTTP for a single internal host.",
          "value": [
            "registry.internal.example"
          ]
        },
        {
          "description": "Allow HTTP for a whole internal domain.",
          "value": [
            "*.corp.example"
          ]
        }
      ]
    },
    "virtualFolder": {
      "_package": "@yarnpkg/core",
      "title": "Path where virtual packages will be stored.",
      "description": "Due to a particularity in how Yarn installs packages which list peer dependencies, some packages will be mapped to multiple virtual directories that don't actually exist on the filesystem. This settings tells Yarn where to put them. Note that the folder name *must* be `__virtual__`.",
      "type": "string",
      "format": "uri-reference",
      "pattern": "^.*__virtual__$",
      "default": ".yarn/__virtual__",
      "examples": [
        ".cache/__virtual__"
      ]
    }
  }
}