Group some NPM dependency updates (#10607)

This commit is contained in:
Micha Reiser 2024-03-26 11:39:56 +01:00 committed by GitHub
parent ba24bd88cf
commit 877a9145ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 38 additions and 36 deletions

View File

@ -1,51 +1,53 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", $schema: "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true, dependencyDashboard: true,
"suppressNotifications": ["prEditedNotification"], suppressNotifications: ["prEditedNotification"],
"extends": ["config:recommended"], extends: ["config:recommended"],
"labels": ["internal"], labels: ["internal"],
"schedule": ["before 4am on Monday"], schedule: ["before 4am on Monday"],
"separateMajorMinor": false, separateMajorMinor: false,
"enabledManagers": [ enabledManagers: ["github-actions", "pre-commit", "cargo", "pep621", "npm"],
"github-actions", cargo: {
"pre-commit",
"cargo",
"pep621",
"npm",
],
"cargo": {
// See https://docs.renovatebot.com/configuration-options/#rangestrategy // See https://docs.renovatebot.com/configuration-options/#rangestrategy
"rangeStrategy": "update-lockfile", rangeStrategy: "update-lockfile",
}, },
"pep621": { pep621: {
"fileMatch": [ fileMatch: ["^(python|scripts)/.*pyproject\\.toml$"],
"^(python|scripts)/.*pyproject\\.toml$",
],
}, },
"npm": { npm: {
"fileMatch": [ fileMatch: ["^playground/.*package\\.json$"],
"^playground/.*package\\.json$",
],
}, },
"pre-commit": { "pre-commit": {
"enabled": true, enabled: true,
}, },
"packageRules": [ packageRules: [
{ {
// Group upload/download artifact updates, the versions are dependent // Group upload/download artifact updates, the versions are dependent
"groupName": "Artifact GitHub Actions dependencies", groupName: "Artifact GitHub Actions dependencies",
"matchManagers": ["github-actions"], matchManagers: ["github-actions"],
"matchPackagePatterns": ["actions/.*-artifact"], matchPackagePatterns: ["actions/.*-artifact"],
"description": "Weekly update of artifact-related GitHub Actions dependencies", description: "Weekly update of artifact-related GitHub Actions dependencies",
}, },
{ {
"groupName": "pre-commit dependencies", groupName: "pre-commit dependencies",
"matchManagers": ["pre-commit"], matchManagers: ["pre-commit"],
"description": "Weekly update of pre-commit dependencies", description: "Weekly update of pre-commit dependencies",
},
{
groupName: "NPM Development dependencies",
matchManagers: ["npm"],
matchDepTypes: ["devDependencies"],
description: "Weekly update of NPM development dependencies",
},
{
groupName: "Monaco",
matchManagers: ["npm"],
matchPackagePatterns: ["monaco"],
description: "Weekly update of the Monaco editor",
}, },
], ],
"vulnerabilityAlerts": { vulnerabilityAlerts: {
"commitMessageSuffix": "", commitMessageSuffix: "",
"labels": ["internal", "security"], labels: ["internal", "security"],
}, },
} }