forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.npmrc
27 lines (22 loc) · 981 Bytes
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
save-exact = true
prefer-workspace-packages = true
strict-peer-dependencies = true
use-lockfile-v6 = true
# Force node version
engine-strict = true
# No hoisting by default.
hoist-pattern=[]
public-hoist-pattern=[]
# Be strict about peer deps
auto-install-peers = false
dedupe-peer-dependents = false
# Silence this warning. Our `jetpack dependencies build-order` (also used by `jetpack build --all`) checks for cycles itself, plus it has a way to indicate that a dep is only for testing.
ignore-workspace-cycles = true
# Opinion seems divided on whether the new default 'lowest-direct' is good or bad.
# https://github.com/pnpm/pnpm/issues/6463
# https://github.com/pnpm/pnpm/issues/6498
# Also it would need a renovate config change (`rangeStrategy` to "bump" or "pin" for JS packages).
# Let's stick with the historical behavior for now.
resolution-mode = highest
# @automattic/jetpack-webpack-config looks for this.
jetpack-webpack-config-resolve-conditions=jetpack:src