UNPKG

semantic-release-yarn

Version:

semantic-release plugin to publish a npm package with yarn

8 lines (7 loc) 382 B
import type { PackageJson } from "read-pkg"; import type { CommonContext } from "./definitions/context.js"; import type { Yarnrc } from "./definitions/yarnrc.js"; export declare function getRegistry({ publishConfig }: PackageJson, { npmRegistryServer, npmPublishRegistry }: Yarnrc, { env, logger, }: { env: CommonContext["env"]; logger: CommonContext["logger"]; }): string;