Skip to content

Commit

Permalink
docs: update regex to custom managers (#29044)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed May 29, 2024
1 parent b783f01 commit a6d5757
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/constants/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const Categories = [
'c',
'cd',
'ci',
'custom',
'dart',
'docker',
'dotnet',
Expand Down
3 changes: 3 additions & 0 deletions lib/modules/manager/custom/regex/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import is from '@sindresorhus/is';
import type { Category } from '../../../../constants';
import type {
ExtractConfig,
PackageDependency,
Expand All @@ -9,6 +10,8 @@ import { handleAny, handleCombination, handleRecursive } from './strategies';
import type { RegexManagerConfig, RegexManagerTemplates } from './types';
import { validMatchFields } from './utils';

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

export const defaultConfig = {
pinDigests: false,
};
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/custom/regex/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
With the `regex` manager you can configure Renovate so it finds dependencies that are not detected by its other built-in package managers.
With `customManagers` using `regex` you can configure Renovate so it finds dependencies that are not detected by its other built-in package managers.

Renovate supports the `ECMAScript (JavaScript)` flavor of regex.

Expand Down
1 change: 1 addition & 0 deletions tools/docs/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const CategoryNames: Record<Category, string> = {
c: 'C and C++',
cd: 'Continuous Delivery',
ci: 'Continuous Integration',
custom: 'Custom Managers',
dart: 'Dart',
docker: 'Docker',
dotnet: '.NET',
Expand Down

0 comments on commit a6d5757

Please sign in to comment.