From 286f14e61d298a5004981fdf19e9b35c1c548af5 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 18 Jul 2024 15:42:19 +0800 Subject: [PATCH] Add renovate --- .github/renovate.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..955bd7a --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":disablePeerDependencies"], + "labels": ["dependencies"], + "ignorePaths": [ + "**/node_modules/**", + "**/bower_components/**", + "**/vendor/**", + "**/examples/**", + "**/__tests__/**", + "**/test/**", + "**/__fixtures__/**" + ], + "packageRules": [ + { + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch", + "matchPackagePatterns": ["*"], + "matchUpdateTypes": ["minor", "patch"] + } + ], + "commitMessagePrefix": "chore: ", + "commitMessageAction": "bump up", + "commitMessageTopic": "{{depName}} version", + "ignoreDeps": [], + "postUpdateOptions": ["yarnDedupeHighest"], + "lockFileMaintenance": { + "enabled": true, + "extends": ["schedule:weekly"] + } +}