From 2eb086dfa81fa3254127c95d074fbc10054055c1 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Thu, 6 Aug 2026 15:25:02 +0800 Subject: [PATCH] fix: correct proxy key names and add missing fetch settings in pnpm-workspace schema (#6168) Co-authored-by: btea --- src/schemas/json/pnpm-workspace.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/pnpm-workspace.json b/src/schemas/json/pnpm-workspace.json index 2e16d7b7957..21adc3df1db 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -486,8 +486,12 @@ "description": "A proxy to use for outgoing HTTPS requests. If the HTTPS_PROXY, https_proxy, HTTP_PROXY or http_proxy environment variables are set, their values will be used instead.", "type": "string" }, + "httpProxy": { + "description": "A proxy to use for outgoing HTTP requests. If the HTTP_PROXY or http_proxy environment variables are set, proxy settings will be honored by the underlying request library.", + "type": "string" + }, "proxy": { - "description": "A proxy to use for outgoing http requests. If the HTTP_PROXY or http_proxy environment variables are set, proxy settings will be honored by the underlying request library.", + "description": "npm's legacy proxy setting, used as the fallback for both httpsProxy and httpProxy. If the HTTP_PROXY or http_proxy environment variables are set, proxy settings will be honored by the underlying request library.", "type": "string" }, "localAddress": { @@ -498,7 +502,7 @@ "description": "The maximum number of connections to use per origin (protocol/host/port combination).", "type": "number" }, - "noproxy": { + "noProxy": { "description": "A comma-separated string of domain extensions that a proxy should not be used for.", "type": "string" }, @@ -530,6 +534,14 @@ "description": "The maximum amount of time to wait for HTTP requests to complete.", "type": "number" }, + "fetchWarnTimeoutMs": { + "description": "A warning message is displayed if a metadata request to the registry takes longer than the specified threshold (in milliseconds). Added in pnpm v10.18.0.", + "type": "number" + }, + "fetchMinSpeedKiBps": { + "description": "A warning message is displayed if the download speed of a tarball from the registry falls below the specified threshold (in KiB/s). Added in pnpm v10.18.0.", + "type": "number" + }, "autoInstallPeers": { "description": "When true, any missing non-optional peer dependencies are automatically installed.", "type": "boolean"