yarnpkg/yarn

Use shortand for gitlab dependencies

Open

#2.774 aberto em 24 de fev. de 2017

Ver no GitHub
 (11 comments) (9 reactions) (0 assignees)JavaScript (2.731 forks)batch import
cat-featuregood first issuehelp wantedtriaged

Métricas do repositório

Stars
 (41.514 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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)

Guia do colaborador