renovate/lib/config/migrations/custom/package-name-migration.ts

11 lines
307 B
TypeScript

import { AbstractMigration } from '../base/abstract-migration';
export class PackageNameMigration extends AbstractMigration {
override readonly deprecated = true;
override readonly propertyName = 'packageName';
override run(value: unknown): void {
this.setSafely('packageNames', [value]);
}
}