4 ms·
Since when would npm install modify a yarn lock file?
by hoten 4y ago
Since when would npm install modify a yarn lock file?
- rickstanley 4y agoI don't know exactly the "since when", but recently I was caught off guard when issuing `npm i` by mistake in a yarn project. It modifies "yarn.lock" by changing some, if not all, the registry from yarn pkg registry to npm package registry.
- deleted 4y ago[deleted]
- seniorsassycat 4y agoNpm 7+ can read and write yarn.lock https://github.com/npm/cli/blob/latest/workspaces/arborist/lib/shrinkwrap.js#L1148 https://github.com/npm/cli/blob/latest/workspaces/arborist/l...