greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
183 stars 73 forks source link

Add yarn args from environment variable #78

Closed chmanie closed 6 years ago

chmanie commented 6 years ago

This PR implements the functionality discussed in #66. For the sake of not breaking things I added tests for the lockfile creation. I tried to replicate the testing framework used for https://github.com/greenkeeperio/greenkeeper, however I'm using sinon to stub and spy all the exec calls. I'll happily replace that with another solution that you prefer. Looking forward to getting some feedback on this :)

chmanie commented 6 years ago

Do you want to add a little section about the environment variable in the Readme ?

Sure, I'll add it right away.

janl commented 6 years ago

Thanks!