# Ensure package-lock.json is always generated
package-lock=true

# Don't add license field to package-lock.json root if not in package.json
# (npm v9+ handles this correctly, but older versions may differ)
save-exact=false

# Peer dependencies handling (npm v7+)
# Use legacy mode to suppress peer dependency warnings on Windows
# This prevents the 71-line peer warning output on Windows
# Note: This uses npm v6 behavior (warnings but no auto-install)
# When legacy-peer-deps=true, strict-peer-deps and auto-install-peers are ignored
legacy-peer-deps=true

# Suppress peer dependency warnings and reduce output noise
# Windows npm shows peer dependency warnings up to 71 lines limit
# These settings prevent warnings from appearing and affecting package-lock.json
audit=false
fund=false

# Suppress all warnings (including peer dependency warnings)
# This is the most effective way to hide peer dependency warnings on Windows
loglevel=error
progress=false

# Ensure consistent node_modules structure across platforms
# This prevents hoisting differences between Windows and Unix
install-strategy=nested
prefer-dedupe=false

# Prefer online registry for faster installs
prefer-online=true
