From b6c4f5ea1bc14b6fad7db06665f6b0db82e93119 Mon Sep 17 00:00:00 2001 From: Sebastian Poxhofer <secustor@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:28:12 +0200 Subject: [PATCH] feat(managers): add more categories (#23162) --- lib/modules/manager/bazel-module/index.ts | 3 +++ lib/modules/manager/maven-wrapper/index.ts | 3 +++ lib/modules/manager/pep621/index.ts | 3 +++ 3 files changed, 9 insertions(+) diff --git a/lib/modules/manager/bazel-module/index.ts b/lib/modules/manager/bazel-module/index.ts index 3b09c6359f..021ef601ad 100644 --- a/lib/modules/manager/bazel-module/index.ts +++ b/lib/modules/manager/bazel-module/index.ts @@ -1,3 +1,4 @@ +import type { Category } from '../../../constants'; import { BazelDatasource } from '../../datasource/bazel'; import { GithubTagsDatasource } from '../../datasource/github-tags'; import { extractPackageFile } from './extract'; @@ -8,6 +9,8 @@ export const defaultConfig = { fileMatch: ['(^|/)MODULE\\.bazel$'], }; +export const categories: Category[] = ['bazel']; + export const supportedDatasources = [ BazelDatasource.id, GithubTagsDatasource.id, diff --git a/lib/modules/manager/maven-wrapper/index.ts b/lib/modules/manager/maven-wrapper/index.ts index 9fc60c9a4a..799e6d8c1d 100644 --- a/lib/modules/manager/maven-wrapper/index.ts +++ b/lib/modules/manager/maven-wrapper/index.ts @@ -1,3 +1,4 @@ +import type { Category } from '../../../constants'; import { MavenDatasource } from '../../datasource/maven'; import { id as versioning } from '../../versioning/maven'; @@ -9,4 +10,6 @@ export const defaultConfig = { versioning, }; +export const categories: Category[] = ['java']; + export const supportedDatasources = [MavenDatasource.id]; diff --git a/lib/modules/manager/pep621/index.ts b/lib/modules/manager/pep621/index.ts index 62a464046d..1b4326edb1 100644 --- a/lib/modules/manager/pep621/index.ts +++ b/lib/modules/manager/pep621/index.ts @@ -1,3 +1,4 @@ +import type { Category } from '../../../constants'; import { PypiDatasource } from '../../datasource/pypi'; export { extractPackageFile } from './extract'; export { updateArtifacts } from './artifacts'; @@ -6,6 +7,8 @@ export const supportedDatasources = [PypiDatasource.id]; export const supportsLockFileMaintenance = true; +export const categories: Category[] = ['python']; + export const defaultConfig = { fileMatch: ['(^|/)pyproject\\.toml$'], }; -- GitLab