使用 cnpm 源的 Yarn - 快速、可靠、安全的 JavaScript 依赖管理工具
JavaScript Shell Other
Pull request Compare This branch is 9 commits ahead, 1338 commits behind yarnpkg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Update PULL_REQUEST_TEMPLATE.md Sep 26, 2016
__tests__ #767 add validate license for empty string and show warning (#768) Oct 12, 2016
bin remove symlink Oct 11, 2016
flow-typed/npm Cleanup workflow (#281) Sep 6, 2016
resources Remove Node.js check from Windows installer for now (#677) Oct 11, 2016
scripts Handle installation for 'fish' shell (#690) Oct 12, 2016
src Use registry.npm.taobao.org as the registry Oct 13, 2016
.babelrc Remove react Oct 11, 2016
.editorconfig first commit Jan 23, 2016
.eslintignore Misc stylings (#409) Sep 22, 2016
.flowconfig Update to Flow 0.33 (#487) Oct 4, 2016
.gitattributes Fix .gitattributes for binary files (#495) Oct 4, 2016
.gitignore Add RPM packaging (#556) Oct 10, 2016
.npmignore Add more stuff to npmignore (#581) Oct 11, 2016
.travis.yml Update to Jest 16. (#488) Oct 5, 2016
CODE_OF_CONDUCT.md add my personal email to code of conduct Aug 24, 2016
CONTRIBUTING.md add link to LICENSE file (#723) Oct 12, 2016
LICENSE remove patents and facebook license headers Sep 16, 2016
README.md Update README.md Oct 13, 2016
README.yarn.md Update cyarn Oct 13, 2016
RELEASING.md Update RELEASING.md Sep 23, 2016
appveyor.yml only run tests for appveyor Sep 20, 2016
circle.yml removed node4 from circle tests and added single file deployment (#597) Oct 11, 2016
gulpfile.js Add missing commands (#439) Oct 5, 2016
package.json add description to package.json Feb 22, 2017
yarn.lock Add back eslint-plugin-react since it is a peerDep of eslint-config-fbjs Oct 11, 2016

README.md

CYarn

使用 cnpm 源的 Yarn

Yarn 是一个快速、可靠、安全的 JavaScript 依赖管理工具。

  • Yarn 文档:https://yarnpkg.com/ (官方网站支持多语言,但是中文文档还没有)

安装 CYarn

npm install -g cyarn

或者使用 cnpm 源:

npm install -g cyarn --registry=https://registry.npm.taobao.org

其他修改源的方式

配置 yarn config

https://yarnpkg.com/en/docs/cli/config

yarn config set registry https://registry.npm.taobao.org

使用 yrm

https://github.com/i5ting/yrm

npm install -g yrm
yrm use cnpm

现有技术

CYarn 离不开这些现有技术: