Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(managers): add more categories #23162

Merged
merged 1 commit into from Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions 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';
Expand All @@ -8,6 +9,8 @@ export const defaultConfig = {
fileMatch: ['(^|/)MODULE\\.bazel$'],
};

export const categories: Category[] = ['bazel'];

export const supportedDatasources = [
BazelDatasource.id,
GithubTagsDatasource.id,
Expand Down
3 changes: 3 additions & 0 deletions 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';

Expand All @@ -9,4 +10,6 @@ export const defaultConfig = {
versioning,
};

export const categories: Category[] = ['java'];

export const supportedDatasources = [MavenDatasource.id];
3 changes: 3 additions & 0 deletions 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';
Expand All @@ -6,6 +7,8 @@ export const supportedDatasources = [PypiDatasource.id];

export const supportsLockFileMaintenance = true;

export const categories: Category[] = ['python'];

export const defaultConfig = {
fileMatch: ['(^|/)pyproject\\.toml$'],
};