yarnpkg/yarn

Use shortand for gitlab dependencies

Open

#2.774 geöffnet am 24. Feb. 2017

Auf GitHub ansehen
 (11 Kommentare) (9 Reaktionen) (0 zugewiesene Personen)JavaScript (41.514 Stars) (2.731 Forks)batch import
cat-featuregood first issuehelp wantedtriaged

Beschreibung

What is the current behavior? yarn add "gitlab:mygitlabuser/myproject"

gives an error

What is the expected behavior?

Should behave the same as
npm install -S "gitlab:mygitlabuser/myproject"

With npm this is a valid dependency also in package.json, while it doesn't work with yarn. This is actually a simple shorthand for a complete git url and work the same for bitbucket and gist

Please mention your node.js, yarn and operating system version. node v7.6.0 on Kde Neon (linux 4.4.0-64-generic)

Contributor Guide