diff --git a/.npmrc b/.npmrc index a140ea6b576..07fa88e48d1 100644 --- a/.npmrc +++ b/.npmrc @@ -3,3 +3,10 @@ auto-install-peers=true strict-peer-dependencies=false ; See https://github.com/pnpm/pnpm/pull/8363 (we adding the setting now, to not miss when migrating to pnpm 9.7+) manage-package-manager-versions=true + +; pnpm installation speed tweaks +; https://pnpm.io/npmrc#modules-cache-max-age, 20160 is for two weeks in minutes +modules-cache-max-age=20160 +; https://pnpm.io/npmrc#child-concurrency, default 5 +; Changing to 16 to align with https://pnpm.io/npmrc#network-concurrency +child-concurrency=16