turbo-gulp
Version:
Gulp tasks to boost high-quality projects.
35 lines (34 loc) • 771 B
TypeScript
import { AbsPosixPath } from "../types";
export interface NpmPublishOptions {
/**
* Directory to publish.
*/
directory: AbsPosixPath;
/**
* Tag to use for this publication.
*
* Default: `"latest"`.
*/
tag?: string;
/**
* Path to the npm command-line program.
*
* Default: `"npm"` (assumes that `npm` is in the `$PATH`)
*/
command?: string;
}
export interface ResolvedNpmPublishOptions {
/**
* Directory to publish.
*/
directory: AbsPosixPath;
/**
* Tag to use for this publication.
*/
tag: string;
/**
* Path to the npm command-line program.
*/
command: string;
}
export declare function npmPublish(options: NpmPublishOptions): Promise<void>;