mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
fix: Add network timeout configuration to .npmrc
- Increase fetch-timeout to 60s (default: 30s) - Add retry timeout configuration for external resources - Improves resilience to transient network failures like Google Fonts requests
This commit is contained in:
11
.npmrc
Normal file
11
.npmrc
Normal file
@@ -0,0 +1,11 @@
|
||||
# Increase fetch timeouts for network resilience
|
||||
fetch-timeout=60000
|
||||
fetch-retry-mintimeout=20000
|
||||
fetch-retry-maxtimeout=120000
|
||||
|
||||
# GitHub Packages configuration for @tria-plc scope
|
||||
@tria-plc:registry=https://npm.pkg.github.com
|
||||
//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGE_TOKEN}
|
||||
|
||||
# Default registry for other packages
|
||||
registry=https://registry.npmjs.org/
|
||||
Reference in New Issue
Block a user