Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-git

@yarnpkg/plugin-git

This plugin adds support for cloning packages from Git repositories.

Install

This plugin is included by default in Yarn.

Functions

clone

  • clone(url: string, configuration: Configuration): Promise<string & object>

clone

  • clone(url: string, configuration: Configuration): Promise<string & object>

isGitUrl

  • isGitUrl(url: string): boolean

isGitUrl

  • isGitUrl(url: string): boolean

lsRemote

  • lsRemote(repo: string, configuration: Configuration): Promise<Map<any, any>>

lsRemote

  • lsRemote(repo: string, configuration: Configuration): Promise<Map<any, any>>

normalizeLocator

normalizeLocator

normalizeRepoUrl

  • normalizeRepoUrl(url: string): string

normalizeRepoUrl

  • normalizeRepoUrl(url: string): string

resolveUrl

  • resolveUrl(url: string, configuration: Configuration): Promise<string>

resolveUrl

  • resolveUrl(url: string, configuration: Configuration): Promise<string>

splitRepoUrl

  • splitRepoUrl(url: string): object

splitRepoUrl

  • splitRepoUrl(url: string): object

Object literals

Const plugin

plugin: object

fetchers

fetchers: GitFetcher[] = [GitFetcher,]

resolvers

resolvers: GitResolver[] = [GitResolver,]

Generated using TypeDoc