Skip to content

Commit

Permalink
feat(managers/cpanfile): add perl category (#23808)
Browse files Browse the repository at this point in the history
  • Loading branch information
secustor committed Aug 10, 2023
1 parent 4db86c2 commit bd3c3e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/constants/category.ts
Expand Up @@ -17,6 +17,7 @@ const Categories = [
'js',
'kubernetes',
'node',
'perl',
'php',
'python',
'ruby',
Expand Down
3 changes: 3 additions & 0 deletions lib/modules/manager/cpanfile/index.ts
@@ -1,3 +1,4 @@
import type { Category } from '../../../constants';
import { CpanDatasource } from '../../datasource/cpan';
import { GithubTagsDatasource } from '../../datasource/github-tags';

Expand All @@ -11,6 +12,8 @@ export const defaultConfig = {
fileMatch: ['(^|/)cpanfile$'],
};

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

export const supportedDatasources = [
CpanDatasource.id,
GithubTagsDatasource.id,
Expand Down
1 change: 1 addition & 0 deletions tools/docs/manager.ts
Expand Up @@ -42,6 +42,7 @@ export const CategoryNames: Record<Category, string> = {
js: 'JavaScript',
kubernetes: 'Kubernetes',
node: 'Node.js',
perl: 'Perl',
php: 'PHP',
python: 'Python',
ruby: 'Ruby',
Expand Down

0 comments on commit bd3c3e3

Please sign in to comment.