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