Skip to content
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

Why not yarn? #1

Open
Bloomca opened this issue Feb 23, 2017 · 5 comments
Open

Why not yarn? #1

Bloomca opened this issue Feb 23, 2017 · 5 comments

Comments

@Bloomca
Copy link

Bloomca commented Feb 23, 2017

Basically same thing as npm-shrinkwrap, but resolves dependencies a bit faster, and seems pretty stable.

@tadjik1
Copy link
Owner

tadjik1 commented Feb 23, 2017

@Bloomca thanks for comment! I agree, yarn seems like a good replacement for npm. I've used npm here because it's an "in box" solution and I've decided not to spend extra time for yarn integration. But it's a good point for improvement :)

@Bloomca
Copy link
Author

Bloomca commented Feb 23, 2017

Well, it is actually very easy to integrate, I can even make a PR for it =).

You just install yarn through npm or brew (I like brew more because then you don't have to link it in your .zshrc), and then npm install package -> yarn add package, and it updates yarn.lock automatically.

@tadjik1
Copy link
Owner

tadjik1 commented Feb 23, 2017

@Bloomca if you want to make a PR please make sure to add required configuration to all currently used places:

  • local development
  • travis
  • heroku
  • docker

@Bloomca
Copy link
Author

Bloomca commented Feb 23, 2017

Travis claims to do automatically if yarn.lock is presented.

For heroku I am not that sure, what is the easiest way to deploy it there and also how do you build docker container locally?

@tadjik1
Copy link
Owner

tadjik1 commented Feb 23, 2017

for building and running docker container locally you can use this instructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants