UNPKG

semantic-release-yarn

Version:

semantic-release plugin to publish a npm package with yarn

7 lines (6 loc) 322 B
import type { CommonContext } from "./definitions/context.js"; import type { Yarnrc } from "./definitions/yarnrc.js"; export declare function getToken(registry: string, { npmRegistries, npmAuthToken }: Yarnrc, { env, logger, }: { env: CommonContext["env"]; logger: CommonContext["logger"]; }): string | undefined;