Skip to content

Commit

Permalink
fix(Renovate): Get Yarn v1 from npm, not GitHub
Browse files Browse the repository at this point in the history
In the custom manager that bumps Yarn v1 in the MegaLinter config, use
the same datasource that we do for Yarn v2+ for consistency, namely npm.
  • Loading branch information
Kurt-von-Laven committed Dec 6, 2023
1 parent 113ccc0 commit 5073987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@
"customType": "regex",
"fileMatch": ["^\\.tool-versions$"],
"matchStrings": ["(?<depName>yarn)\\s+(?<currentValue>(\\d+\\.){2}\\d+)"],
"packageNameTemplate": "yarnpkg/yarn",
"datasourceTemplate": "github-tags",
"packageNameTemplate": "yarn",
"datasourceTemplate": "npm",
"depTypeTemplate": "packageManager",
"extractVersionTemplate": "^v(?<version>.*)$"
},
Expand Down

0 comments on commit 5073987

Please sign in to comment.