Const validScenarios
validScenarios: (object | object)[] = [{url: `http://github.com/owner/repo.git`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `master`,}, {url: `https://github.com/owner/repo.git`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `master`,}, {url: `https://yarnpkg::;*%$:@github.com/owner/repo.git`,auth: `yarnpkg::;*%$:`, username: `owner`, reponame: `repo`, treeish: `master`,}, {url: `https://yarnpkg:$fooABC@:@github.com/owner/repo.git`,auth: `yarnpkg:$fooABC@:`, username: `owner`, reponame: `repo`, treeish: `master`,}, {url: `https://yarnpkg:password@github.com/owner/repo.git`,auth: `yarnpkg:password`, username: `owner`, reponame: `repo`, treeish: `master`,}, {url: `https://github.com/owner/repo.git#commit:abcdef`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `abcdef`,}, {url: `https://github.com/owner/repo.git#abcdef`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `abcdef`,}, {url: `https://github.com/owner/repo.git#commit=abcdef`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `abcdef`,}, {url: `https://github.com/owner/repo.git#commit=abcdef&workspace=foobar`,auth: undefined, username: `owner`, reponame: `repo`, treeish: `abcdef`,}]
@yarnpkg/plugin-github
This plugin improves the performances when cloning packages from Git by making use of the hosted GitHub API.
Install
This plugin is included by default in Yarn.