-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: yarn install (through a flag) #225
Conversation
Closing #31 in favour of this |
Here is the latest log from the failed tests - https://gist.github.com/reznord/f69ddcf6f0caad99bb9d83ce61381ca8 Progress: Tests are not failing that worse 😛 |
'--prefix', process.cwd(), | ||
...deps | ||
].filter(Boolean)).then( () => { | ||
return install(false, process.cwd(), deps, save).then( () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to allow yarn here if it's installed? We could check for a yarn.lock
as an indication of whether the current repo is set up with yarn.
This PR adds support for yarn in the application. 🎉
User can install & use yarn by adding a flag
--yarn
when he initializes a project usingpreact create my_app --yarn
.Added
install-dependencies.js
since I want to keepcreate.js
clean and simple.For now cancelling the tests since they will fail for sure 😛
Tests are the only thing that are failing now, else we are good to go with
yarn
😎@rkostrzewski @developit please help with the tests !!