-
Notifications
You must be signed in to change notification settings - Fork 390
Expand file tree
/
Copy path.npmrc
More file actions
27 lines (21 loc) · 962 Bytes
/
Copy path.npmrc
File metadata and controls
27 lines (21 loc) · 962 Bytes
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
# pnpm configuration for Treeherder
# Equivalent to yarn's ignore-engines - don't check engine compatibility
engine-strict=false
# Save exact versions instead of ranges when adding packages
save-exact=true
# Don't run lifecycle scripts during install for security
ignore-scripts=true
# Hoist all dependencies to node_modules root for compatibility
# This makes pnpm behavior similar to npm/yarn flat node_modules
shamefully-hoist=true
# Auto-install peers to avoid peer dependency warnings
auto-install-peers=true
# Install native bindings for both macOS (local dev) and Linux (Docker container).
# Without this, pnpm only resolves bindings for the host platform in the lockfile,
# which breaks the frontend Docker container (linux-x64-musl).
supportedArchitectures.os[]=current
supportedArchitectures.os[]=linux
supportedArchitectures.cpu[]=current
supportedArchitectures.cpu[]=x64
supportedArchitectures.libc[]=current
supportedArchitectures.libc[]=musl