Skip to content
Snippets Groups Projects
Unverified Commit b6c4f5ea authored by Sebastian Poxhofer's avatar Sebastian Poxhofer Committed by GitHub
Browse files

feat(managers): add more categories (#23162)

parent 1fdb10d4
No related merge requests found
import type { Category } from '../../../constants';
import { BazelDatasource } from '../../datasource/bazel'; import { BazelDatasource } from '../../datasource/bazel';
import { GithubTagsDatasource } from '../../datasource/github-tags'; import { GithubTagsDatasource } from '../../datasource/github-tags';
import { extractPackageFile } from './extract'; import { extractPackageFile } from './extract';
...@@ -8,6 +9,8 @@ export const defaultConfig = { ...@@ -8,6 +9,8 @@ export const defaultConfig = {
fileMatch: ['(^|/)MODULE\\.bazel$'], fileMatch: ['(^|/)MODULE\\.bazel$'],
}; };
export const categories: Category[] = ['bazel'];
export const supportedDatasources = [ export const supportedDatasources = [
BazelDatasource.id, BazelDatasource.id,
GithubTagsDatasource.id, GithubTagsDatasource.id,
......
import type { Category } from '../../../constants';
import { MavenDatasource } from '../../datasource/maven'; import { MavenDatasource } from '../../datasource/maven';
import { id as versioning } from '../../versioning/maven'; import { id as versioning } from '../../versioning/maven';
...@@ -9,4 +10,6 @@ export const defaultConfig = { ...@@ -9,4 +10,6 @@ export const defaultConfig = {
versioning, versioning,
}; };
export const categories: Category[] = ['java'];
export const supportedDatasources = [MavenDatasource.id]; export const supportedDatasources = [MavenDatasource.id];
import type { Category } from '../../../constants';
import { PypiDatasource } from '../../datasource/pypi'; import { PypiDatasource } from '../../datasource/pypi';
export { extractPackageFile } from './extract'; export { extractPackageFile } from './extract';
export { updateArtifacts } from './artifacts'; export { updateArtifacts } from './artifacts';
...@@ -6,6 +7,8 @@ export const supportedDatasources = [PypiDatasource.id]; ...@@ -6,6 +7,8 @@ export const supportedDatasources = [PypiDatasource.id];
export const supportsLockFileMaintenance = true; export const supportsLockFileMaintenance = true;
export const categories: Category[] = ['python'];
export const defaultConfig = { export const defaultConfig = {
fileMatch: ['(^|/)pyproject\\.toml$'], fileMatch: ['(^|/)pyproject\\.toml$'],
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment