diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index a2451e07a..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - target-branch: "main" - schedule: - interval: weekly - interval: weekly - day: saturday - time: "03:00" - timezone: Europe/Paris - open-pull-requests-limit: 10 diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..c6fb46ff0 --- /dev/null +++ b/renovate.json @@ -0,0 +1,54 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "timezone": "Europe/Berlin", + "schedule": [ + "every weekend" + ], + "reviewers": ["team:office"], + "labels": ["dependencies"], + "rangeStrategy": "bump", + "rebaseWhen": "conflicted", + "ignoreUnstable": false, + "baseBranches": [ + "main" + ], + "enabledManagers": [ + "npm" + ], + "ignoreDeps": [ + "node", + "npm" + ], + "packageRules": [ + { + "groupName": "cypress", + "matchPackageNames": [ + "cypress", + "@nextcloud/cypress", + "@cypress/" + ] + }, + { + "groupName": "tiptap", + "matchPackagePrefixes": [ + "@tiptap/", + "prosemirror-" + ] + }, + { + "matchPackageNames": ["vue"], + "allowedVersions": "<3" + }, + { + "matchPackageNames": ["vuex"], + "allowedVersions": "<4" + }, + { + "matchPackageNames": ["@vue/test-utils"], + "allowedVersions": "<2" + } + ] +}