UNPKG

@servant/servant

Version:

Servant builder for node modules.

17 lines (16 loc) 788 B
import { PackageJson, ServantJson, Modules } from "@servant/servant-data"; import { CommandResult, DoneType } from "../index"; import * as Module from "../index"; export interface PublishResult { module: string; versions: [string, string | null]; anyVersions: Array<string>; changed: Array<string>; package: string | null; published: string | null; type: DoneType; private: boolean; commit: boolean; message: string; } export declare function publish(packageJson: PackageJson.PackageJsonInfo, module: Modules.ModuleDefinition, graph: Module.DependenciesGraph, production: boolean, tag?: string, freeze?: boolean, commit?: boolean, increment?: ServantJson.ServantJson["publish"]["increment"]): Promise<CommandResult<PublishResult>>;