mirror of https://github.com/renovatebot/renovate
29 lines
1.2 KiB
TypeScript
29 lines
1.2 KiB
TypeScript
import type { Category } from '../../../constants';
|
|
import { GithubTagsDatasource } from '../../datasource/github-tags';
|
|
import { NpmDatasource } from '../../datasource/npm';
|
|
|
|
export { updateArtifacts } from './artifacts';
|
|
export { extractAllPackageFiles } from './extract';
|
|
export { getRangeStrategy, updateDependency } from '../npm';
|
|
|
|
export const supersedesManagers = ['npm'];
|
|
export const supportsLockFileMaintenance = true;
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: ['(^|/)bun\\.lockb$'],
|
|
digest: {
|
|
prBodyDefinitions: {
|
|
Change:
|
|
'{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}',
|
|
},
|
|
},
|
|
prBodyDefinitions: {
|
|
Change:
|
|
"[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})",
|
|
},
|
|
};
|
|
|
|
export const categories: Category[] = ['js'];
|
|
|
|
export const supportedDatasources = [GithubTagsDatasource.id, NpmDatasource.id];
|