pnpm: settings tweaks.

This commit is contained in:
Vladimir Reznichenko 2024-09-19 10:27:34 +02:00
parent 3cdf45f69c
commit 0578c08046
1 changed files with 7 additions and 0 deletions

7
.npmrc
View File

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