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

[UX-284] Updated dependencies and update of node and npm mvn versions #129

Merged
merged 2 commits into from
Apr 15, 2016

Conversation

tfennelly
Copy link
Member

Related to issue # UX-284.

Note:

  1. Requires a run of mvn clean -DcleanNode before building.
  2. The newer versions of npm are a lot slower for npm install. But apparently the newer versions also fix some major package resolution issues, so prob best that we use it.

@reviewbybees

@sophistifunk
Copy link
Collaborator

When building via mvn, do we turn off the progress bar? I remember something about that improving performance on newer npm

@tfennelly
Copy link
Member Author

tfennelly commented Apr 14, 2016

@sophistifunk yeah it speeds it up a bit ... we don't turn it off in the parent pom profiles but I will add that when updating it with the newer versions of node and npm. On the time test I did ... turning off the progress bar improved speed by > 10% and < 20% ... so not enormous.

( also tried ied and nmpm ... a lot faster but didn't seem to resolve the packages properly ... so no use)

@tfennelly
Copy link
Member Author

tfennelly commented Apr 15, 2016

What's actually interesting/strange here is that the CI build for this (build 312) finished in 12 mins Vs ~ 17 mins for other PR builds (using the older npm and node).

I wonder is the newer version actually faster in terms of processing, but more chaty wrt the npm registry or other, causing it to be slower on machines that don't have an amazon-like connection to the WWW.

@tfennelly
Copy link
Member Author

Okay ... I found the reason why js-builder:0.0.27 was needing a newer version of npm. I fixed that, which means this PR no longer sets the npm and node versions for the mvn build.

@tfennelly tfennelly force-pushed the updated-js-libs-and-node branch from 8f5a27c to f964fa6 Compare April 15, 2016 10:02
…sions of node and npm

I fixed the issue that was causing js-builder to require a newer version of npm. The issue was that it was specifying a Browserify transformer by name Vs resolving locally and passing an instance. By-name resolution looks for the package in the top level of node_modules, causing it to bomb with older versions (that don't flatten the tree).
@tfennelly tfennelly force-pushed the updated-js-libs-and-node branch from f964fa6 to 177e877 Compare April 15, 2016 13:27
@cliffmeyers
Copy link
Contributor

Deps changes look good to me 🐝

@tfennelly tfennelly merged commit 3c7a612 into master Apr 15, 2016
@tfennelly tfennelly deleted the updated-js-libs-and-node branch April 15, 2016 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants