-
Notifications
You must be signed in to change notification settings - Fork 2
/
.npmrc
34 lines (23 loc) · 938 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
28
29
30
31
32
33
34
# Use pnpm as the package manager
package-manager=pnpm
# Enable shameful hoisting for better compatibility
shamefully-hoist=true
# Use strict-peer-dependencies to ensure all peer dependencies are installed
strict-peer-dependencies=true
# Auto-install peers to avoid manual peer dependency installation
auto-install-peers=true
# Use workspace protocol for local dependencies
link-workspace-packages=true
# Save exact versions in package.json
save-exact=true
# Use the highest available version when installing dependencies
prefer-highest-version=true
# Disable package-lock.json generation (pnpm uses pnpm-lock.yaml instead)
package-lock=false
# Set the default node environment
node-env=production
# Configure registry (uncomment and modify if you're using a custom registry)
# registry=https://registry.npmjs.org/
# Configure cache location (uncomment and modify if needed)
# cache=~/.pnpm-store
strict-peer-dependencies=false