3 ms·
I think if you're merging lockfile diffs, you're doing something wrong! Merge the package.json diffs and regenerate the lockfile.
by DuskStar 8y ago
I think if you're merging lockfile diffs, you're doing something wrong! Merge the package.json diffs and regenerate the lockfile.
- tlrobinson 8y agoYarn automatically resolves conflicts in yarn.lock if you run "yarn": https://github.com/yarnpkg/yarn/pull/3544 https://github.com/yarnpkg/yarn/pull/3544
- shados 8y agoIf you're regenerating lock files, you're losing all your locks for the stuff that didn't change, which can lead to unpredictable bugs. Fortunately as someone else replied, both yarn and npm have safe and easy ways to resolve merge conflicts in their lock files.