Skip to content

Instantly share code, notes, and snippets.

@aamnah
Last active October 20, 2018 16:21
Show Gist options
  • Save aamnah/d6fbaf93b8b085ae87d506becec5be84 to your computer and use it in GitHub Desktop.
Save aamnah/d6fbaf93b8b085ae87d506becec5be84 to your computer and use it in GitHub Desktop.
Yarn global defaults
# more: https://yarnpkg.com/lang/en/docs/cli/config/
# list all config values
yarn cnofig list
# yarn config set <key> <value> [-g|--global]
yarn config set -g init-license 'CC BY-SA 4.0'
yarn config set -g init-version '0.0.1'
# the rest it picks up from npm defaults
# https://gist.github.com/aamnah/2cb2662a93472327382c9d5739e707aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment