Skip to content

Conversation

randycoulman
Copy link
Contributor

We added a yarn.lock file a while back, but we weren’t installing it into the generated project.

As a result, running yarn install in the generated project can end up with newer dependencies than what we’ve tested with, which is not what we want.

This PR copies the yarn.lock file into place in the generated project.

NOTE: This could cause a conflict if we were to run the generator in a project that is using a JS back-end, as that project might already have a yarn.lock file. This is already an issue for package.json, so I think we can safely choose to cross that bridge when we come to it.

@randycoulman randycoulman requested review from lexun and seanculver May 8, 2017 21:51
@randycoulman randycoulman merged commit 61e60a9 into master May 9, 2017
@randycoulman randycoulman deleted the fix/install-yarn-lock branch May 9, 2017 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants