feat(managers/cpanfile): add perl category (#23808)

This commit is contained in:
Sebastian Poxhofer 2023-08-10 11:33:58 +02:00 committed by GitHub
parent 4db86c202a
commit bd3c3e3ee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,7 @@ const Categories = [
'js', 'js',
'kubernetes', 'kubernetes',
'node', 'node',
'perl',
'php', 'php',
'python', 'python',
'ruby', 'ruby',

View file

@ -1,3 +1,4 @@
import type { Category } from '../../../constants';
import { CpanDatasource } from '../../datasource/cpan'; import { CpanDatasource } from '../../datasource/cpan';
import { GithubTagsDatasource } from '../../datasource/github-tags'; import { GithubTagsDatasource } from '../../datasource/github-tags';
@ -11,6 +12,8 @@ export const defaultConfig = {
fileMatch: ['(^|/)cpanfile$'], fileMatch: ['(^|/)cpanfile$'],
}; };
export const categories: Category[] = ['perl'];
export const supportedDatasources = [ export const supportedDatasources = [
CpanDatasource.id, CpanDatasource.id,
GithubTagsDatasource.id, GithubTagsDatasource.id,

View file

@ -42,6 +42,7 @@ export const CategoryNames: Record<Category, string> = {
js: 'JavaScript', js: 'JavaScript',
kubernetes: 'Kubernetes', kubernetes: 'Kubernetes',
node: 'Node.js', node: 'Node.js',
perl: 'Perl',
php: 'PHP', php: 'PHP',
python: 'Python', python: 'Python',
ruby: 'Ruby', ruby: 'Ruby',