📦🐈 Fast, reliable, and secure dependency management.
JavaScript Shell Other
Latest commit c01fbed Jul 26, 2017 @BYK BYK committed on GitHub Update: upgrade ESLint to 4.3.0 (#3962)
**Summary**

Upgrade ESLint to version 4. I did this mostly to get [no-process-exit](http://eslint.org/docs/rules/no-process-exit) rule introduced in v4. Refs #3955.

**Test plan**

Lint should pass without errors.
Permalink
Failed to load latest commit information.
.github Mention yarnpkg/rfcs in CONTRIBUTING, README and PULL_REQUEST_TEMPLAT… Mar 3, 2017
__tests__ Fix: Only add auth token when registry url matches pathname url (#3987) Jul 26, 2017
bin Fix: avoid using `process.exit()` when possible (#3955) Jul 20, 2017
end_to_end_tests Delete Docker container after test runs Nov 19, 2016
flow-typed/npm update flow (#3695) Jun 22, 2017
resources Update: When upgrading Yarn on Windows, use the previous install dir (#… Jul 19, 2017
scripts Fix: avoid using `process.exit()` when possible (#3955) Jul 20, 2017
src Fix: handle potential race conditions when using cache (#3985) Jul 26, 2017
.babelrc Add new plugin to .babelrc to transpile Array.prototype.includes (#3705) Jun 23, 2017
.dockerignore Add Dockerfile for building Yarn (#2628) Feb 11, 2017
.editorconfig Allow token replacement of .npmrc configuration with env vars (#1207) Nov 14, 2016
.eslintignore Misc stylings (#409) Sep 22, 2016
.eslintrc Use eslint-plugin-prettier instead of custom scripts for prettier (#3796 Jul 3, 2017
.flowconfig upgrade flow (#3876) Jul 10, 2017
.gitattributes Set tgz files as binary in git (#2273) Dec 16, 2016
.gitignore Implements the enable-meta-folder (#3367) May 10, 2017
.npmignore Remove Roadrunner (#3079) Apr 8, 2017
.travis.yml Chore: simpler Travis CI builds with yarnception (#3805) Jul 3, 2017
CODE_OF_CONDUCT.md add my personal email to code of conduct Aug 24, 2016
CONTRIBUTING.md Mention yarnpkg/rfcs in CONTRIBUTING, README and PULL_REQUEST_TEMPLAT… Mar 3, 2017
Dockerfile.dev Update Dockerfiles (#3934) Jul 17, 2017
LICENSE LICENSE: Specify BSD 2-Clause (#3133) May 12, 2017
README.md Swap Discord badge for shields.io version May 1, 2017
appveyor.yml Fix: Make tests great again on Travis CI macOS (#3667) Jun 29, 2017
circle.yml Publish npm release of Yarn directly from CircleCI (#3938) Jul 17, 2017
gulpfile.js Refactor and optimize `bin/yarn.js` (#3482) May 25, 2017
jenkins_jobs.groovy Publish npm release of Yarn directly from CircleCI (#3938) Jul 17, 2017
package.json Update: upgrade ESLint to 4.3.0 (#3962) Jul 26, 2017
yarn.lock Update: upgrade ESLint to 4.3.0 (#3962) Jul 26, 2017

README.md

Yarn

Fast, reliable, and secure dependency management.

Travis Status Circle Status Appveyor Status Discord Chat


Fast: Yarn caches every package it downloads so it never needs to download the same package again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.

Reliable: Using a detailed, concise lockfile format and a deterministic algorithm for installs, Yarn is able to guarantee that an install that worked on one system will work exactly the same way on any other system.

Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed.

Features

  • Offline Mode. If you've installed a package before, you can install it again without any internet connection.
  • Deterministic. The same dependencies will be installed in the same exact way on any machine, regardless of install order.
  • Network Performance. Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization.
  • Network Resilience. A single request failing won't cause an install to fail. Requests are retried upon failure.
  • Flat Mode. Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.
  • More emojis. 🐈

Installing Yarn

Read the Installation Guide on our website for detailed instructions on how to install Yarn.

Using Yarn

Read the Usage Guide on our website for detailed instructions on how to use Yarn.

Contributing to Yarn

Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an RFC. Before contributing, please read the code of conduct.

See Contributing.

Prior art

Yarn wouldn't exist if it wasn't for excellent prior art. Yarn has been inspired by the following projects:

Credits

Thanks to Sam Holmes for donating the npm package name!