163 lines
3.9 KiB
Plaintext
163 lines
3.9 KiB
Plaintext
{
|
|
extends: [
|
|
'config:base'
|
|
],
|
|
|
|
includePaths: [
|
|
'package.json',
|
|
'x-pack/package.json',
|
|
'x-pack/plugins/*/package.json',
|
|
'packages/*/package.json',
|
|
'test/plugin_functional/plugins/*/package.json',
|
|
'test/interpreter_functional/plugins/*/package.json',
|
|
],
|
|
|
|
/**
|
|
* Only submit PRs to these branches, we will manually backport PRs for now
|
|
*/
|
|
baseBranches: ['master'],
|
|
|
|
/**
|
|
* Labels added to PRs opened by renovate
|
|
*/
|
|
labels: [
|
|
'release_note:skip',
|
|
':Operations',
|
|
'chore',
|
|
'review'
|
|
],
|
|
|
|
/**
|
|
* Enable creation of a "Master Issue" within the repository. This
|
|
* Master Issue is akin to a mini dashboard and contains a list of all
|
|
* PRs pending, open, closed (unmerged) or in error.
|
|
*/
|
|
masterIssue: true,
|
|
|
|
/**
|
|
* Whether updates should require manual approval from within the
|
|
* Master Issue before creation.
|
|
*
|
|
* We can turn this off once we've gotten through the backlog of
|
|
* outdated packages.
|
|
*/
|
|
masterIssueApproval: true,
|
|
|
|
/**
|
|
* Policy for how to modify/update existing ranges
|
|
* pin = convert ranges to exact versions, e.g. ^1.0.0 -> 1.1.0
|
|
*/
|
|
rangeStrategy: 'replace',
|
|
|
|
npm: {
|
|
/**
|
|
* This deletes and re-creates the lock file, which we will only want
|
|
* to turn on once we've updated all our deps
|
|
*/
|
|
lockFileMaintenance: { enabled: false },
|
|
|
|
/**
|
|
* Define groups of packages that should be updated/configured together
|
|
*/
|
|
packageRules: [
|
|
{
|
|
packagePatterns: ['\\beslint\\b'],
|
|
groupName: 'eslint related packages',
|
|
groupSlug: 'eslint',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bbabel\\b'],
|
|
packageNames: ['core-js'],
|
|
groupName: 'babel related packages',
|
|
groupSlug: 'babel',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bjest\\b'],
|
|
groupName: 'jest related packages',
|
|
groupSlug: 'jest',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bmocha\\b'],
|
|
groupName: 'mocha related packages',
|
|
groupSlug: 'mocha',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bkarma\\b'],
|
|
groupName: 'karma related packages',
|
|
groupSlug: 'karma',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bgulp\\b'],
|
|
groupName: 'gulp related packages',
|
|
groupSlug: 'gulp',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bgrunt\\b'],
|
|
groupName: 'grunt related packages',
|
|
groupSlug: 'grunt',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bd3\\b'],
|
|
groupName: 'd3 related packages',
|
|
groupSlug: 'd3',
|
|
},
|
|
{
|
|
packagePatterns: ['\\breact\\b', '\\bredux\\b'],
|
|
packageNames: [
|
|
'ngreact',
|
|
'recompose',
|
|
'prop-types',
|
|
'typescript-fsa-reducers',
|
|
'reselect'
|
|
],
|
|
groupName: 'react related packages',
|
|
groupSlug: 'react',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bgraphql\\b'],
|
|
groupName: 'graphql related packages',
|
|
groupSlug: 'graphql',
|
|
},
|
|
{
|
|
packagePatterns: ['\\bwebpack\\b', '\\bloader\\b'],
|
|
packageNames: ['mini-css-extract-plugin', 'chokidar'],
|
|
groupName: 'webpack related packages',
|
|
groupSlug: 'webpack',
|
|
},
|
|
{
|
|
packageNames: ['vscode-jsonrpc', 'vscode-languageserver', 'vscode-languageserver-types'],
|
|
groupName: 'language server related packages',
|
|
groupSlug: 'language server',
|
|
},
|
|
|
|
// internal/local packages
|
|
{
|
|
packagePatterns: ['^@kbn/.*'],
|
|
enabled: false,
|
|
}
|
|
],
|
|
},
|
|
|
|
/**
|
|
* Limit the number of active PRs renovate will allow
|
|
*/
|
|
prConcurrentLimit: 6,
|
|
|
|
/**
|
|
* Disable vulnerability alert handling, we handle that separately
|
|
*/
|
|
vulnerabilityAlerts: {
|
|
enabled: false
|
|
},
|
|
|
|
/**
|
|
* Disable automatic rebase on each change to base branch
|
|
*/
|
|
rebaseStalePrs: false,
|
|
|
|
/**
|
|
* Disable semantic commit formating
|
|
*/
|
|
semanticCommits: false,
|
|
}
|