From b96fb46d193b629f8a67869c441a03328ca9a0f5 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 12 Feb 2024 10:22:36 +0800 Subject: [PATCH] chore(workflow): setup renovate config (#12626) --- .github/renovate.json5 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 000000000..a6fbc5482 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,31 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "packageRules": [ + // Use chore as semantic commit type for commit messages + { + "matchPackagePatterns": ["*"], + "semanticCommitType": "chore" + }, + { + "groupName": "rsbuild", + "packagePatterns": ["rsbuild"], + "groupSlug": "rsbuild" + }, + { + "groupName": "vite", + "packagePatterns": ["vite"], + "groupSlug": "vite" + }, + { + "groupName": "types", + "packagePatterns": ["^@types/"], + "groupSlug": "types" + }, + // manually update peer dependencies + { + "depTypeList": ["peerDependencies"], + "enabled": false + } + ] +}