Files
renovate/lib
Grégory Joseph b72bf4c8e5 fix(lerna): Fix support for Lerna when package.json is not at the root of the repo (#6675)
* 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>
2020-07-18 16:40:35 +02:00
..