Skip to content

Commit

Permalink
style(Renovate): Remove Yarn packageNameTemplate
Browse files Browse the repository at this point in the history
Regex managers use the captured `depName`, in this case `yarn`, from the
match string when no package name is specified. Hence, there is no need
to specify explicitly that the package name is `yarn`.
  • Loading branch information
Kurt-von-Laven committed Dec 6, 2023
1 parent 22facaa commit 54fb6bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
"customType": "regex",
"fileMatch": ["^\\.tool-versions$"],
"matchStrings": ["(?<depName>yarn)\\s+(?<currentValue>(\\d+\\.){2}\\d+)"],
"packageNameTemplate": "yarn",
"datasourceTemplate": "npm",
"depTypeTemplate": "packageManager",
"extractVersionTemplate": "^v(?<version>.*)$"
Expand Down

0 comments on commit 54fb6bf

Please sign in to comment.