UNPKG

@changesets/cli

Version:

Organise your package versioning and publishing to make both contributors and maintainers happy

15 lines (14 loc) 555 B
import { TwoFactorState } from "../../utils/types"; export declare function getTokenIsRequired(): Promise<boolean>; export declare function info(pkgName: string): Promise<any>; export declare function infoAllow404(pkgName: string): Promise<{ published: boolean; pkgInfo: any; }>; export declare let getOtpCode: (twoFactorState: TwoFactorState) => Promise<string>; export declare function publish(pkgName: string, opts: { cwd: string; access?: string; }, twoFactorState: TwoFactorState): Promise<{ published: boolean; }>;