mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 21:48:32 +00:00
78956f4e23
Co-authored-by: Rhys Arkins <rhys@arkins.net>
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);
|
|
}
|