-
Notifications
You must be signed in to change notification settings - Fork 361
/
.yarnrc
20 lines (17 loc) · 1.09 KB
/
.yarnrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Whilst in theory yarn's checking of the node/yarn version against the `engines` property
# in package.json is a great idea, in practice it causes unnecessary confusion/hassle for
# contributors, since most node/yarn versions will work fine with Treeherder anyway.
ignore-engines true
# `--no-bin-links` is required when using Vagrant on Windows hosts (where symlinks aren't
# allowed), and so we include here to ensure that the package.json scripts aren't relying
# on symlinks that won't exist elsewhere. This alternate config form is required due to:
# https://github.com/yarnpkg/yarn/issues/4925
--*.no-bin-links true
# Don't run preinstall/install/postinstall hooks during yarn install, since:
# - most are not actually required
# - they often don't work with --no-bin-links (the bin scripts called may not exist)
# - they cause Yarn to "unplug" the package when using the "Plug and Play" feature
# - it's more secure to not run arbitrary code during package installation
--ignore-scripts true
# Default to saving the exact package version in package.json and not a tilde version range.
save-exact true