diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..de924a5 --- /dev/null +++ b/renovate.json @@ -0,0 +1,54 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + }, + "packageRules": [ + { + "matchDepTypes": [ + "devDependencies" + ], + "matchPackagePatterns": [ + "lint", + "prettier" + ], + "automerge": true + }, + { + "matchUpdateTypes": [ + "patch" + ], + "matchCurrentVersion": "!/^0/", + "automerge": true, + "labels": [ + "deps", + "patch" + ] + }, + { + "matchUpdateTypes": [ + "minor" + ], + "matchCurrentVersion": "!/^0/", + "automerge": true, + "labels": [ + "deps", + "minor" + ] + }, + { + "matchUpdateTypes": [ + "major" + ], + "automerge": false, + "labels": [ + "deps", + "major" + ] + } + ] +}