mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
feat: dynamic manager config (#5392)
This commit is contained in:
parent
df5920b1e4
commit
864e554db9
49 changed files with 327 additions and 567 deletions
|
@ -1,25 +1,15 @@
|
||||||
import { RenovateConfigStage } from './common';
|
import { RenovateConfigStage } from './common';
|
||||||
import {
|
import {
|
||||||
VERSION_SCHEME_CARGO,
|
|
||||||
VERSION_SCHEME_COMPOSER,
|
|
||||||
VERSION_SCHEME_DOCKER,
|
VERSION_SCHEME_DOCKER,
|
||||||
VERSION_SCHEME_GIT,
|
|
||||||
VERSION_SCHEME_HEX,
|
|
||||||
VERSION_SCHEME_HASHICORP,
|
|
||||||
VERSION_SCHEME_IVY,
|
|
||||||
VERSION_SCHEME_MAVEN,
|
|
||||||
VERSION_SCHEME_NODE,
|
|
||||||
VERSION_SCHEME_NPM,
|
|
||||||
VERSION_SCHEME_PEP440,
|
VERSION_SCHEME_PEP440,
|
||||||
VERSION_SCHEME_POETRY,
|
|
||||||
VERSION_SCHEME_RUBY,
|
|
||||||
VERSION_SCHEME_SEMVER,
|
VERSION_SCHEME_SEMVER,
|
||||||
VERSION_SCHEME_SWIFT,
|
|
||||||
} from '../constants/version-schemes';
|
} from '../constants/version-schemes';
|
||||||
import { getVersionSchemeList } from '../versioning';
|
import { getVersionSchemeList } from '../versioning';
|
||||||
import { PLATFORM_TYPE_GITHUB } from '../constants/platforms';
|
import { PLATFORM_TYPE_GITHUB } from '../constants/platforms';
|
||||||
import { platformList } from '../platform';
|
import { platformList } from '../platform';
|
||||||
|
|
||||||
|
import { getManagers } from '../manager';
|
||||||
|
|
||||||
export interface RenovateOptionBase {
|
export interface RenovateOptionBase {
|
||||||
admin?: boolean;
|
admin?: boolean;
|
||||||
|
|
||||||
|
@ -1398,56 +1388,6 @@ const options: RenovateOptions[] = [
|
||||||
default: {},
|
default: {},
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'npm',
|
|
||||||
description: 'Configuration object for npm package.json renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)package.json$'],
|
|
||||||
rollbackPrs: true,
|
|
||||||
versionScheme: VERSION_SCHEME_NPM,
|
|
||||||
prBodyDefinitions: {
|
|
||||||
Change:
|
|
||||||
'[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}](https://renovatebot.com/diffs/npm/{{{depNameEscaped}}}/{{{fromVersion}}}/{{{toVersion}}})',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'meteor',
|
|
||||||
description: 'Configuration object for meteor package.js renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)package.js$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'bazel',
|
|
||||||
description: 'Configuration object for bazel WORKSPACE renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)WORKSPACE$', '\\.bzl$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'buildkite',
|
|
||||||
description: 'Configuration object for buildkite pipeline renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['buildkite\\.ya?ml', '\\.buildkite/.+\\.ya?ml$'],
|
|
||||||
commitMessageTopic: 'buildkite plugin {{depName}}',
|
|
||||||
commitMessageExtra:
|
|
||||||
'to {{#if isMajor}}v{{{newMajor}}}{{else}}{{{newValue}}}{{/if}}',
|
|
||||||
managerBranchPrefix: 'buildkite-',
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'golang',
|
name: 'golang',
|
||||||
description: 'Configuration object for Go language',
|
description: 'Configuration object for Go language',
|
||||||
|
@ -1459,16 +1399,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'gomod',
|
|
||||||
description: 'Configuration object for Go modules renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)go.mod$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'postUpdateOptions',
|
name: 'postUpdateOptions',
|
||||||
description:
|
description:
|
||||||
|
@ -1494,53 +1424,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'bundler',
|
|
||||||
description: 'Configuration object for bundler Gemfiles',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)Gemfile$'],
|
|
||||||
versionScheme: VERSION_SCHEME_RUBY,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'ruby-version',
|
|
||||||
description: 'Configuration object for .ruby-version updating',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)\\.ruby-version$'],
|
|
||||||
versionScheme: VERSION_SCHEME_RUBY,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'terraform',
|
|
||||||
description: 'Configuration object for Terraform dependencies renovation',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
commitMessageTopic:
|
|
||||||
'Terraform {{managerData.terraformDependencyType}} {{depNameShort}}',
|
|
||||||
fileMatch: ['\\.tf$'],
|
|
||||||
versionScheme: VERSION_SCHEME_HASHICORP,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'mix',
|
|
||||||
description: 'Configuration object for Mix module renovation',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)mix\\.exs$'],
|
|
||||||
versionScheme: VERSION_SCHEME_HEX,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'rust',
|
name: 'rust',
|
||||||
description: 'Configuration option for Rust package management.',
|
description: 'Configuration option for Rust package management.',
|
||||||
|
@ -1550,31 +1433,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'cargo',
|
|
||||||
description: 'Configuration object for Cargo crate renovation.',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
commitMessageTopic: 'Rust crate {{depName}}',
|
|
||||||
managerBranchPrefix: 'rust-',
|
|
||||||
fileMatch: ['(^|/)Cargo.toml$'],
|
|
||||||
versionScheme: VERSION_SCHEME_CARGO,
|
|
||||||
rangeStrategy: 'bump',
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'cdnurl',
|
|
||||||
description: 'Configuration object for CDN assets',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: [],
|
|
||||||
versionScheme: VERSION_SCHEME_SEMVER,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'supportPolicy',
|
name: 'supportPolicy',
|
||||||
description:
|
description:
|
||||||
|
@ -1598,42 +1456,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'travis',
|
|
||||||
description: 'Configuration object for .travis.yml node version renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['^.travis.yml$'],
|
|
||||||
versionScheme: VERSION_SCHEME_NODE,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'nvm',
|
|
||||||
description: 'Configuration object for .nvmrc files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['^.nvmrc$'],
|
|
||||||
versionScheme: VERSION_SCHEME_NODE,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'pub',
|
|
||||||
description: 'Configuration object for when renovating Dart pubspec files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)pubspec\\.ya?ml$'],
|
|
||||||
versionScheme: VERSION_SCHEME_NPM,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'docker',
|
name: 'docker',
|
||||||
description: 'Configuration object for Docker language',
|
description: 'Configuration object for Docker language',
|
||||||
|
@ -1671,160 +1493,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'docker-compose',
|
|
||||||
description:
|
|
||||||
'Configuration object for Docker Compose renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)docker-compose[^/]*\\.ya?ml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'dockerfile',
|
|
||||||
description: 'Configuration object for Dockerfile renovation',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)Dockerfile$', '(^|/)Dockerfile\\.[^/]*$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'kubernetes',
|
|
||||||
description:
|
|
||||||
'Configuration object for Kubernetes renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: [],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'helm-requirements',
|
|
||||||
description: 'Configuration object for helm requirements.yaml files.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
aliases: {
|
|
||||||
stable: 'https://kubernetes-charts.storage.googleapis.com/',
|
|
||||||
},
|
|
||||||
commitMessageTopic: 'helm chart {{depName}}',
|
|
||||||
fileMatch: ['(^|/)requirements.yaml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'helm-values',
|
|
||||||
description: 'Configuration object for helm values.yaml files.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
commitMessageTopic: 'helm values {{depName}}',
|
|
||||||
fileMatch: ['(^|/)values.yaml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'helmfile',
|
|
||||||
description: 'Configuration object for helmfile helmfile.yaml files.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
aliases: {
|
|
||||||
stable: 'https://kubernetes-charts.storage.googleapis.com/',
|
|
||||||
},
|
|
||||||
commitMessageTopic: 'helm chart {{depName}}',
|
|
||||||
fileMatch: ['(^|/)helmfile.yaml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'circleci',
|
|
||||||
description:
|
|
||||||
'Configuration object for CircleCI yml renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/).circleci/config.yml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'droneci',
|
|
||||||
description:
|
|
||||||
'Configuration object for DroneCI yml renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/).drone.yml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'ansible',
|
|
||||||
description:
|
|
||||||
'Configuration object for Ansible yaml renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)tasks/[^/]+\\.ya?ml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'github-actions',
|
|
||||||
description:
|
|
||||||
'Configuration object for GitHub Actions workflow renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: [
|
|
||||||
'^\\.github/main.workflow$',
|
|
||||||
'^\\.github/workflows/[^/]+\\.ya?ml$',
|
|
||||||
],
|
|
||||||
pinDigests: true,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'composer',
|
|
||||||
description: 'Configuration object for composer.json files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)([\\w-]*)composer.json$'],
|
|
||||||
versionScheme: VERSION_SCHEME_COMPOSER,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'git-submodules',
|
|
||||||
description: 'Configuration object for git submodule files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
enabled: false,
|
|
||||||
versionScheme: VERSION_SCHEME_GIT,
|
|
||||||
fileMatch: ['(^|/).gitmodules$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'php',
|
name: 'php',
|
||||||
description: 'Configuration object for php',
|
description: 'Configuration object for php',
|
||||||
|
@ -1834,50 +1502,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'pip_requirements',
|
|
||||||
description: 'Configuration object for requirements.txt files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)([\\w-]*)requirements.(txt|pip)$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'pip_setup',
|
|
||||||
description: 'Configuration object for setup.py files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)setup.py$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'pipenv',
|
|
||||||
description: 'Configuration object for Pipfile files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)Pipfile$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'poetry',
|
|
||||||
description: 'Configuration object for pyproject.toml files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
versionScheme: VERSION_SCHEME_POETRY,
|
|
||||||
fileMatch: ['(^|/)pyproject\\.toml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'python',
|
name: 'python',
|
||||||
description: 'Configuration object for python',
|
description: 'Configuration object for python',
|
||||||
|
@ -1889,45 +1513,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'sbt',
|
|
||||||
description: 'Configuration object for *.sbt files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['\\.sbt$', 'project/[^/]*.scala$'],
|
|
||||||
timeout: 300,
|
|
||||||
versionScheme: VERSION_SCHEME_IVY,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'leiningen',
|
|
||||||
description:
|
|
||||||
'Configuration object for renovating Clojure leiningen projects',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)project\\.clj$'],
|
|
||||||
versionScheme: VERSION_SCHEME_MAVEN,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'deps-edn',
|
|
||||||
description:
|
|
||||||
'Configuration object for renovating Clojure CLI-based projects (deps.edn)',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)deps\\.edn$'],
|
|
||||||
versionScheme: VERSION_SCHEME_MAVEN,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'compatibility',
|
name: 'compatibility',
|
||||||
description: 'Configuration object for compatibility',
|
description: 'Configuration object for compatibility',
|
||||||
|
@ -1945,66 +1530,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'gradle',
|
|
||||||
description: 'Configuration object for build.gradle files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['\\.gradle(\\.kts)?$', '(^|/)gradle.properties$'],
|
|
||||||
timeout: 600,
|
|
||||||
versionScheme: VERSION_SCHEME_MAVEN,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'gradle-wrapper',
|
|
||||||
description: 'Configuration object for gradle-wrapper.properties files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)gradle/wrapper/gradle-wrapper.properties$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'maven',
|
|
||||||
description: 'Configuration object for when renovating Maven pom.xml files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['\\.pom\\.xml$', '(^|/)pom\\.xml$'],
|
|
||||||
versionScheme: VERSION_SCHEME_MAVEN,
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'gitlabci',
|
|
||||||
description:
|
|
||||||
'Configuration object for GitLab CI yml renovation. Also inherits settings from `docker` object.',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['^\\.gitlab-ci\\.yml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'gitlabci-include',
|
|
||||||
description:
|
|
||||||
'Configuration object for GitLab CI yml renovation for include.',
|
|
||||||
stage: 'repository',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['^\\.gitlab-ci\\.yml$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'dotnet',
|
name: 'dotnet',
|
||||||
description: 'Configuration object for .NET language',
|
description: 'Configuration object for .NET language',
|
||||||
|
@ -2014,30 +1539,6 @@ const options: RenovateOptions[] = [
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
cli: false,
|
cli: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'nuget',
|
|
||||||
description: 'Configuration object for C#/Nuget',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['\\.(?:cs|fs|vb)proj$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'homebrew',
|
|
||||||
description: 'Configuration object for homebrew',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
commitMessageTopic: 'Homebrew Formula {{depName}}',
|
|
||||||
managerBranchPrefix: 'homebrew-',
|
|
||||||
fileMatch: ['^Formula/[^/]+[.]rb$'],
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'hostRules',
|
name: 'hostRules',
|
||||||
description: 'Host rules/configuration including credentials',
|
description: 'Host rules/configuration including credentials',
|
||||||
|
@ -2160,19 +1661,6 @@ const options: RenovateOptions[] = [
|
||||||
env: false,
|
env: false,
|
||||||
mergeable: true,
|
mergeable: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'swift',
|
|
||||||
description: 'Configuration for Package.swift files',
|
|
||||||
stage: 'package',
|
|
||||||
type: 'object',
|
|
||||||
default: {
|
|
||||||
fileMatch: ['(^|/)Package\\.swift'],
|
|
||||||
versionScheme: VERSION_SCHEME_SWIFT,
|
|
||||||
rangeStrategy: 'bump',
|
|
||||||
},
|
|
||||||
mergeable: true,
|
|
||||||
cli: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'pruneStaleBranches',
|
name: 'pruneStaleBranches',
|
||||||
description: `Enable or disable pruning of stale branches`,
|
description: `Enable or disable pruning of stale branches`,
|
||||||
|
@ -2196,3 +1684,22 @@ const options: RenovateOptions[] = [
|
||||||
export function getOptions(): any {
|
export function getOptions(): any {
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function loadManagerOptions(): void {
|
||||||
|
for (const [name, config] of Object.entries(getManagers())) {
|
||||||
|
if (config.defaultConfig) {
|
||||||
|
const managerConfig: RenovateOptions = {
|
||||||
|
name,
|
||||||
|
description: `Configuration object for the ${name} manager`,
|
||||||
|
stage: 'package',
|
||||||
|
type: 'object',
|
||||||
|
default: config.defaultConfig,
|
||||||
|
mergeable: true,
|
||||||
|
cli: false,
|
||||||
|
};
|
||||||
|
options.push(managerConfig);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
loadManagerOptions();
|
||||||
|
|
4
lib/types.d.ts → lib/globals.d.ts
vendored
4
lib/types.d.ts → lib/globals.d.ts
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
/*
|
||||||
|
* This file should be removed in future.
|
||||||
|
*/
|
||||||
|
|
||||||
declare namespace Renovate {
|
declare namespace Renovate {
|
||||||
interface Cache {
|
interface Cache {
|
||||||
get<T = any>(namespace: string, key: string): Promise<T>;
|
get<T = any>(namespace: string, key: string): Promise<T>;
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)tasks/[^/]+\\.ya?ml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -2,3 +2,7 @@ import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
|
|
||||||
export { extractPackageFile, updateDependency };
|
export { extractPackageFile, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)WORKSPACE$', '\\.bzl$'],
|
||||||
|
};
|
||||||
|
|
|
@ -2,3 +2,11 @@ import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
|
|
||||||
export { extractPackageFile, updateDependency };
|
export { extractPackageFile, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['buildkite\\.ya?ml', '\\.buildkite/.+\\.ya?ml$'],
|
||||||
|
commitMessageTopic: 'buildkite plugin {{depName}}',
|
||||||
|
commitMessageExtra:
|
||||||
|
'to {{#if isMajor}}v{{{newMajor}}}{{else}}{{{newValue}}}{{/if}}',
|
||||||
|
managerBranchPrefix: 'buildkite-',
|
||||||
|
};
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { updateDependency } from './update';
|
||||||
import { updateArtifacts } from './artifacts';
|
import { updateArtifacts } from './artifacts';
|
||||||
import { getRangeStrategy } from './range';
|
import { getRangeStrategy } from './range';
|
||||||
import { LANGUAGE_RUBY } from '../../constants/languages';
|
import { LANGUAGE_RUBY } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_RUBY } from '../../constants/version-schemes';
|
||||||
|
|
||||||
const language = LANGUAGE_RUBY;
|
const language = LANGUAGE_RUBY;
|
||||||
|
|
||||||
|
@ -18,3 +19,8 @@ export {
|
||||||
language, // Optional
|
language, // Optional
|
||||||
updateDependency, // Mandatory
|
updateDependency, // Mandatory
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)Gemfile$'],
|
||||||
|
versionScheme: VERSION_SCHEME_RUBY,
|
||||||
|
};
|
||||||
|
|
|
@ -2,9 +2,18 @@ import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
import { updateArtifacts } from './artifacts';
|
import { updateArtifacts } from './artifacts';
|
||||||
import { LANGUAGE_RUST } from '../../constants/languages';
|
import { LANGUAGE_RUST } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_CARGO } from '../../constants/version-schemes';
|
||||||
|
|
||||||
const language = LANGUAGE_RUST;
|
const language = LANGUAGE_RUST;
|
||||||
// TODO: Support this
|
// TODO: Support this
|
||||||
export const supportsLockFileMaintenance = false;
|
export const supportsLockFileMaintenance = false;
|
||||||
|
|
||||||
export { extractPackageFile, updateArtifacts, language, updateDependency };
|
export { extractPackageFile, updateArtifacts, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
commitMessageTopic: 'Rust crate {{depName}}',
|
||||||
|
managerBranchPrefix: 'rust-',
|
||||||
|
fileMatch: ['(^|/)Cargo.toml$'],
|
||||||
|
versionScheme: VERSION_SCHEME_CARGO,
|
||||||
|
rangeStrategy: 'bump',
|
||||||
|
};
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
import { VERSION_SCHEME_SEMVER } from '../../constants/version-schemes';
|
||||||
import { extractPackageFile } from './extract';
|
import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
|
|
||||||
export { extractPackageFile, updateDependency };
|
export { extractPackageFile, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: [],
|
||||||
|
versionScheme: VERSION_SCHEME_SEMVER,
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/).circleci/config.yml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { ReleaseType } from 'semver';
|
import { ReleaseType } from 'semver';
|
||||||
import { RangeStrategy } from '../versioning';
|
import { RangeStrategy } from '../types';
|
||||||
import { ValidationMessage } from '../config/common';
|
import { ValidationMessage } from '../config/common';
|
||||||
|
|
||||||
export type Result<T> = T | Promise<T>;
|
export type Result<T> = T | Promise<T>;
|
||||||
|
@ -187,6 +187,7 @@ export interface UpdateDependencyConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ManagerApi {
|
export interface ManagerApi {
|
||||||
|
defaultConfig: object;
|
||||||
language?: string;
|
language?: string;
|
||||||
supportsLockFileMaintenance?: boolean;
|
supportsLockFileMaintenance?: boolean;
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { updateDependency } from '../npm/update';
|
||||||
import { updateArtifacts } from './artifacts';
|
import { updateArtifacts } from './artifacts';
|
||||||
import { getRangeStrategy } from './range';
|
import { getRangeStrategy } from './range';
|
||||||
import { LANGUAGE_PHP } from '../../constants/languages';
|
import { LANGUAGE_PHP } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_COMPOSER } from '../../constants/version-schemes';
|
||||||
|
|
||||||
const language = LANGUAGE_PHP;
|
const language = LANGUAGE_PHP;
|
||||||
export const supportsLockFileMaintenance = true;
|
export const supportsLockFileMaintenance = true;
|
||||||
|
@ -14,3 +15,8 @@ export {
|
||||||
updateDependency,
|
updateDependency,
|
||||||
getRangeStrategy,
|
getRangeStrategy,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)([\\w-]*)composer.json$'],
|
||||||
|
versionScheme: VERSION_SCHEME_COMPOSER,
|
||||||
|
};
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
import { VERSION_SCHEME_MAVEN } from '../../constants/version-schemes';
|
||||||
import { extractPackageFile } from './extract';
|
import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
|
|
||||||
export { extractPackageFile, updateDependency };
|
export { extractPackageFile, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)deps\\.edn$'],
|
||||||
|
versionScheme: VERSION_SCHEME_MAVEN,
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)docker-compose[^/]*\\.ya?ml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)Dockerfile$', '(^|/)Dockerfile\\.[^/]*$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/).drone.yml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
import { VERSION_SCHEME_GIT } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { default as extractPackageFile } from './extract';
|
export { default as extractPackageFile } from './extract';
|
||||||
export { default as updateDependency } from './update';
|
export { default as updateDependency } from './update';
|
||||||
export { default as updateArtifacts } from './artifacts';
|
export { default as updateArtifacts } from './artifacts';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
enabled: false,
|
||||||
|
versionScheme: VERSION_SCHEME_GIT,
|
||||||
|
fileMatch: ['(^|/).gitmodules$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,11 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: [
|
||||||
|
'^\\.github/main.workflow$',
|
||||||
|
'^\\.github/workflows/[^/]+\\.ya?ml$',
|
||||||
|
],
|
||||||
|
pinDigests: true,
|
||||||
|
};
|
||||||
|
|
|
@ -2,3 +2,7 @@ import { extractPackageFile } from './extract';
|
||||||
import { updateDependency } from './update';
|
import { updateDependency } from './update';
|
||||||
|
|
||||||
export { extractPackageFile, updateDependency };
|
export { extractPackageFile, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['^\\.gitlab-ci\\.yml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_DOCKER } from '../../constants/languages';
|
||||||
const language = LANGUAGE_DOCKER;
|
const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
export { extractPackageFile, language, updateDependency };
|
export { extractPackageFile, language, updateDependency };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['^\\.gitlab-ci\\.yml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ import { LANGUAGE_GOLANG } from '../../constants/languages';
|
||||||
|
|
||||||
export const language = LANGUAGE_GOLANG;
|
export const language = LANGUAGE_GOLANG;
|
||||||
export { extractPackageFile, updateDependency, updateArtifacts };
|
export { extractPackageFile, updateDependency, updateArtifacts };
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)go.mod$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)gradle/wrapper/gradle-wrapper.properties$'],
|
||||||
|
};
|
||||||
|
|
|
@ -4,6 +4,7 @@ import upath from 'upath';
|
||||||
import { exec } from '../../util/exec';
|
import { exec } from '../../util/exec';
|
||||||
import { logger } from '../../logger';
|
import { logger } from '../../logger';
|
||||||
import { DATASOURCE_FAILURE } from '../../constants/error-messages';
|
import { DATASOURCE_FAILURE } from '../../constants/error-messages';
|
||||||
|
import { VERSION_SCHEME_MAVEN } from '../../constants/version-schemes';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
init,
|
init,
|
||||||
|
@ -181,3 +182,9 @@ export function updateDependency({
|
||||||
}
|
}
|
||||||
|
|
||||||
export const language = LANGUAGE_JAVA;
|
export const language = LANGUAGE_JAVA;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['\\.gradle(\\.kts)?$', '(^|/)gradle.properties$'],
|
||||||
|
timeout: 600,
|
||||||
|
versionScheme: VERSION_SCHEME_MAVEN,
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
aliases: {
|
||||||
|
stable: 'https://kubernetes-charts.storage.googleapis.com/',
|
||||||
|
},
|
||||||
|
commitMessageTopic: 'helm chart {{depName}}',
|
||||||
|
fileMatch: ['(^|/)requirements.yaml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,7 @@
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
commitMessageTopic: 'helm values {{depName}}',
|
||||||
|
fileMatch: ['(^|/)values.yaml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
aliases: {
|
||||||
|
stable: 'https://kubernetes-charts.storage.googleapis.com/',
|
||||||
|
},
|
||||||
|
commitMessageTopic: 'helm chart {{depName}}',
|
||||||
|
fileMatch: ['(^|/)helmfile.yaml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
commitMessageTopic: 'Homebrew Formula {{depName}}',
|
||||||
|
managerBranchPrefix: 'homebrew-',
|
||||||
|
fileMatch: ['^Formula/[^/]+[.]rb$'],
|
||||||
|
};
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
Result,
|
Result,
|
||||||
PackageUpdateResult,
|
PackageUpdateResult,
|
||||||
} from './common';
|
} from './common';
|
||||||
import { RangeStrategy } from '../versioning';
|
import { RangeStrategy } from '../types';
|
||||||
import {
|
import {
|
||||||
LANGUAGE_DART,
|
LANGUAGE_DART,
|
||||||
LANGUAGE_DOCKER,
|
LANGUAGE_DOCKER,
|
||||||
|
@ -43,8 +43,8 @@ function loadManagers(): void {
|
||||||
let module = null;
|
let module = null;
|
||||||
try {
|
try {
|
||||||
module = require(`./${manager}`); // eslint-disable-line
|
module = require(`./${manager}`); // eslint-disable-line
|
||||||
} catch (e) /* istanbul ignore next */ {
|
} catch (err) /* istanbul ignore next */ {
|
||||||
logger.fatal(`Can not load manager "${manager}".`);
|
logger.fatal({ err }, `Can not load manager "${manager}".`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ export const get = <T extends keyof ManagerApi>(
|
||||||
): ManagerApi[T] => managers[manager][name];
|
): ManagerApi[T] => managers[manager][name];
|
||||||
export const getLanguageList = (): string[] => languageList;
|
export const getLanguageList = (): string[] => languageList;
|
||||||
export const getManagerList = (): string[] => managerList;
|
export const getManagerList = (): string[] => managerList;
|
||||||
|
export const getManagers = (): Record<string, ManagerApi> => managers;
|
||||||
|
|
||||||
export function extractAllPackageFiles(
|
export function extractAllPackageFiles(
|
||||||
manager: string,
|
manager: string,
|
||||||
|
|
|
@ -4,3 +4,7 @@ export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_DOCKER;
|
export const language = LANGUAGE_DOCKER;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: [],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,9 @@
|
||||||
|
import { VERSION_SCHEME_MAVEN } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)project\\.clj$'],
|
||||||
|
versionScheme: VERSION_SCHEME_MAVEN,
|
||||||
|
};
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
import { LANGUAGE_JAVA } from '../../constants/languages';
|
import { LANGUAGE_JAVA } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_MAVEN } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractAllPackageFiles } from './extract';
|
export { extractAllPackageFiles } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_JAVA;
|
export const language = LANGUAGE_JAVA;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['\\.pom\\.xml$', '(^|/)pom\\.xml$'],
|
||||||
|
versionScheme: VERSION_SCHEME_MAVEN,
|
||||||
|
};
|
||||||
|
|
|
@ -4,3 +4,7 @@ export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_JAVASCRIPT;
|
export const language = LANGUAGE_JAVASCRIPT;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)package.js$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
import { LANGUAGE_ELIXIR } from '../../constants/languages';
|
import { LANGUAGE_ELIXIR } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_HEX } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
export { updateArtifacts } from './artifacts';
|
export { updateArtifacts } from './artifacts';
|
||||||
|
|
||||||
export const language = LANGUAGE_ELIXIR;
|
export const language = LANGUAGE_ELIXIR;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)mix\\.exs$'],
|
||||||
|
versionScheme: VERSION_SCHEME_HEX,
|
||||||
|
};
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { LANGUAGE_JAVASCRIPT } from '../../constants/languages';
|
import { LANGUAGE_JAVASCRIPT } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_NPM } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractAllPackageFiles } from './extract';
|
export { extractAllPackageFiles } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
@ -6,3 +7,13 @@ export { getRangeStrategy } from './range';
|
||||||
|
|
||||||
export const language = LANGUAGE_JAVASCRIPT;
|
export const language = LANGUAGE_JAVASCRIPT;
|
||||||
export const supportsLockFileMaintenance = true;
|
export const supportsLockFileMaintenance = true;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)package.json$'],
|
||||||
|
rollbackPrs: true,
|
||||||
|
versionScheme: VERSION_SCHEME_NPM,
|
||||||
|
prBodyDefinitions: {
|
||||||
|
Change:
|
||||||
|
'[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}](https://renovatebot.com/diffs/npm/{{{depNameEscaped}}}/{{{fromVersion}}}/{{{toVersion}}})',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
|
@ -4,3 +4,7 @@ export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_DOT_NET;
|
export const language = LANGUAGE_DOT_NET;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['\\.(?:cs|fs|vb)proj$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
import { LANGUAGE_NODE } from '../../constants/languages';
|
import { LANGUAGE_NODE } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_NODE } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_NODE;
|
export const language = LANGUAGE_NODE;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['^.nvmrc$'],
|
||||||
|
versionScheme: VERSION_SCHEME_NODE,
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ export { updateDependency } from './update';
|
||||||
export { getRangeStrategy } from './range';
|
export { getRangeStrategy } from './range';
|
||||||
|
|
||||||
export const language = LANGUAGE_PYTHON;
|
export const language = LANGUAGE_PYTHON;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)([\\w-]*)requirements.(txt|pip)$'],
|
||||||
|
};
|
||||||
|
|
|
@ -4,3 +4,7 @@ export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from '../pip_requirements/update';
|
export { updateDependency } from '../pip_requirements/update';
|
||||||
|
|
||||||
export const language = LANGUAGE_PYTHON;
|
export const language = LANGUAGE_PYTHON;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)setup.py$'],
|
||||||
|
};
|
||||||
|
|
|
@ -5,3 +5,7 @@ export { updateDependency } from './update';
|
||||||
export { updateArtifacts } from './artifacts';
|
export { updateArtifacts } from './artifacts';
|
||||||
|
|
||||||
export const language = LANGUAGE_PYTHON;
|
export const language = LANGUAGE_PYTHON;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)Pipfile$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { LANGUAGE_PYTHON } from '../../constants/languages';
|
import { LANGUAGE_PYTHON } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_POETRY } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
@ -6,3 +7,8 @@ export { updateArtifacts } from './artifacts';
|
||||||
|
|
||||||
export const language = LANGUAGE_PYTHON;
|
export const language = LANGUAGE_PYTHON;
|
||||||
export const supportsLockFileMaintenance = true;
|
export const supportsLockFileMaintenance = true;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
versionScheme: VERSION_SCHEME_POETRY,
|
||||||
|
fileMatch: ['(^|/)pyproject\\.toml$'],
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,9 @@
|
||||||
|
import { VERSION_SCHEME_NPM } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)pubspec\\.ya?ml$'],
|
||||||
|
versionScheme: VERSION_SCHEME_NPM,
|
||||||
|
};
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
import { LANGUAGE_RUBY } from '../../constants/languages';
|
import { LANGUAGE_RUBY } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_RUBY } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_RUBY;
|
export const language = LANGUAGE_RUBY;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)\\.ruby-version$'],
|
||||||
|
versionScheme: VERSION_SCHEME_RUBY,
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
|
import { VERSION_SCHEME_IVY } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['\\.sbt$', 'project/[^/]*.scala$'],
|
||||||
|
timeout: 300,
|
||||||
|
versionScheme: VERSION_SCHEME_IVY,
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,10 @@
|
||||||
|
import { VERSION_SCHEME_SWIFT } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['(^|/)Package\\.swift'],
|
||||||
|
versionScheme: VERSION_SCHEME_SWIFT,
|
||||||
|
rangeStrategy: 'bump',
|
||||||
|
};
|
||||||
|
|
|
@ -1,2 +1,11 @@
|
||||||
|
import { VERSION_SCHEME_HASHICORP } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
commitMessageTopic:
|
||||||
|
'Terraform {{managerData.terraformDependencyType}} {{depNameShort}}',
|
||||||
|
fileMatch: ['\\.tf$'],
|
||||||
|
versionScheme: VERSION_SCHEME_HASHICORP,
|
||||||
|
};
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
import { LANGUAGE_NODE } from '../../constants/languages';
|
import { LANGUAGE_NODE } from '../../constants/languages';
|
||||||
|
import { VERSION_SCHEME_NODE } from '../../constants/version-schemes';
|
||||||
|
|
||||||
export { extractPackageFile } from './extract';
|
export { extractPackageFile } from './extract';
|
||||||
export { getPackageUpdates } from './package';
|
export { getPackageUpdates } from './package';
|
||||||
export { updateDependency } from './update';
|
export { updateDependency } from './update';
|
||||||
|
|
||||||
export const language = LANGUAGE_NODE;
|
export const language = LANGUAGE_NODE;
|
||||||
|
|
||||||
|
export const defaultConfig = {
|
||||||
|
fileMatch: ['^.travis.yml$'],
|
||||||
|
versionScheme: VERSION_SCHEME_NODE,
|
||||||
|
};
|
||||||
|
|
1
lib/types/index.ts
Normal file
1
lib/types/index.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export * from './versioning';
|
8
lib/types/versioning.ts
Normal file
8
lib/types/versioning.ts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
export type RangeStrategy =
|
||||||
|
| 'auto'
|
||||||
|
| 'bump'
|
||||||
|
| 'future'
|
||||||
|
| 'pin'
|
||||||
|
| 'replace'
|
||||||
|
| 'update-lockfile'
|
||||||
|
| 'widen';
|
|
@ -1,13 +1,10 @@
|
||||||
import { SemVer, Range } from 'semver';
|
import { SemVer, Range } from 'semver';
|
||||||
|
import { RangeStrategy as _RangeStrategy } from '../types';
|
||||||
|
|
||||||
export type RangeStrategy =
|
/**
|
||||||
| 'auto'
|
* @deprecated import from `lib/types`
|
||||||
| 'bump'
|
*/
|
||||||
| 'future'
|
export type RangeStrategy = _RangeStrategy;
|
||||||
| 'pin'
|
|
||||||
| 'replace'
|
|
||||||
| 'update-lockfile'
|
|
||||||
| 'widen';
|
|
||||||
|
|
||||||
export interface NewValueConfig {
|
export interface NewValueConfig {
|
||||||
currentValue: string;
|
currentValue: string;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
"ansible": {
|
"ansible": {
|
||||||
"description": "Configuration object for Ansible yaml renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the ansible manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)tasks/[^/]+\\.ya?ml$"]
|
"fileMatch": ["(^|/)tasks/[^/]+\\.ya?ml$"]
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"bazel": {
|
"bazel": {
|
||||||
"description": "Configuration object for bazel WORKSPACE renovation",
|
"description": "Configuration object for the bazel manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)WORKSPACE$", "\\.bzl$"]
|
"fileMatch": ["(^|/)WORKSPACE$", "\\.bzl$"]
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
"default": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}"
|
"default": "{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}"
|
||||||
},
|
},
|
||||||
"buildkite": {
|
"buildkite": {
|
||||||
"description": "Configuration object for buildkite pipeline renovation",
|
"description": "Configuration object for the buildkite manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["buildkite\\.ya?ml", "\\.buildkite/.+\\.ya?ml$"],
|
"fileMatch": ["buildkite\\.ya?ml", "\\.buildkite/.+\\.ya?ml$"],
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
"enum": ["major", "minor", "patch"]
|
"enum": ["major", "minor", "patch"]
|
||||||
},
|
},
|
||||||
"bundler": {
|
"bundler": {
|
||||||
"description": "Configuration object for bundler Gemfiles",
|
"description": "Configuration object for the bundler manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)Gemfile$"],
|
"fileMatch": ["(^|/)Gemfile$"],
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cargo": {
|
"cargo": {
|
||||||
"description": "Configuration object for Cargo crate renovation.",
|
"description": "Configuration object for the cargo manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"commitMessageTopic": "Rust crate {{depName}}",
|
"commitMessageTopic": "Rust crate {{depName}}",
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"cdnurl": {
|
"cdnurl": {
|
||||||
"description": "Configuration object for CDN assets",
|
"description": "Configuration object for the cdnurl manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": [],
|
"fileMatch": [],
|
||||||
|
@ -182,7 +182,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"circleci": {
|
"circleci": {
|
||||||
"description": "Configuration object for CircleCI yml renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the circleci manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/).circleci/config.yml$"]
|
"fileMatch": ["(^|/).circleci/config.yml$"]
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"composer": {
|
"composer": {
|
||||||
"description": "Configuration object for composer.json files",
|
"description": "Configuration object for the composer manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)([\\w-]*)composer.json$"],
|
"fileMatch": ["(^|/)([\\w-]*)composer.json$"],
|
||||||
|
@ -247,7 +247,7 @@
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"deps-edn": {
|
"deps-edn": {
|
||||||
"description": "Configuration object for renovating Clojure CLI-based projects (deps.edn)",
|
"description": "Configuration object for the deps-edn manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)deps\\.edn$"],
|
"fileMatch": ["(^|/)deps\\.edn$"],
|
||||||
|
@ -307,7 +307,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"docker-compose": {
|
"docker-compose": {
|
||||||
"description": "Configuration object for Docker Compose renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the docker-compose manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)docker-compose[^/]*\\.ya?ml$"]
|
"fileMatch": ["(^|/)docker-compose[^/]*\\.ya?ml$"]
|
||||||
|
@ -324,7 +324,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"dockerfile": {
|
"dockerfile": {
|
||||||
"description": "Configuration object for Dockerfile renovation",
|
"description": "Configuration object for the dockerfile manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"]
|
"fileMatch": ["(^|/)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"]
|
||||||
|
@ -338,7 +338,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"droneci": {
|
"droneci": {
|
||||||
"description": "Configuration object for DroneCI yml renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the droneci manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/).drone.yml$"]
|
"fileMatch": ["(^|/).drone.yml$"]
|
||||||
|
@ -418,7 +418,7 @@
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
"git-submodules": {
|
"git-submodules": {
|
||||||
"description": "Configuration object for git submodule files",
|
"description": "Configuration object for the git-submodules manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
|
@ -441,7 +441,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"github-actions": {
|
"github-actions": {
|
||||||
"description": "Configuration object for GitHub Actions workflow renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the github-actions manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
|
@ -453,7 +453,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"gitlabci": {
|
"gitlabci": {
|
||||||
"description": "Configuration object for GitLab CI yml renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the gitlabci manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["^\\.gitlab-ci\\.yml$"]
|
"fileMatch": ["^\\.gitlab-ci\\.yml$"]
|
||||||
|
@ -461,7 +461,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"gitlabci-include": {
|
"gitlabci-include": {
|
||||||
"description": "Configuration object for GitLab CI yml renovation for include.",
|
"description": "Configuration object for the gitlabci-include manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["^\\.gitlab-ci\\.yml$"]
|
"fileMatch": ["^\\.gitlab-ci\\.yml$"]
|
||||||
|
@ -477,7 +477,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"gomod": {
|
"gomod": {
|
||||||
"description": "Configuration object for Go modules renovation",
|
"description": "Configuration object for the gomod manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)go.mod$"]
|
"fileMatch": ["(^|/)go.mod$"]
|
||||||
|
@ -485,7 +485,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"gradle": {
|
"gradle": {
|
||||||
"description": "Configuration object for build.gradle files",
|
"description": "Configuration object for the gradle manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["\\.gradle(\\.kts)?$", "(^|/)gradle.properties$"],
|
"fileMatch": ["\\.gradle(\\.kts)?$", "(^|/)gradle.properties$"],
|
||||||
|
@ -495,7 +495,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"gradle-wrapper": {
|
"gradle-wrapper": {
|
||||||
"description": "Configuration object for gradle-wrapper.properties files",
|
"description": "Configuration object for the gradle-wrapper manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)gradle/wrapper/gradle-wrapper.properties$"]
|
"fileMatch": ["(^|/)gradle/wrapper/gradle-wrapper.properties$"]
|
||||||
|
@ -522,7 +522,7 @@
|
||||||
"default": null
|
"default": null
|
||||||
},
|
},
|
||||||
"helm-requirements": {
|
"helm-requirements": {
|
||||||
"description": "Configuration object for helm requirements.yaml files.",
|
"description": "Configuration object for the helm-requirements manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"aliases": {
|
"aliases": {
|
||||||
|
@ -534,7 +534,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"helm-values": {
|
"helm-values": {
|
||||||
"description": "Configuration object for helm values.yaml files.",
|
"description": "Configuration object for the helm-values manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"commitMessageTopic": "helm values {{depName}}",
|
"commitMessageTopic": "helm values {{depName}}",
|
||||||
|
@ -543,7 +543,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"helmfile": {
|
"helmfile": {
|
||||||
"description": "Configuration object for helmfile helmfile.yaml files.",
|
"description": "Configuration object for the helmfile manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"aliases": {
|
"aliases": {
|
||||||
|
@ -555,7 +555,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"homebrew": {
|
"homebrew": {
|
||||||
"description": "Configuration object for homebrew",
|
"description": "Configuration object for the homebrew manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"commitMessageTopic": "Homebrew Formula {{depName}}",
|
"commitMessageTopic": "Homebrew Formula {{depName}}",
|
||||||
|
@ -673,7 +673,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"kubernetes": {
|
"kubernetes": {
|
||||||
"description": "Configuration object for Kubernetes renovation. Also inherits settings from `docker` object.",
|
"description": "Configuration object for the kubernetes manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": []
|
"fileMatch": []
|
||||||
|
@ -693,7 +693,7 @@
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"leiningen": {
|
"leiningen": {
|
||||||
"description": "Configuration object for renovating Clojure leiningen projects",
|
"description": "Configuration object for the leiningen manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)project\\.clj$"],
|
"fileMatch": ["(^|/)project\\.clj$"],
|
||||||
|
@ -767,7 +767,7 @@
|
||||||
"default": "Update Dependencies (Renovate Bot)"
|
"default": "Update Dependencies (Renovate Bot)"
|
||||||
},
|
},
|
||||||
"maven": {
|
"maven": {
|
||||||
"description": "Configuration object for when renovating Maven pom.xml files",
|
"description": "Configuration object for the maven manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["\\.pom\\.xml$", "(^|/)pom\\.xml$"],
|
"fileMatch": ["\\.pom\\.xml$", "(^|/)pom\\.xml$"],
|
||||||
|
@ -776,7 +776,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"meteor": {
|
"meteor": {
|
||||||
"description": "Configuration object for meteor package.js renovation",
|
"description": "Configuration object for the meteor manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)package.js$"]
|
"fileMatch": ["(^|/)package.js$"]
|
||||||
|
@ -790,7 +790,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"mix": {
|
"mix": {
|
||||||
"description": "Configuration object for Mix module renovation",
|
"description": "Configuration object for the mix manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)mix\\.exs$"],
|
"fileMatch": ["(^|/)mix\\.exs$"],
|
||||||
|
@ -810,7 +810,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"npm": {
|
"npm": {
|
||||||
"description": "Configuration object for npm package.json renovation",
|
"description": "Configuration object for the npm manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)package.json$"],
|
"fileMatch": ["(^|/)package.json$"],
|
||||||
|
@ -831,7 +831,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"nuget": {
|
"nuget": {
|
||||||
"description": "Configuration object for C#/Nuget",
|
"description": "Configuration object for the nuget manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["\\.(?:cs|fs|vb)proj$"]
|
"fileMatch": ["\\.(?:cs|fs|vb)proj$"]
|
||||||
|
@ -839,7 +839,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"nvm": {
|
"nvm": {
|
||||||
"description": "Configuration object for .nvmrc files",
|
"description": "Configuration object for the nvm manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["^.nvmrc$"],
|
"fileMatch": ["^.nvmrc$"],
|
||||||
|
@ -1033,7 +1033,7 @@
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
"pip_requirements": {
|
"pip_requirements": {
|
||||||
"description": "Configuration object for requirements.txt files",
|
"description": "Configuration object for the pip_requirements manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)([\\w-]*)requirements.(txt|pip)$"]
|
"fileMatch": ["(^|/)([\\w-]*)requirements.(txt|pip)$"]
|
||||||
|
@ -1041,7 +1041,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"pip_setup": {
|
"pip_setup": {
|
||||||
"description": "Configuration object for setup.py files",
|
"description": "Configuration object for the pip_setup manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)setup.py$"]
|
"fileMatch": ["(^|/)setup.py$"]
|
||||||
|
@ -1049,7 +1049,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"pipenv": {
|
"pipenv": {
|
||||||
"description": "Configuration object for Pipfile files",
|
"description": "Configuration object for the pipenv manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)Pipfile$"]
|
"fileMatch": ["(^|/)Pipfile$"]
|
||||||
|
@ -1063,7 +1063,7 @@
|
||||||
"default": "github"
|
"default": "github"
|
||||||
},
|
},
|
||||||
"poetry": {
|
"poetry": {
|
||||||
"description": "Configuration object for pyproject.toml files",
|
"description": "Configuration object for the poetry manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"versionScheme": "poetry",
|
"versionScheme": "poetry",
|
||||||
|
@ -1207,7 +1207,7 @@
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"pub": {
|
"pub": {
|
||||||
"description": "Configuration object for when renovating Dart pubspec files",
|
"description": "Configuration object for the pub manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)pubspec\\.ya?ml$"],
|
"fileMatch": ["(^|/)pubspec\\.ya?ml$"],
|
||||||
|
@ -1301,7 +1301,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"ruby-version": {
|
"ruby-version": {
|
||||||
"description": "Configuration object for .ruby-version updating",
|
"description": "Configuration object for the ruby-version manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)\\.ruby-version$"],
|
"fileMatch": ["(^|/)\\.ruby-version$"],
|
||||||
|
@ -1316,7 +1316,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"sbt": {
|
"sbt": {
|
||||||
"description": "Configuration object for *.sbt files",
|
"description": "Configuration object for the sbt manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["\\.sbt$", "project/[^/]*.scala$"],
|
"fileMatch": ["\\.sbt$", "project/[^/]*.scala$"],
|
||||||
|
@ -1390,7 +1390,7 @@
|
||||||
"default": ["deprecationWarningIssues"]
|
"default": ["deprecationWarningIssues"]
|
||||||
},
|
},
|
||||||
"swift": {
|
"swift": {
|
||||||
"description": "Configuration for Package.swift files",
|
"description": "Configuration object for the swift manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["(^|/)Package\\.swift"],
|
"fileMatch": ["(^|/)Package\\.swift"],
|
||||||
|
@ -1400,7 +1400,7 @@
|
||||||
"$ref": "#"
|
"$ref": "#"
|
||||||
},
|
},
|
||||||
"terraform": {
|
"terraform": {
|
||||||
"description": "Configuration object for Terraform dependencies renovation",
|
"description": "Configuration object for the terraform manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"commitMessageTopic": "Terraform {{managerData.terraformDependencyType}} {{depNameShort}}",
|
"commitMessageTopic": "Terraform {{managerData.terraformDependencyType}} {{depNameShort}}",
|
||||||
|
@ -1418,7 +1418,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"travis": {
|
"travis": {
|
||||||
"description": "Configuration object for .travis.yml node version renovation",
|
"description": "Configuration object for the travis manager",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"default": {
|
"default": {
|
||||||
"fileMatch": ["^.travis.yml$"],
|
"fileMatch": ["^.travis.yml$"],
|
||||||
|
|
Loading…
Reference in a new issue