fix(renovate): match pnpm-workspace.overrides in the override-pin rules #287
No reviewers
Labels
No labels
dependencies
major
security-pin
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
trails-cool/trails!287
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-renovate-override-deptype"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The two renovate.json5 rules for override pins match
matchDepTypes: ["pnpm.overrides"]:security-pinlabelpnpm 11 moved the overrides from
package.jsontooverrides:inpnpm-workspace.yaml. Renovate reports those with depTypepnpm-workspace.overrides(lib/modules/manager/npm/dep-types.ts, and CI runsrenovate:latest). So since the move, neither rule matches anything:expo prebuild(fixed in #277).None of them got the
security-pinlabel.Fix
Both rules now match
["pnpm.overrides", "pnpm-workspace.overrides"]. The old name stays, so a pin added back topackage.jsonis still covered. I added a comment explaining why both depTypes are needed.Verification
renovate.json5parses with json5, and both rules show the new matcher.renovate-config-validatorwas not run: npm could not reach the registry on this network.Not in this PR
🤖 Generated with Claude Code