From f2ec4451e9eec972d3332f4447e369bcc00a3bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolai=20R=C3=B8ed=20Kristiansen?= Date: Tue, 30 Apr 2024 16:20:08 +0200 Subject: [PATCH] chore: Replace dependabot with renovate --- .github/dependabot.yml | 9 --------- renovate.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 9 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 77b915d..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: 2 -updates: - # Enable version updates for npm - - package-ecosystem: 'npm' - # Look for `package.json` and `lock` files in the `root` directory - directory: '/' - # Check the npm registry for updates every day (weekdays) - schedule: - interval: 'daily' diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..2da6d1c --- /dev/null +++ b/renovate.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + "group:allNonMajor", + "npm:unpublishSafe" + ], + "configMigration": true, + "npm": { + "rangeStrategy": "bump" + }, + "packageRules": [ + { + "matchDatasources": ["npm"], + "matchDepTypes": ["devDependencies"], + "matchUpdateTypes": ["patch", "minor"], + "groupName": "all non-major npm devDependencies" + }, + { + "matchDatasources": ["npm"], + "minimumReleaseAge": "7 days", + "matchDepTypes": ["dependencies"], + "matchUpdateTypes": ["patch", "minor"], + "groupName": "all non-major npm dependencies" + } + ], + "pre-commit": { + "enabled": true + }, + "schedule": ["before 7am on the first day of the month"], + "pinDigests": true +}