From 762154cbd793823aed438d72fbd82f31658f47bb Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 4 May 2026 23:39:20 +0200 Subject: [PATCH] fix: Fix `nolyfill` for renovate (#37537) Run `nolyfill` as a renovate post-upgrade step alongside `make svg`, so npm dep bumps keep `pnpm.overrides` in sync. --- This PR was written with the help of Claude Opus 4.7 --------- Signed-off-by: silverwind Co-authored-by: Claude (Opus 4.7) --- Makefile | 5 +++++ renovate.json5 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ad7739c07b9..2466435b17f 100644 --- a/Makefile +++ b/Makefile @@ -606,6 +606,11 @@ update-js: node_modules ## update js dependencies pnpm exec updates -u -f package.json rm -rf node_modules pnpm-lock.yaml pnpm install + @touch node_modules + $(MAKE) --no-print-directory nolyfill + +.PHONY: nolyfill +nolyfill: node_modules ## apply nolyfill overrides to package.json and relock pnpm exec nolyfill install pnpm install @touch node_modules diff --git a/renovate.json5 b/renovate.json5 index 586733b317e..3362f52c231 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -71,8 +71,8 @@ "groupName": "npm dependencies", "matchManagers": ["npm"], "postUpgradeTasks": { - "commands": ["make svg"], - "fileFilters": ["public/assets/img/svg/**"], + "commands": ["make svg nolyfill"], + "fileFilters": ["package.json", "pnpm-lock.yaml", "public/assets/img/svg/**"], "executionMode": "branch", }, },