From 0578c08046a569b37ad93cb25bc1effba81bc116 Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Thu, 19 Sep 2024 10:27:34 +0200 Subject: [PATCH] pnpm: settings tweaks. --- .npmrc | 7 +++++++ 1 file changed, 7 insertions(+) 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