yarnpkg/yarn

Use shortand for gitlab dependencies

Open

#2,774 建立於 2017年2月24日

在 GitHub 查看
 (11 留言) (9 反應) (0 負責人)JavaScript (41,514 star) (2,731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

描述

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)

貢獻者指南