0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-23 05:58:05 +00:00
renovatebot_renovate/lib/modules/manager/npm/extract/common/node.ts
2023-11-07 15:50:29 +00:00

12 lines
356 B
TypeScript

import type { PackageDependency } from '../../../types';
import type { NpmManagerData } from '../../types';
export function setNodeCommitTopic(
dep: PackageDependency<NpmManagerData>,
): void {
// This is a special case for Node.js to group it together with other managers
if (dep.depName === 'node') {
dep.commitMessageTopic = 'Node.js';
}
}