-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmrc
19 lines (15 loc) · 910 Bytes
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# enforce specific Node.js and pnpm version (https://pnpm.io/npmrc#engine-strict)
engine-strict=true
# the default settings of pnpm regarding peer dependency management and resolution-mode seem to result in an instable lockfile,
# it jumps back and fourth in versions
# therefore disable auto installing peers and deduping peers, and set resolution-mode to the simpler "highest" mode
auto-install-peers=false
dedupe-peer-dependents=false
resolution-mode=highest
strict-peer-dependencies=true
# disable public-hoist-pattern entirely to avoid phantom dependencies (by default pnpm hoists some things, see https://pnpm.io/npmrc#public-hoist-pattern)
public-hoist-pattern[]=
# https://pnpm.io/npmrc#update-notifier
update-notifier=false
# workspace-concurrency=0 will use amount of cores of the host to run tasks concurrently (see https://pnpm.io/cli/recursive#--workspace-concurrency)
workspace-concurrency=0