-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.npmrc
More file actions
31 lines (22 loc) · 764 Bytes
/
.npmrc
File metadata and controls
31 lines (22 loc) · 764 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
28
29
30
31
# PNPM workspace optimization settings
# Use hard links to save disk space (when possible)
node-linker=hoisted
# Strict peer dependency resolution
strict-peer-dependencies=true
# Auto-install peers (useful for workspace packages)
auto-install-peers=true
# Save exact versions in package.json
save-exact=true
# Use workspace protocol for local dependencies
link-workspace-packages=true
# Prefer workspace packages over registry
prefer-workspace-packages=true
# Hoist pattern for shared dependencies
# This helps reduce duplication
public-hoist-pattern[]=*types*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
# Shamefully hoist these common dev dependencies
shamefully-hoist=false
# Enable workspace protocol
enable-pre-post-scripts=true