mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
3888247209
* docs(manager): make sure that Supported Datasources are de-duped and sorted As noted in #44764, we otherwise end up with a lot of duplicated entries for `renovate-config`. We can also sort them to make ti a slightly more readable list. * chore(manager/renovate-config): dedupe `supportedDatasources`
24 lines
778 B
TypeScript
24 lines
778 B
TypeScript
import { getConfigFileNames } from '../../../config/app-strings.ts';
|
|
import { allToolConfig } from '../../../util/exec/containerbase.ts';
|
|
import { GiteaTagsDatasource } from '../../datasource/gitea-tags/index.ts';
|
|
import { GithubTagsDatasource } from '../../datasource/github-tags/index.ts';
|
|
import { GitlabTagsDatasource } from '../../datasource/gitlab-tags/index.ts';
|
|
|
|
export { extractPackageFile } from './extract.ts';
|
|
|
|
export const defaultConfig = {
|
|
managerFilePatterns: getConfigFileNames().filter(
|
|
(name) => name !== 'package.json',
|
|
),
|
|
};
|
|
|
|
export const supportedDatasources = Array.from(
|
|
new Set([
|
|
GithubTagsDatasource.id,
|
|
GitlabTagsDatasource.id,
|
|
GiteaTagsDatasource.id,
|
|
|
|
...Object.values(allToolConfig).map((conf) => conf.datasource),
|
|
]),
|
|
);
|