From the Yarn repo documentation:
Fast: Yarn caches every package it downloads so it never needs to download the same package again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
Having that in mind and inspiried by Kent C. Dodds' mention of the idea, Merino will allow you to prime your cache with a single module.
yarn add merino && yarn remove merino