UNPKG

semantic-release-yarn

Version:

semantic-release plugin to publish a npm package with yarn

12 lines (11 loc) 496 B
import type { PackageJson } from "read-pkg"; import type { PublishContext } from "./definitions/context.js"; import type { PluginConfig } from "./definitions/pluginConfig.js"; export declare function getReleaseInfo({ name }: PackageJson, { mainWorkspace }: PluginConfig, { nextRelease: { version }, }: { env: PublishContext["env"]; nextRelease: PublishContext["nextRelease"]; }, distTag: string, registry: string): { name: string; url: string | undefined; channel: string; };