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

(build) use yarn instead of NPM for packages #880

Closed
jniles opened this issue Nov 10, 2016 · 3 comments
Closed

(build) use yarn instead of NPM for packages #880

jniles opened this issue Nov 10, 2016 · 3 comments

Comments

@jniles
Copy link
Collaborator

jniles commented Nov 10, 2016

A faster new alternative to NPM was developed by Facebook called yarn. Probably the largest advantage is speed - the benchmarks place it at 2-3 times faster than npm.

You can try it out by installing it with windows or linux.

@IMA-WorldHealth/bhima-core what do you think?

@jniles jniles added this to the Future milestone Nov 10, 2016
@mbayopanda
Copy link
Collaborator

mbayopanda commented Nov 11, 2016

Thanks

@jniles
Copy link
Collaborator Author

jniles commented May 9, 2017

Closing this as out of the current scope.

@jniles jniles closed this as completed May 9, 2017
@jniles jniles reopened this Aug 10, 2017
@jniles
Copy link
Collaborator Author

jniles commented Aug 10, 2017

Reopening this after a discovery the NPM@5 is having a real hard time and facing several issues. I have a feeling that many of my virtual machine builds this summer failed due to npm install not actually installing everything.

jniles added a commit to jniles/bhima that referenced this issue Aug 10, 2017
In order to get reproducible builds, we need a deterministic build
system like yarn.  Note that this change allows programmers to continue
to use npm alongside yarn without any issue.  However, yarn will be used
on Travis CI, respecting the yarn.lock file.

Closes Third-Culture-Software#880.
jniles added a commit to jniles/bhima that referenced this issue Aug 14, 2017
In order to get reproducible builds, we need a deterministic build
system like yarn.  Note that this change allows programmers to continue
to use npm alongside yarn without any issue.  However, yarn will be used
on Travis CI, respecting the yarn.lock file.

Closes Third-Culture-Software#880.
bors bot added a commit that referenced this issue Aug 14, 2017
1966: feat(deps): use yarn on Travis r=sfount

In order to get reproducible builds, we need a deterministic build
system like yarn.  Note that this change allows programmers to continue
to use npm alongside yarn without any issue.  However, yarn will be used
on Travis CI, respecting the yarn.lock file.

Closes #880.

For more information, see [Installing Yarn](https://yarnpkg.com/en/docs/install) and [Migrating from NPM to Yarn](https://yarnpkg.com/lang/en/docs/migrating-from-npm/)
@bors bors bot closed this as completed in #1966 Aug 14, 2017
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