-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Expand file tree
/
Copy path.npmrc
More file actions
14 lines (13 loc) · 720 Bytes
/
Copy path.npmrc
File metadata and controls
14 lines (13 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# @lobehub/icons declares UI peers that are not needed by our deep icon imports.
# Keeping peer auto-install disabled prevents npm from pulling @lobehub/ui/mermaid
# back into the tree and reopening npm audit findings for unused packages.
legacy-peer-deps=true
# Network resilience: enlarge npm's fetch retry budget so a transient registry
# socket reset (ECONNRESET) mid-download retries instead of failing the job.
# npm defaults to only 2 retries with short timeouts; `npm ci` in
# electron-release.yml hit ECONNRESET during v3.8.41 publish. Applies to every
# CI workflow (electron / docker / unit) and local installs.
fetch-retries=5
fetch-retry-factor=4
fetch-retry-mintimeout=20000
fetch-retry-maxtimeout=120000