yarn: add aliases for common commands

Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
This commit is contained in:
Marc Cornellà 2018-07-11 21:21:01 +02:00
parent 1a657c6c4d
commit 344b13c4a5

View file

@ -1,6 +1,18 @@
alias y="yarn "
alias y="yarn"
alias ya="yarn add"
alias yad="yarn add --dev"
alias yap="yarn add --peer"
alias yb="yarn build"
alias ycc="yarn cache clean"
alias ygu="yarn global upgrade"
alias yh="yarn help"
alias yin="yarn install"
alias yls="yarn list"
alias yout="yarn outdated"
alias yrm="yarn remove"
alias yrun="yarn run"
alias yst="yarn start"
alias yt="yarn test"
alias yuc="yarn global upgrade && yarn cache clean"
alias yui="yarn upgrade-interactive"
alias yup="yarn upgrade"