mirror of https://github.com/renovatebot/renovate
11 lines
362 B
TypeScript
11 lines
362 B
TypeScript
import { regEx } from '../../../util/regex';
|
|
|
|
export const systemManifestFileNameRegex = '(?:^|/)gotk-components\\.ya?ml$';
|
|
|
|
export const systemManifestHeaderRegex =
|
|
'#\\s*Flux\\s+Version:\\s*(\\S+)(?:\\s*#\\s*Components:\\s*([A-Za-z,-]+))?';
|
|
|
|
export function isSystemManifest(file: string): boolean {
|
|
return regEx(systemManifestFileNameRegex).test(file);
|
|
}
|