From 0d0ed72467fee465ed4852e216b9fc62ff252dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9D=A4=E6=98=AF=E7=BA=B1=E9=9B=BE=E9=85=B1=E5=93=9F?= =?UTF-8?q?=EF=BD=9E?= <49941141+Dragon1573@users.noreply.github.com> Date: Thu, 17 Sep 2026 09:44:09 +0000 Subject: [PATCH] chore(renovate): Add `pnpm` version catch up in `devcontainer.json` (#7951) - Remove non-exist devcontainer feature of `pnpm` - Introduce custom managers for catching up `pnpm` version Assisted-by: vscode-copilot-chat:deepseek-flash --- renovate.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 7df4593ce..8d61fafbe 100644 --- a/renovate.json +++ b/renovate.json @@ -78,7 +78,7 @@ }, { "description": "Group PNPM version updates across package.json, tool-versions, workflows, and devcontainer", - "matchPackageNames": ["pnpm", "ghcr.io/devcontainers/features/pnpm"], + "matchPackageNames": ["pnpm"], "groupName": "pnpm" }, { @@ -131,6 +131,16 @@ ], "depNameTemplate": "rust-lang/rust", "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "Update pnpm in devcontainer.json", + "fileMatch": ["^\\.devcontainer/devcontainer\\.json$"], + "matchStrings": [ + "\"ghcr\\.io/devcontainers/features/node:[^\"]+\":\\s*\\{[^}]*\"pnpmVersion\":\\s*\"(?[^\"]+)\"" + ], + "depNameTemplate": "pnpm", + "datasourceTemplate": "npm" } ], "postUpdateOptions": ["pnpmDedupe"],