Skip to main content

npmPublishUtils

Index

Functions

getGitHead

  • getGitHead(workingDir: PortablePath): Promise<undefined | string>
  • Parameters

    Returns Promise<undefined | string>

getPublishAccess

getReadmeContent

  • getReadmeContent(workspace: Workspace): Promise<string>
  • Parameters

    Returns Promise<string>

makePublishBody

  • makePublishBody(workspace: Workspace, buffer: Buffer, __namedParameters: PublishAdditionalParams): Promise<{ _attachments: {}; _id: string; access: string; dist-tags: {}; name: string; readme: string; versions: {} }>
  • Parameters

    • workspace: Workspace
    • buffer: Buffer
    • __namedParameters: PublishAdditionalParams

    Returns Promise<{ _attachments: {}; _id: string; access: string; dist-tags: {}; name: string; readme: string; versions: {} }>