mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
dca3418bbd
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/ BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
11 lines
354 B
TypeScript
11 lines
354 B
TypeScript
import { DockerDatasource } from '../../datasource/docker';
|
|
import type { PackageDependency, PackageFile } from '../types';
|
|
|
|
export function extractPackageFile(content: string): PackageFile {
|
|
const dep: PackageDependency = {
|
|
depName: 'python',
|
|
currentValue: content.trim(),
|
|
datasource: DockerDatasource.id,
|
|
};
|
|
return { deps: [dep] };
|
|
}
|