A software-developing peep.
What is it good for?
replacement for npm
developed by Facebook, Google and others
🔎 more precise ("secure") version management
🐎 faster than npm (installation speed)
🤖 entirely compatible with our current workflow
💅🏽 cleaner (and prettier!) log output than npm
brew update brew install yarn yarn --version
npm install yarn --global
npm init npm install npm install <package> npm uninstall <package> npm run watch npm run publish
yarn init yarn (or yarn install) yarn add <package> yarn remove <package> yarn run watch yarn run publish
Yarn updates your
More commands: https://yarnpkg.com/lang/en/docs/cli
yarn upgrade <package>
Install newer versions via:
yarn.lock file (please check into git)
watch out for git-based packages:
… but please give Yarn a try!
One more thing…
Yarn has its own package directory:
آپ کا شکریہ
By Sebastian Herrmann