From 50739876a805eab8dd2089dfb28a9b748607641b Mon Sep 17 00:00:00 2001 From: Kurt von Laven Date: Sun, 3 Dec 2023 15:01:47 -0800 Subject: [PATCH] fix(Renovate): Get Yarn v1 from npm, not GitHub 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. --- default.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.json b/default.json index 5d1085d..2fefd01 100644 --- a/default.json +++ b/default.json @@ -147,8 +147,8 @@ "customType": "regex", "fileMatch": ["^\\.tool-versions$"], "matchStrings": ["(?yarn)\\s+(?(\\d+\\.){2}\\d+)"], - "packageNameTemplate": "yarnpkg/yarn", - "datasourceTemplate": "github-tags", + "packageNameTemplate": "yarn", + "datasourceTemplate": "npm", "depTypeTemplate": "packageManager", "extractVersionTemplate": "^v(?.*)$" },