mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 09:41:46 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
12 lines
394 B
TypeScript
12 lines
394 B
TypeScript
import { NodeVersionDatasource } from '../../datasource/node-version/index.ts';
|
|
import type { PackageDependency, PackageFileContent } from '../types.ts';
|
|
|
|
export function extractPackageFile(content: string): PackageFileContent {
|
|
const dep: PackageDependency = {
|
|
depName: 'node',
|
|
currentValue: content.trim(),
|
|
datasource: NodeVersionDatasource.id,
|
|
};
|
|
return { deps: [dep] };
|
|
}
|