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',
|
2019-04-19 06:39:20 +00:00
|
|
|
'renovate.json5',
|
2019-01-06 13:47:42 +00:00
|
|
|
'.github/renovate.json',
|
2019-04-19 06:39:20 +00:00
|
|
|
'.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;
|
|
|
|
}
|