I’ve just merged https://github.com/cockroachdb/cockroach/pull/10178, which introduces yarn (https://yarnpkg.com/) as a replacement for npm.
Yarn promises faster dependency fetching than npm and better dependency hygiene (e.g. if you change dependencies, you don’t need to nuke
node_modules to get back to a pristine state).
Note that the file
npm.installed which was used to avoid re-invoking npm unnecessarily has been replaced with
yarn.installed and can be safely removed (git will now report its presence, as I’ve removed it from various