renovate/lib/config/app-strings.ts

35 lines
904 B
TypeScript
Raw Normal View History

2019-12-04 11:15:36 +00:00
/* eslint-disable import/no-mutable-exports */
2019-01-06 13:47:42 +00:00
2019-12-04 11:15:36 +00:00
export let appName = 'Renovate';
2019-01-06 13:47:42 +00:00
2019-12-04 11:15:36 +00:00
export let appSlug = 'renovate';
export let configFileNames = [
2019-01-06 13:47:42 +00:00
'renovate.json',
'renovate.json5',
2019-01-06 13:47:42 +00:00
'.github/renovate.json',
'.github/renovate.json5',
2019-01-06 13:47:42 +00:00
'.renovaterc',
'.renovaterc.json',
'package.json',
];
2019-12-04 11:15:36 +00:00
export let onboardingBranch = 'renovate/configure';
export let onboardingPrTitle = 'Configure Renovate';
2019-01-06 13:47:42 +00:00
2019-12-04 11:15:36 +00:00
export let urls = {
2019-08-27 11:11:25 +00:00
documentation: 'https://docs.renovatebot.com/',
2019-01-06 13:47:42 +00:00
help: 'https://github.com/renovatebot/config-help/issues',
homepage: 'https://renovatebot.com',
};
2019-12-04 11:15:36 +00:00
// istanbul ignore next
export function setAppStrings(appStrings: any): void {
appName = appStrings.appName;
appSlug = appStrings.appSlug;
configFileNames = appStrings.configFileNames;
onboardingBranch = appStrings.onboardingBranch;
onboardingPrTitle = appStrings.onboardingPrTitle;
urls = appStrings.urls;
}