mirror of
https://github.com/home-assistant/frontend.git
synced 2026-07-02 03:55:52 +01:00
83 lines
2.7 KiB
JSON
83 lines
2.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"configMigration": true,
|
|
"extends": [
|
|
":ignoreModulesAndTests",
|
|
":label(Dependencies)",
|
|
":pinVersions",
|
|
":prConcurrentLimit10",
|
|
":semanticCommitsDisabled",
|
|
"group:monorepos",
|
|
"group:recommended",
|
|
"security:minimumReleaseAgeNpm"
|
|
],
|
|
"enabledManagers": ["npm", "nvm"],
|
|
"postUpdateOptions": ["yarnDedupeHighest"],
|
|
"lockFileMaintenance": {
|
|
"description": ["Run after patch releases but before next beta"],
|
|
"enabled": true,
|
|
"schedule": ["on the 19th day of the month before 4am"]
|
|
},
|
|
"customDatasources": {
|
|
"ha-core-python": {
|
|
"defaultRegistryUrlTemplate": "https://raw.githubusercontent.com/home-assistant/core/dev/.python-version",
|
|
"format": "plain"
|
|
}
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"description": "Keep PYTHON_VERSION in sync with home-assistant/core (patch + minor)",
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["/^\\.github/workflows/[^/]+\\.ya?ml$/"],
|
|
"matchStrings": ["PYTHON_VERSION: \"(?<currentValue>[^\"]+)\""],
|
|
"depNameTemplate": "python",
|
|
"datasourceTemplate": "custom.ha-core-python",
|
|
"versioningTemplate": "python"
|
|
},
|
|
{
|
|
"description": "Keep devcontainer image and requires-python in sync with home-assistant/core (minor only)",
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^\\.devcontainer/Dockerfile$/",
|
|
"/^pyproject\\.toml$/"
|
|
],
|
|
"matchStrings": [
|
|
"devcontainers/python:(?<currentValue>[\\d.]+)",
|
|
"requires-python = \">=(?<currentValue>[^\"]+)\""
|
|
],
|
|
"depNameTemplate": "python",
|
|
"datasourceTemplate": "custom.ha-core-python",
|
|
"versioningTemplate": "python",
|
|
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+)"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"description": "Group all Python version updates from home-assistant/core",
|
|
"matchDepNames": ["python"],
|
|
"matchDatasources": ["custom.ha-core-python"],
|
|
"groupName": "Python version"
|
|
},
|
|
{
|
|
"description": "MDC packages are pinned to the same version as MWC",
|
|
"extends": ["monorepo:material-components-web"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Group MDI packages",
|
|
"groupName": "Material Design Icons",
|
|
"matchPackageNames": ["@mdi/js", "@mdi/svg"]
|
|
},
|
|
{
|
|
"description": "Group tsparticles engine and presets",
|
|
"groupName": "tsparticles",
|
|
"matchPackageNames": ["@tsparticles/engine", "@tsparticles/preset-{/,}**"]
|
|
},
|
|
{
|
|
"description": "Group date-fns with dependent timezone package",
|
|
"groupName": "date-fns",
|
|
"matchPackageNames": ["date-fns", "date-fns-tz"]
|
|
}
|
|
]
|
|
}
|