Emojis in yarn command output

All Posts

Emojis in yarn command output

Updated: August 17, 2020 by Tony Alves

You can run yarn commands with emojis in the output.

yarn <command> --emoji true

Add the following to your .bashrc file to get an alias for running yarn with emojis.

ye () {
yarn $@ --emoji true

Then run some yarn commands.

$ ye install
yarn install v1.22.4
[1/4] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 0.96s.
$ ye why doesntexist
yarn why v1.22.4
[1/4] 🤔 Why do we have the module "doesntexist"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
error We couldn't find a match!
✨ Done in 1.17s.
© Tony Alves