import { CommonOptions , run } from "./common" ; export interface PublishOptions extends CommonOptions { } const defaultOptions = { } ; export function publish ( spec , options ? ) { const finalOpts = { ... defaultOptions , ... options } ; return run ( "publish" , finalOpts , [ spec ] ) ; }