-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.npmrc
22 lines (18 loc) · 879 Bytes
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Prevent packages from accessing anything they don't explicitly depend on. This
# is mostly here so that the `react-scripts` preflight check succeeds and does
# not find babel-eslint or babel-jest or any of the other packages it is afraid
# it might get the wrong version of.
hoist = false
# From `pnpm` docs on `public-hoist-pattern`: "This setting is useful when dealing
# with some flawed pluggable tools that don't resolve dependencies properly." These
# tools all fit that description.
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*stylelint*
auto-install-peers=true
strict-peer-dependencies=false
# Concurrent node-gyp builds with pnpm seem to be flaky in CI:
# See https://github.com/pnpm/pnpm/issues/2135
# TODO: An upgrade to pnpm 9.x may resolve this an allow us to move back to
# concurrent builds.
child-concurrency=1