mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-09 13:37:49 +00:00
b72bf4c8e5
* fix(lerna): Fix support for Lerna when package.json is not at the root of the repo Pass the PackageFile object to generateLockFiles, and use that rather than hardcode 'package.json' Closes #6574 * Add test for #6574 - loads package.json from the given file, not root * Alternative approach: don't re-load the file at all, deps are already specified. Unsure about tests * Making eslint happy * Add tests for getLernaVersion (and some fixes along the way) * Copy/pasta error -- that test function didn't need to be async * Wrap lerna tests in a describe(getName) * Adapted snapshot file Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>