From 877a9145ae7cd92a52a54f10b58d95366369b084 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 26 Mar 2024 11:39:56 +0100 Subject: [PATCH] Group some NPM dependency updates (#10607) --- .github/renovate.json5 | 74 ++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c9462e5bac001..fc5adae88f6ca 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,51 +1,53 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "dependencyDashboard": true, - "suppressNotifications": ["prEditedNotification"], - "extends": ["config:recommended"], - "labels": ["internal"], - "schedule": ["before 4am on Monday"], - "separateMajorMinor": false, - "enabledManagers": [ - "github-actions", - "pre-commit", - "cargo", - "pep621", - "npm", - ], - "cargo": { + $schema: "https://docs.renovatebot.com/renovate-schema.json", + dependencyDashboard: true, + suppressNotifications: ["prEditedNotification"], + extends: ["config:recommended"], + labels: ["internal"], + schedule: ["before 4am on Monday"], + separateMajorMinor: false, + enabledManagers: ["github-actions", "pre-commit", "cargo", "pep621", "npm"], + cargo: { // See https://docs.renovatebot.com/configuration-options/#rangestrategy - "rangeStrategy": "update-lockfile", + rangeStrategy: "update-lockfile", }, - "pep621": { - "fileMatch": [ - "^(python|scripts)/.*pyproject\\.toml$", - ], + pep621: { + fileMatch: ["^(python|scripts)/.*pyproject\\.toml$"], }, - "npm": { - "fileMatch": [ - "^playground/.*package\\.json$", - ], + npm: { + fileMatch: ["^playground/.*package\\.json$"], }, "pre-commit": { - "enabled": true, + enabled: true, }, - "packageRules": [ + packageRules: [ { // Group upload/download artifact updates, the versions are dependent - "groupName": "Artifact GitHub Actions dependencies", - "matchManagers": ["github-actions"], - "matchPackagePatterns": ["actions/.*-artifact"], - "description": "Weekly update of artifact-related GitHub Actions dependencies", + groupName: "Artifact GitHub Actions dependencies", + matchManagers: ["github-actions"], + matchPackagePatterns: ["actions/.*-artifact"], + description: "Weekly update of artifact-related GitHub Actions dependencies", + }, + { + groupName: "pre-commit dependencies", + matchManagers: ["pre-commit"], + description: "Weekly update of pre-commit dependencies", + }, + { + groupName: "NPM Development dependencies", + matchManagers: ["npm"], + matchDepTypes: ["devDependencies"], + description: "Weekly update of NPM development dependencies", }, { - "groupName": "pre-commit dependencies", - "matchManagers": ["pre-commit"], - "description": "Weekly update of pre-commit dependencies", + groupName: "Monaco", + matchManagers: ["npm"], + matchPackagePatterns: ["monaco"], + description: "Weekly update of the Monaco editor", }, ], - "vulnerabilityAlerts": { - "commitMessageSuffix": "", - "labels": ["internal", "security"], + vulnerabilityAlerts: { + commitMessageSuffix: "", + labels: ["internal", "security"], }, }