2016-08-02 14:20:32 +00:00
|
|
|
/// <reference types="q" />
|
2016-05-30 00:29:30 +00:00
|
|
|
import "typings-global";
|
2016-08-02 14:20:32 +00:00
|
|
|
import * as plugins from "./npmci.plugins";
|
2016-09-04 11:42:22 +00:00
|
|
|
/**
|
|
|
|
* type of supported services
|
|
|
|
*/
|
2016-09-04 14:05:47 +00:00
|
|
|
export declare type TPubService = "npm" | "docker";
|
2016-09-04 11:42:22 +00:00
|
|
|
/**
|
|
|
|
* the main exported publish function.
|
2016-09-04 14:05:47 +00:00
|
|
|
* @param pubServiceArg references targeted service to publish to
|
2016-09-04 11:42:22 +00:00
|
|
|
*/
|
2016-09-04 14:05:47 +00:00
|
|
|
export declare let publish: (pubServiceArg?: TPubService) => plugins.q.Promise<{}>;
|