mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-19 20:35:11 +02:00
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 <me@silverwind.io> Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
parent
a90d5dd131
commit
762154cbd7
5
Makefile
5
Makefile
@ -606,6 +606,11 @@ update-js: node_modules ## update js dependencies
|
|||||||
pnpm exec updates -u -f package.json
|
pnpm exec updates -u -f package.json
|
||||||
rm -rf node_modules pnpm-lock.yaml
|
rm -rf node_modules pnpm-lock.yaml
|
||||||
pnpm install
|
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 exec nolyfill install
|
||||||
pnpm install
|
pnpm install
|
||||||
@touch node_modules
|
@touch node_modules
|
||||||
|
|||||||
@ -71,8 +71,8 @@
|
|||||||
"groupName": "npm dependencies",
|
"groupName": "npm dependencies",
|
||||||
"matchManagers": ["npm"],
|
"matchManagers": ["npm"],
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": ["make svg"],
|
"commands": ["make svg nolyfill"],
|
||||||
"fileFilters": ["public/assets/img/svg/**"],
|
"fileFilters": ["package.json", "pnpm-lock.yaml", "public/assets/img/svg/**"],
|
||||||
"executionMode": "branch",
|
"executionMode": "branch",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user