@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
13 lines • 512 B
JavaScript
const byUsername = new Map([
["softwareventures", "Software Ventures Limited"],
["eccosolutions", "ecco solutions ltd"]
]);
export function guessCopyrightHolder(options) {
return (options.license?.copyrightHolder ??
byUsername.get(options.npmPackage?.scope ?? "") ??
(options.gitHost != null && "user" in options.gitHost
? byUsername.get(options.gitHost.user ?? "")
: null) ??
options.author?.name);
}
//# sourceMappingURL=guess-copyright-holder.js.map