# @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