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

docs: update regex to custom managers #29044

Merged
merged 3 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update regex to custom managers
  • Loading branch information
setchy committed May 15, 2024
commit 392979fd1aa5a86ddd975be82a4e72a3751827ee
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 `customManagers` 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.

rarkins marked this conversation as resolved.
Show resolved Hide resolved
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
Loading