Use NPM over Yarn Architectural Decision Records
Last updated
Was this helpful?
Last updated
Was this helpful?
Deciders: @aligg, @sawyerh, @lorenyu
Date: 2022-09
Initially this template repo used yarn for package management. We moved to npm because:
npm is pre-bundled with node, so using npm removes an installation step
some projects work on government furnished equipment and an additional package installation (e.g. installing yarn) is a significant and time-consuming step
npm and yarn are comparable in function for the purposes of this template
We considered the merits of yarn and npm only when making this decision.
Chose npm to reduce installations and bureaucratic hurdles for folks using this template out of the box.