yarnpkg/yarn

Use shortand for gitlab dependencies

Open

#2 774 ouverte le 24 févr. 2017

Voir sur GitHub
 (11 commentaires) (9 réactions) (0 assignés)JavaScript (2 731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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)

Guide contributeur