Configure Renovate (#40336)

* Add renovate.json

* Add renovate.json

* Chore(Renovate): Move config file, adjust settings, remove dependabot config

* Chore(Renovate): Remove duplicate renovate.json

* Chore(Renovate): Don't pin deps, only match root + grafana packages package.json

* Chore(Renovate): Update ignored paths

* Chore(Renovate): Use json5 to allow for comments

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
renovate[bot] 2021-10-13 12:25:12 +01:00 committed by GitHub
parent 7422189a88
commit 0776fdd418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 19 deletions

View File

@ -8,22 +8,3 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "weekly" interval: "weekly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
ignore:
# ignore minor/patch updates for now
- dependency-name: "*"
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
# things that will probably need some thinking
- dependency-name: "d3"
- dependency-name: "husky"
- dependency-name: "slate"
- dependency-name: "slate-plain-serializer"
- dependency-name: "systemjs"
- dependency-name: "ts-loader" # we should remove ts-loader and use babel-loader instead
- dependency-name: "ora" # we should bump this once we move to esm modules
reviewers:
- "grafana/frontend-ops"
versioning-strategy: "increase-if-necessary"

32
.github/renovate.json5 vendored Normal file
View File

@ -0,0 +1,32 @@
{
"extends": [
"config:base"
],
"enabledManagers": ["npm"],
"ignoreDeps": [
"d3",
"husky",
"slate",
"slate-plain-serializer",
"systemjs",
"ts-loader", // we should remove ts-loader and use babel-loader instead
"ora" // we should bump this once we move to esm modules
],
"ignorePaths": ["emails/**", "plugins-bundled/**", "**/mocks/**"],
"labels": ["area/frontend", "dependencies"],
"minor": {
"enabled": false
},
"patch": {
"enabled": false
},
"pin": {
"enabled": false
},
"prConcurrentLimit": 10,
"reviewers": ["team:grafana/frontend-ops"],
"separateMajorMinor": false,
"vulnerabilityAlerts": {
"addLabels": ["area/security"]
}
}